A plotter robot built with Lego that draws images on paper.
Hardware design based on http://jander.me.uk/LEGO/plott3r.html.
Build instructions (PDF / 44MB)
Set up to use Python with the Lego brick
To send the image and generate the coordinates:
python3 convert.py cara1.jpgThis will generate a file coordenadas.txt containing the drawing coordinates.
To preview what will be drawn (it will be deformed because it doesn't have the same aspect ratio as the paper (not fixed)):
python3 preview.pyTo send the files to the robot (change the IP address to yours):
scp exec4.py coordenadas.txt stop.py robot@169.254.206.221:/home/robot/The default password to access the robot is maker.
To enter the robot and start drawing (I recommend using a different terminal):
ssh robot@169.254.206.221
python3 exec4.pyTo exit this mode, just enter exit.
python3 stop.pyNote: a white paper should be used, otherwise, the color sensor might not work well.
IMG_3946.mov
When the robot decided to do its own thing:

