Society of Robots - Robot Forum

Software => Software => Topic started by: lowprofyl on September 17, 2010, 12:14:27 PM

Title: AVR pocket programmer... AH HELP please!
Post by: lowprofyl on September 17, 2010, 12:14:27 PM
Hey there!

Built my 50 buck robot. Now i need to program the darn thing  ???. Bought the AVR pocket programmer...http://www.sparkfun.com/commerce/product_info.php?products_id=9825 (http://www.sparkfun.com/commerce/product_info.php?products_id=9825)

I have no prior experience with programming. Can somebody please explain to me the general process of what im doing here.

I got WINAVR, AVRDude, AVR Studio4, and Pony Prong (Which i cant use cause i got a USB programmer)...

Im guessing that i'm taking the written source code (photovore_v1.zip), opening it in one of the mentioned programs, turning it into a language that the AVR pocket programmer understands using one of the mentioned programs? Then, finally flashing the AVR microcontroller?
 
Has anyone used the AVR pocket programmer while building the $50 robot?

Just wanna know what programs do what in which order?

Cheers!
Title: Re: AVR pocket programmer... AH HELP please!
Post by: silo_xtreme on October 11, 2010, 09:38:30 PM
Hi, since there has been no response ...

I'm not sure if you saw this.. it could be helpful.  It's from the $50 robot tutorial.  It walks through the process step by step.

http://www.societyofrobots.com/step_by_step_robot_step4.shtml (http://www.societyofrobots.com/step_by_step_robot_step4.shtml)
Title: Re: AVR pocket programmer... AH HELP please!
Post by: 123laurens on October 13, 2010, 09:56:35 AM
compile yousing avr studio as in step 4

im actualy buying the same thing,its currently on order but i think you shud enter this in command prompt as far as i know:

Code: [Select]
avrdude -c usbtiny -B 1 -patmega8 -U flash:w:main.hex
making sure that the file is in the C drive-Not in a folder and that the file is called main.hex otherwize change it in the above code. ;)