Serial communications established!

0 views
Skip to first unread message

Tyler Folsom

unread,
Apr 14, 2014, 2:10:21 PM4/14/14
to Elcano
Step 4 is well underway. I have verified that the Trio board serial communications work as designed. The standard Arduino serial libraries support half-duplex; they do not need to be rewritten for uni-directional communication.

I have tested programs where C6 sends an ASCII serial command encoding the sensed speed to C4 RX, which passes the command through on C4 TX. That signal goes to C3, which receives on its RX and sends on its TX. Putting a serial monitor on either C6 or C3 shows the same data. Thus we have serial communication C6 -> C4 -> C3. Elcano design has serial communication C3 -> C2 with the loop closed by C2 -> C6. I have specified the format the the interprocessor messages will take.

Next steps:
1) Write a motor profile routine for C3. Inputs will be desired distance and speed for the segment. Sensor is the speedometer/odometer. Output is a gamebots DRIVE command to C2.
2) Write a parser for C2 that translates the serial input into motor control.
3) Get the vehicle to drive a fixed distance and speed as commanded.

When is a good time to get together?

- Tyler

Budi Mulyo

unread,
Apr 15, 2014, 2:50:26 AM4/15/14
to Elcano, Danny Dunn, Jim Kindsvater
That's a good new Tyler,
Btw, can you add Danny Dunn new email address: Eternit...@gmail.com

I should be available after 1. Pat, Danny, Jim, Brandyn, and Rame. Let us know when you guys are available.

Best wishes,

--
Budi Mulyo
Please consider funding and promoting my project: 
http://ElcanoProject.org

Elcano: an Open Source Ultra-Light Automated Vehicle



- Tyler

--
You received this message because you are subscribed to the Google Groups "Elcano Autonomous Tricycle" group.
To post to this group, send email to elcano-autono...@googlegroups.com.

Reply all
Reply to author
Forward
0 new messages