PDA

View Full Version : ALIBE Update: Communication Module and Propeller :: Working Code and Movie



ALIBE
10-27-2006, 07:50 AM
I wanted to update on how I tested the interface I developed earlier on (described here (http://aliben.wordpress.com/2006/10/24/interfacing-aerocomm-ac4790-with-propeller-chip/)). The objective is to write the needed code for the Propeller chip (in SPIN language) and make it send and receive data to and from the AC4790 CB. And also, write the startings of the Command Center application in VB.Net that should evolve into a fully functional Command Center that ALIBE will communicate and exchange data with.

The Setup:

The homebase command center is made up of one of the AC4790 Dev Boards hooked up to my laptop. The laptop runs the Homebase Command Center (CC) VB.Net app that keeps communication channel w/ ALIBE and exchanges data to/from ALIBE has my AC4790 on my Carrier Board (CB) that is controlled by the Propeller chip. ALIBE's AC4790 is "reactive" - meaning it waits to see data from command center and then responds to it It does not send any data proactively The Propeller runs the required SPIN code to control the AC4790 - meaning processes incoming data FROM AC4790 and sends data TO AC4790



The Code:·

··NOTE:

Please note that I have no in-line comments in my code. But will have something soon



This·SPIN code is fairly standalone and does nothing but the 3 and 4 above. This VB.Net Project is the initial makings of the Command Center (CC) that does 2 above. This Movie·file showcases the above working. Essentially, the follows: CC sends command data as TEXT (for now) over the air TO the CB onboard ALIBE CB onboard ALIBE receives this data Propeller onboard ALIBE receives this data via SerialIn, Simply adds "+" to the end of the text (Process) and sends the data back Over the air to CC.

·Still more work left, this is just one small step ahead in·hopefully in the·right direction

comments are welcome

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"any small object, accidentally dropped, goes and hides behind a larger object."


ALIBE - Artificial LIfe BEing. In search of building autonoumous land robot
http://ALIBE.crosscity.com/ (http://ALIBE.crosscity.com/)


Post Edited (ALIBE) : 10/27/2006 12:53:05 AM GMT

Graham Stabler
10-27-2006, 07:59 AM
The last two links just come up with a page asking for a password.

ALIBE
10-27-2006, 08:32 AM
Graham, thanks for the catch

alas there's a security issue I need to resolve. I have attached the files here.

ciao

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"any small object, accidentally dropped, goes and hides behind a larger object."


ALIBE - Artificial LIfe BEing. In search of building autonoumous land robot
http://ALIBE.crosscity.com/ (http://ALIBE.crosscity.com/)
·