You can use this model with my rail trolley. But for better interaction with touch sensor you should add bumper between frame and black axle.
For this purpose, I created instruction, you can see on the right. For bigger version -- click on it.
Remember that motor connected to Port A support the direction of movement of the conveyor belt.
Changing the direction of the motor connected to port B is forced alternately by activating the touch sensor.
EV3 Brick assigned ports:
:: Port 1 for ultrasonic sensor
:: Port 2 for touch sensor
:: Port 3 for touch sensor
:: Port A for medium motor
:: Port B for medium motor
Digital Model || LeJOS Program Source || LeJOS Executable File
Building Instruction -- Gantry || Building Instruction -- Conveyor Belt
Building Instruction -- Gantry || Building Instruction -- Conveyor Belt