by Dimitar Dimitrov
This is a quick test for the
AVRbot board. Briefly, you navigate the robot via q,a,z,w,s,x keys, sent
through RS-232 interface.
q - turn left motor forward
a - turn off left motor
z - turn left motor backward
w - turn right motor forward
s - turn off right motor
x - turn right motor backward
The provided hex file is for a 11.0592 MHz crystal and 115200 RS-232 communication . Please take a look at main.h and main.c and adjust it to your needs. Then recompile with avr-gcc. Note that this is built as a development board. You access most of the controller's peripherals through header JP5. It's up to you if you want to improve the system. Or you can wait until I finish mine as I will publish both schematics for sensors and software for handling them.
You must provide a TTL (0-5V) level to the AtMega128 serial channel. Connect to RXD and TXD. Some new PC mother boards automatically detect 5V and in this case you won't need MAX232 to convert levels. Be aware that if your mother board doesn't support this detection you will blow the controller. You have been warned.
If you have questions, read the source code. If still in trouble you can
write to dinux at mail dot bg.
Board and schematic +
|file: /Techref/atmel/avr/avrbot.htm, 2KB, , updated: 2010/12/21 08:07, local time: 2013/5/24 18:00,
|©2013 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?|
<A HREF="http://www.piclist.com/techref/atmel/avr/avrbot.htm"> A small robot board with the AVR</A>
|Did you find what you needed?|
PICList 2013 contributors:
o List host: MIT, Site host massmind.org, Top posters @20130524 RussellMc, IVP, Bob Blick, alan.b.pearce, John Gardner, veegee, Sean Breheny, Isaac Marino Bavaresco, Carl Denk, Josh Koffman,
* Page Editors: James Newton, David Cary, and YOU!
* Roman Black of Black Robotics donates from sales of Linistep stepper controller kits.
* Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters.
* Monthly Subscribers: None at this time. on-going support is MOST appreciated!
* Contributors: Richard Seriani, Sr.
Welcome to www.piclist.com!