Babuino Project is powered by Creative Minds.

November 16, 2009

Babuino Modbus Master

New Babuino Firmware v0.2 supporting Modbus Master is available for download in our Yahoo discussion group.
Fell free to download and try it!

Babuino Firmware v0.2 download.


Babuino schematics updated


This schematics shows UART Tx and Rx pins used for Modbus communication. Babuino as Modbus Master is available in Babuino Firmware V0.2 (uploaded to Yahoo group).
In addition to Modbus master, this new version supports commands to write to/ read from memory. See usage example in post regarding Modbus configuration.

November 09, 2009


This is another Babuino project.

Babuinobot is a robot created by Brett Nelson (USA). He and his son have been programming Babuino with iconic softwares Logo Blocks and CTI Blocos.

Good job, Brett!

October 25, 2009

Modbus communication. Babuino Master - PC Slave

This video shows Babuino as a Modbus Master transfering data between two Slaves running in Modbus Slave software.

A larger video in Youtube:


Configuring Modbus in Babuino with Cricket Logo

Current Modbus tests are being performed in Cricket Logo because it is much faster to make changes than in Logo Blocks.
This is how Modbus configuration for Babuino in Logo code looks likes.

; ===================================
global [var temp]

to start

; --- setdp parameters start from 0 ---
setdp 1
setvar recall
wait 1

setdp 3
settemp recall
wait 1

setdp 5
record var + temp
wait 1
; ===================================

; ===================================
to modbus_memory
record 00 ; holding register 1
record 01
record 00 ; holding register 2
record 02
record 00 ; holding register 3
record 03
record 00 ; holding register 4
record 04
record 00 ; holding register 5
record 05
record 00 ; holding register 6
record 06
record 00 ; holding register 7
record 07
record 00 ; holding register 8
record 08
; ===================================

; ===================================
; --- Function 3 - Read Holding Registers
; --- Function 6 - Write Single Register
to modbus_config

setdp 16
record 5 ; slave adr
record 3 ; Modbus function
record 1 ; Function parameter
record 3 ; slave adr
record 3 ; Modbus function
record 6 ; Function parameter
record 3 ; slave adr
record 6 ; Modbus function
record 8 ; Function parameter

setdp 47
record 3 ; # of polls

; ===================================

October 18, 2009

Babuino new feature: Modbus - More than a robot

After a long time of inactivity here we are again.

Following our plan to expand Babuino capabilities beyond Handy Cricket and Gogo Board we are introducing Modbus communication protocol in Babuino Project.

Now it is possible to program Babuino, configure it as a Modbus Master using all softwares discussed in previous posts, and have it working in a Modbus network. You can use your Babuino to read data from/write data to any Modbus RTU Slave device.

Next release of Babuino software will provide us with full capability to set Babuino to work either as Modbus Master or Modbus Slave.

The way we should configure the Modbus network with available software (Cricket Logo, Logo Blocks) is not user friendly, but we will soon have an iconic based software supporting this and other upcoming new features.

I'll show how we can make Babuino a Modbus Master in next posts.

We will keep working in Babuino FREE/Open Source platform.

October 06, 2009

Babuino Project vs INEX

As you all know we have been working in a LOGO interpreter for Arduino board. The platform is compatible with some softwares available for download somewhere in web.

Today INEX requested me to remove the link to their website. Their argument is that LOGOBLOCKS is a software dedicated to their iBOX hardware.

See the e-mail below:

Dear Sir,

it has came to our knowledge that you have used our software from our website WITHOUT any permission from us whatsoever.
We request that you remove our i-BOX III 1.31 (text + blocks) download link from your website immedaitely ,
before we take action on this.

Please be reminded that the i-BOX III 1.31 (text + blocks) software is only allowed to be used with our IBOX as in its license.

Much Thanks

And after my reply I received a second e-mail:

Dear Sir,

i-BOX III is inex production and LOGOBLOCKS is dedicated to IBOX-III and not your board

We request again that you remove our link from your website


We will keep working on our project and I know we will do a great, FREE platform.
In addition to this, we will soon anounce new partner that will join our project providing us with a Iconic software compatible with our platform.

Thank you.

October 01, 2009

Babuino software and Arduino bootloader


Just to clarify one point, when you upload Babuino software to your Arduino using ARP/Arduino Uploader you will NOT lose the bootloader. You are just using the bootloader to uploade Babuino software to your board.
This mean you can alternate between Babuino software and any other Arduino sketch with no problem.

