LEOGO Turtle Robot




About 20 years ago, When I was a child, I start computer programming on Apple II. And the first lauguage I learned is LOGO. LOGO is really fantastic and friendly for beginners. 'REPEAT 4 [ FD 100 RT 90 ]' to draw a square. 'REPEAT 360 [ FD 1 RT 1 ]' to draw a cycle!

Today I create a turtle robot, programmable, drawing lines on paper. It use ballpoint-pen-refill (like this , http://bricksafe.com/files/ruf/leogo/pen_refill_op.jpg , it is very cheap), the pen is bound to pen-control-arm with rubber belt. You can download leogo.ldr from http://bricksafe.com/files/ruf/leogo/leogo.ldr , and open it in LDView and surfing with step-by-step. You need one set of 8547/NXT to build this robot.

And I create a python module named 'leogo.py', to provide the basic operations. e.g. fd() for forward, bk() for backward, lt() for turning left, rt() for turning right, and pd()/pu()/goto(x,y) . you can download the module from http://bricksafe.com/files/ruf/leogo/leogo.py .

Before it works, please install python, nxt-python (from http://code.google.com/p/nxt-python/ ), nbc/nxc (from http://bricxcc.sourceforge.net/nbc/ ),and pyBluez(if you are using Windows and wish the bluetooth works, install from https://code.google.com/p/pybluez/ ).

And start with this simple program:

from leogo import *
for i in range(0,4):
fd(300) // forward for 300mm
rt(90) // turn right 90 degrees

Have fun.

(updated 2014-05-28: rewrite leogo.ldr to leogo.mpd, add two functions into leogo.py, 'goto(x,y)' and 'line(x1,y1,x2,y2)' )

Login to hide ads!


Name LEOGO Turtle Robot
Designer ruf
Designed 2014
Inventory 133 parts
Theme Technic > Model > Robot
Already have some of the parts? Use the Build this MOC page to only show the parts you are missing.
Create an account to change the default filters used.

Waiting for Inventory to load

These types of files are created with the LDraw system of software. You will need to install compatible software to open and view the instructions. A full list of available software is on the LDraw site.