This Colour Sorter is the first robot to be controlled by my new RCX 1.0. It has three motors and three sensors.
When the program commences, the turntable rotates until it hits the touch sensor, at which point it stops and the angle sensor's value is reset. From then on, it powers the upper conveyor belt until the light sensor does not see an empty channel. Then it rotates the turntable by the requisite amount and powers both belts, always resetting to the position where it touches the touch sensor.
Since I only built this in a short time, I was unable to prevent bricks getting stuck on the lower conveyor and being flicked below the sorter.
Great job. It's quite hard to make the rcx sort bricks
LegoBotz3399 1 year ago
Pretty good implementation, very nice. Could I make a few suggestions though?
Why not make the exit belt stay at it's last position unless the colour is different. That would save some time.
Why not gear the exit belt down less so it moves quicker to it's destination.
Lastly, although you probably will have added this by now, you could add an extra piece to the exit belt which stops the bricks being sucked underneath.
Well done though mate.
swiftscripts 1 year ago