PDA

View Full Version : programming mirocontrollers


mathavan
02-01-2008, 08:03 AM
can u give me a sample program for a line following robot.suggest me a good tutorial for programming microcontrollers

franklin97355
02-01-2008, 10:36 PM
Not without knowing which microcontroller you are using and which language you are planning to program it in. <Sarcastic sentence removed here>

Mark
03-18-2008, 08:03 AM
I'd suggest the AVR series. For what you want you can start off with a cheap ATTiny26.

Board and programmer from

http://www.active-robots.co.uk/attiny26-development-board-p-249.html

You can easily build another board, based on this one, to control your robot.

Also lots of resource (Compilers/ code editors and the like) avaliable at:

www.avrfreaks.org

Mark

wrighthobbies
04-19-2008, 05:02 PM
I'd suggest the AVR series. For what you want you can start off with a cheap ATTiny26.

Board and programmer from

http://www.active-robots.co.uk/attiny26-development-board-p-249.html

You can easily build another board, based on this one, to control your robot.

Also lots of resource (Compilers/ code editors and the like) avaliable at:

www.avrfreaks.org

Mark

I agree with Mark. The AVR microcontrollers are a good choice and come in a variety of sizes. If you have no experience at all with microcontrollers, then start with the Basic Stamp. The documentation is excellent and hard to beat.

Here is circuit for a small differential steer robot - http://www.wrighthobbies.net/bots/microbot/mb2-schematic.jpg

This one was intended to be physically small (microbot weighs only 1oz), but you can use the same design on larger robots using a bigger motor controller.

For a programming language, do you want to go with C or Basic?