Go Down

Topic: LEGO Arduino board (Read 8286 times) previous topic - next topic


Oct 23, 2011, 05:59 am Last Edit: Oct 24, 2011, 04:50 pm by legarduino Reason: 1
I just posted a project for a legduino board on http://lego.cuusoo.com/ideas/view/1998 (similar to kickstarter but for Lego) you can make Arduino a Lego product by supporting it!

here is what i posted on http://lego.cuusoo.com/ideas/view/1998:

Legarduino is an idea for lego to produce a lego version of the successful Arduino (the board might be called legduino). The Legarduino would be a microcontroller development board that would be even easier to use than the Arduino. I envision even children programming and building prototypes that top those of pro engineers (I mean really bad pros). 

This project is very broad your comments are vital to define the future of the Legarduino please  guide us.

  • Arduino is a successful open-source development board that even kids are able to use.

  • software exist similar to RCX drag and drop interface (think touchscreen tablet app).

  • I think something like the NXT's connectors would be suitable.

please comment bellow with advice on how to make this a success.
please support the project (with votes) by going to http://lego.cuusoo.com/ideas/view/1998 and pressing support. When we have enough supporters it becomes a Lego product.


By the way, does any one know how to get this on the Arduino blog?


How is this to be different from the NXT controller type stuff that's already available (altho pricey)?
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.


Great point, the NXT is similar to the Arduino.
I believe that one of the greatest advantages of the Arduino is it provides a stepping stone into the world of microcontrollers. Arduino outperforms the NXT in this regard.


Yes, outperforms for sure, but need older kids, 8th-9th-10th grade I think, to handle the C programming.
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.


I envisioned something along the lines of Modkit. http://blog.modk.it/


There's a good block language and it works!! 
get the code here:

With ArduBlock open and the Arduino IDE open, if you hit "generate" you see the code pop into the IDE!

This is a great way to have kids see what the "Block Thing" does. Some kids will go, "Hey, I want to do THAT!"...

The developer in China is talking with Arduino guys about futures...
Regards, Terry King terry@yourduino.com  - Check great prices, devices and Arduino-related boards at http://YourDuino.com
HOW-TO: http://ArduinoInfo.Info



You can try Minibloq also: http://minibloq.org

Today we added a new simple examples page. The final two examples are for an open kit called Multiplo (please see the images below), perhaps this can be useful to you:


Minibloq will have soon user blocks and more features (the project is very active), to make it more suitable for more complex applications.



I have developed a few Arduino compatible boards for building robots. Take a look at my blog here: http://seriousrobotics.wordpress.com

Now here are a few questions on what are you trying to achieve with this project:

1. Do you want at least the same functionality as the NXT controller? I mean 3 motor ports, 4 sensor ports, LCD, buttons, speaker, USB, Bluetooth?
2. Do you want a shield that can be plugged over an Arduino and let people use the Lego motors and sensors or do you want a special made board?
3. How much do you think will be the resale price of such a board/shield?

Depending on the answer, different variants can be made. Let's say you want to replicate a NXT brick with an Arduino compatible controller or shield. Only the Arduino Mega has enough pins and functions to perfectly emulate a NXT brick. The sensor ports on the NXT have one analog pin and 2 digital pins. Times 4, that's 4 analog pins plus 8 digital pins. One port has I2C on the 2 digital pins, so I guess there are only 6 digital pins used. I will have to look closely at the NXT brick schematic to know more. The motor ports have 2 wires that control the motor and 2 wires that read the quadrature encoder. For each motor there is an H-bridge that uses 1 PWM pin and 2 digital pins from the microcontroller, so that makes 9 pins (3 of them being PWM) plus 6 more pins for the encoders. The total is: 21 digital pins, 4 analog and 2 for I2C. Then there are the buttons, the LCD uses the SPI interface and the USB uses the hardware serial interface and another hardware serial interface for the Bluetooth module. So the Mega can surely cover all the pins needed and have spare. But perhaps will not be able to run everything smoothly. The NXT has an ATmega8 that takes care of the motors and encoders and talks to the ARM controller through the I2C interface. So yeah, if you get all the parts and put them together to make a similar controller you end up having a product that will cost about the same as the NXT controller sold separately ($150).

So it all depends what you want to have. To function properly, the NXT sensors and motors need several pins from the microcontroller. Depending how many sensors/motors you want to use with the Arduino, a design can be made based on the ATmega328 or on the ATmega2560.

Before the NXT came to market and before I ever heard about the Arduino I have made a couple of tiny controllers for the old RIS motors and sensors, using a Nemesis and a Perseus controllers (based on PICs) made by Kronos Robotics. I could connect 2 active sensors, 2 motors on both controllers, plus the Nemesis has 2 connectors for a servo and a Sharp IR sensor. The Nemesis also had a dual IR proximity sensor, the Perseus had only a IR receiver that allowed me to remote control it using a TV remote. The Nemesis was housed in a 2 layer 4x4 brick plus base plate, the Perseus was housed in a 2 layer 2x4 brick plus 2 base plates. The page I wrote at the time does not exist anymore, but here are some pictures with robots built with them:

So yeah, the old RIS parts are easy to use with Arduino. I can easily build a robot that uses 2 RIS motors and a bunch of RIS sensors, also some RC servos using the Robot Builder's Shield or the Robot Builder's R-duino that I designed.


Hi, If you're interested in following the development of ArduBlock, mentioned above, there is now a discussion group here:
Regards, Terry King terry@yourduino.com  - Check great prices, devices and Arduino-related boards at http://YourDuino.com
HOW-TO: http://ArduinoInfo.Info

Go Up