November 16, 2009
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
October 25, 2009
A larger video in Youtube: http://www.youtube.com/watch?v=3SAREezBLwg
This is how Modbus configuration for Babuino in Logo code looks likes.
; --- LOGO CODE FOR READING/WRITING
; --- TO MODBUS MEMORY
global [var temp]
; --- setdp parameters start from 0 ---
record var + temp
; --- MODBUS DATA MEMORY
record 00 ; holding register 1
record 00 ; holding register 2
record 00 ; holding register 3
record 00 ; holding register 4
record 00 ; holding register 5
record 00 ; holding register 6
record 00 ; holding register 7
record 00 ; holding register 8
; --- MODBUS CONFIGURATION MEMORY
; --- Function 3 - Read Holding Registers
; --- Function 6 - Write Single Register
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
record 3 ; # of polls
October 18, 2009
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
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:
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 , http://babuinoproject.blogspot.com/
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.
And after my reply I received a second e-mail:
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.
October 01, 2009
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
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 email@example.com
It will be nice to discuss with you technical subjects and applications of our project.
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.
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
Cricket Logo (text)
Logo Blocks (iconic)
Gogo Monitor (text)
i-BOX III 1.31 (text + blocks) - LINK REMOVED AFTER INEX REQUEST
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.
September 26, 2009
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
Here is the video.
And here is the code.
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]
b, thatway on
a, thatway on
a, thisway on
b, thisway on
September 18, 2009
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.
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 12, 2009
September 10, 2009
September 07, 2009
a, thisway off
; send rot
if sensora > 100
setrot not rot
if rot = 1
if rot = 0
if sensora < 100
September 06, 2009
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.
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
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
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.