January 17, 2010

Babuino v0.3

Hello,

We are back again after a long time of inactive. And we have some great news.
Now we are a team working in code development and we plan to work on new features for Babuino, including the capability to have configurable pin functions and peripherals.

In addition, we are releasing a new test version of Babuino firmware. V0.3 features Logo Code storage to EEPROM and some bug fixes. (Thank you Jim for your great work!) This version has been tested with Blocos.

We will soon have some posts about the first course on Robotics for kids using Babuino.

Thank you all!

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.

Regards.

Babuino schematics updated

All,

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

Babuinobot

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.


video

A larger video in Youtube: http://www.youtube.com/watch?v=3SAREezBLwg


Bye

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.


; ===================================
; --- LOGO CODE FOR READING/WRITING
; --- TO MODBUS MEMORY
global [var temp]

to start
modbus_memory
modbus_config

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

setdp 3
settemp recall
wait 1

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


; ===================================
; --- MODBUS DATA MEMORY
to modbus_memory
resetdp
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
end
; ===================================


; ===================================
; --- MODBUS CONFIGURATION MEMORY
; --- 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

end
; ===================================

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.