September 30, 2009

Test version of Babuino software available for download

We have released a test version of Babuino software for you to start with Babuino.

Although there are minor bugs in this version and many things to be implemented, it will make you familiar with Babuino Project platform and with softwares available for programming Babuino in LOGO language.

In addition, we hope you can contribute with the project reporting bugs you find and proposing new features for next versions.

Babuino software is available for download in our discussion group on Yahoo.

Please join our group going directly to the link or sending an e-mail to

It will be nice to discuss with you technical subjects and applications of our project.

How to upload Babuino software to your Arduino


Things are getting interesting now.

I'll show you how you can download Babuino software to your Arduino board. This tutorial is based on the work done by Paulo Gonçalves when he started with Babuino.

First of all I'll list what you will need.

1. Arduino board
2. Software to upload the .hex file to your board using bootloader available in your Arduino microcontroller (atmega168 or atmega328)
3. Babuino software (babuino_v01.hex)
4. Babuino electrical interface (see previous post on this subject)

We have tried the free software ARP/Arduino Uploader (click here to download). Visit NGCoders for more info about the software.

Follow these steps for uploading the software to your Arduino:

1. Download, install and start ARP/Arduino Uploader
2. Connect your Arduino to COM/USB port as you usually do when using Arduino IDE
3. Browse for babuino_v01.hex file in Hex file to write field
4. Select your COM port as you usually do when using Arduino IDE
4.1 If you a using Atmega328p, replace 19200 by 57600 by editing the command line
5. Select the microcontroller you are currently using
6. Press Upload button

ARP/Arduino Uploader will start AVRDUDE and you will see the following window with programming process status.

7. Wait

After upload is 100% done with no error, you will have your Arduino programmed with Babuino software

8. Just reset your board and you will listen Babuino beep twice. Now you are ready to program your Babuino in LOGO language

I hope I have described the programming procedure easy enough for you to do it by yourself. If you can't do it or if I had missed anything, please let me know.

September 27, 2009

Download softwares to program your Babuino

Find below links to some softwares you can use to program your Babuino


Cricket Logo (text)
Logo Blocks (iconic)
Gogo Monitor (text)
Jackal (text)

Linux and Mac OS X

If you want to try softwares for other Operating System see Handy Cricket download page and Gogo Board download page.

If any of these links is broken or if you find any other software compatible with Babuino, please contact me.

Babuino interfaces - sketch

We do not have schematics for the Babuino shield yet, so here is a simple sketch to help you to build your own interfaces to Babuino.

September 26, 2009

Babuino Project discussion group

I'm to release the first version of the Babuino software (.hex) and I have created a group on Yahoo for us to discuss technical points of the development and new features to be implemented.

Here is the link:

I am sure I'll need your help to make Babuino better and better.

You guys that want to contibute with the project, please join the group and let's speed up the development.

September 19, 2009

First Babuino robot - Obstacle avoidance #2

The robot was built by Ernesto Maranesi and programmed with Cricket Logo.
Here is the video.

And here is the code.

to start
ab, thatway on
if (sensora < 100) and (sensorb < 100) [paratras]
if (sensora > 100) and (sensorb < 100) [esquerda]
if (sensora <> 100) [direita]
if (sensora > 100) and (sensorb > 100) [parafrente]

to parafrente
b, thatway on
a, thatway on
wait 20

to esquerda
a, thisway on
b, off
wait 20

to direita
b, thisway on
a, off
wait 20

to paratras

September 18, 2009

Adding new commands to Cricket Logo and LogoBlocks

Comming soon

I'm working on a tutorial on how to add new commands to Cricket Logo and new blocks to Logo Blocks. These new commands are an extension to the original list of commands available in both softwares.

They are really new commands, not new procedures only. So for these new commands to work, I should add to the Babuino firmware the ability to interpret them. This is a key work for our intention to add new features to Babuino comparing to the Handy Cricket and Gogoboard plataforms.

Take a look at Logo Blocks window and code in AVR Studio in advance.

First Babuino robot - Obstacle avoidance


This weekend I'll post the first funny application of the Babuino. This is an obstacle avoidance autonomous vehicle proggrammed with Cricket Logo. Take a look on the picture below.

Hope you enjoy.

September 10, 2009

Using Logo Blocks to program Babuino


