Details for MOC-1235 - LEOGO Turtle Robot

LEGO Set MOC-1235 - LEOGO Turtle Robot

This custom MOC set was created by ruf. See other MOCs by this designer.
Theme:
Year Created:
2014
Number of Parts:
3D File Available:
Likes:
2
I Like It
Followers:
Get MOC Building Instructions
(3D File - MPD/LDR)
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
done()



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)' )

You might also like:
Users who own this:
2 (0%)
Set Rank:
11774
Added by ruf. See All Changes.
Views: 4830
Likes: 2
I Like It

Comments

Parts Inventory List for MOC-1235 - LEOGO Turtle Robot

Changes: All Changes

Added: 2014-01-21 23:06:24.915567 by ruf.

Last Change: 2014-10-04 16:13:47.590421 by jantjeuh