Tomorrow I'll post how we can use Logo Blocks to program the Babuino board.
For now, take a look on what I'll post tomorrow.

September 07, 2009

The code for the last post

global [rot]

to main
setrot 1

a, thisway off
setpower 1

repeat 100

send sensora
; send rot

if sensora > 100
setrot not rot
if rot = 1
if rot = 0
setpower 1
wait 5
setpower 2
wait 5
setpower 3
wait 5
setpower 4
wait 5

if sensora < 100
setpower 4
wait 5
setpower 3
wait 5
setpower 2
wait 5
setpower 1
wait 5

wait 10



Using iCode to program Babuino

This is a more sofisticated LOGO program then the one I used in Cricket Logo before.

Babuino running iCode LOGO: reading the light sensor and driving the DC motor.

September 06, 2009

LOGO code in previous post

I can't read the code in previous post, so here it is:

to start

repeat 5
wait 5

Babuino in action

Programming the Babuino in LOGO using Cricket Logo.

And running the program after download.

I'll post a video later showing how Babuino works with iCode.

iCode Project

iCODE is an on-line system to program some platafoms.
As far as I know iCODE has no support for Arduino yet, but since iCODE supports Handy Cricket, it will be possible for you to use the on-line tool to program your Babuino in LOGO.

The Software

In order to have the proper environment for teaching Programming Language for kids, and to keep the implementation cost of the Babuino as low as possible, our driver was to make our hardware talk to the available softwares (Cricket Logo and Logo Blocks).

It was necessary to study the communication protocol used by these softwares and the pseudo code they generate to be able to implement the communication stack and LOGO interpreter for the Arduino microcontroller.

See Handy Cricket download page for these and other compatible sofware.

After couples of months working in the software implementation, we have a stable release of Babuino plataform: Arduino hardware running a LOGO interpreter compatible with ready available free software.

The Hardware

As I wrote in previous post, Babuino Project is based on the original Arduino board, Duemilanove version. It was not our purpose to change Arduino hardware and develop another xINO board. Our main idea is to keep the hardware as it is so anyone with an Arduino board can build a Balbuino spending few bucks.

Although we have used Arduino hardware, Bulbuino embedded software was developed with the free AVR Studio IDE and AVR Dragon emulator tool (check Atmel site for tools and software). These tools provide us with the capability to debug the software, mainly the LOGO interpreter.

The extension board that is connected in the top of the Arduino is easily build in a breadboard. We do not have the schematics, but it is our intention to have it posted here including bill of material.

Currently Babuino supports 2 motors, 4 analog/digital inputs, 1 serial communication port, a beeper, status LED, Run/Stop button, but we intend to have additional capabilities that are not supported by Handy Cricket or GoGo Board.

September 05, 2009

What is Babuino Project?

Babuino Project is a plataform for teaching Programming Languages for kids, including Hardware, a LOGO interpreter and Programming Softwares.

There are many plataforms available.

Handy Cricket and its programming softwares (Cricket Logo and LogoBlocks) are a great teaching environment, once LogoBlocks is based on a graphics version of LOGO, but its price is a little bit prohibitive for brazilian reality.

GoGo Board is not sold, and considering the cost for building one, it is not the best alternative for us.

We chose the Arduino for our development. Arduino is an open-source hardware cheaper then Handy Cricket and Gogo Board, it is widely used, and there is an active community supporting it.

Our intention is to develop a Handy Cricket-, Gogo Board-compatible plataform to be used as a low-cost environment for teaching Programming Languages for kids. In doing so, we are able to use LogoBlocks and compatible softwares that are available for programming Handy Cricket and GoGo Board.

In addition to the Arduino board, there is an expansion board to be connected in the top of the Arduino that includes motor drivers, beeper and switch. This expansion board makes the Babuino Project an alternative, cheaper solution for Handy Cricket and GoGo board as a Robot development plataform.

The embedded software is a LOGO language interpreter, compatible with LogoBlocks and Cricket Logo.

September 04, 2009

To the internet!

Babuino Project is the first application I know of the open-source Arduino as a programmable Robot plataform.

By programmable I mean the user can develop codes and download them to the board without the needs of a compiler. Babuino Project embedded software is a LOGO Language interpreter, so anyone who has an Arduino board can use some free LOGO softwares to program the board.

Here you'll find the history of this development, applications, tutorials, and LOGO programming examples.

I hope you enjoy Babuino Project.