Society of Robots - Robot Forum

Software => Software => Topic started by: Absolute on March 31, 2009, 12:34:40 PM

Title: Programming The 50$ Robot HELP!!!
Post by: Absolute on March 31, 2009, 12:34:40 PM
Is there any alternative for the AVR STK Serial Port and AVR isp2 programmer for the 50$ ROBOT. I’m planning on making the 50$ robot, but the costs work out too much to ship the programmers to my country.

Could I use ‘USB PIC Programmer K150A’ to program the ATmega8 AVR microcontroller?
AND
Is there any possible way of building your own VR STK Serial Port and AVR isp2 programmer?
Title: Re: Programming The 50$ Robot HELP!!!
Post by: superchiku on March 31, 2009, 12:40:21 PM
u can build ur own programmer..u need to have a parallel port and a centronics printer cable... ill tell u how if u need it...
Title: Re: Programming The 50$ Robot HELP!!!
Post by: GearMotion on March 31, 2009, 03:27:45 PM
I think you should explore using an Arduino, or a Bare Bones Board ( http://www.circuitgizmos.com/products/cgbbb/cgbbb.shtml (http://www.circuitgizmos.com/products/cgbbb/cgbbb.shtml) ) the advantage being that you use a bootloader for the programming, rather than using a programmer. All you need is a USB port (for a regular Arduino) or a serial port for the Bare Bones Board. Or if you build your own, you can get a preprogrammed AVR.
Title: Re: Programming The 50$ Robot HELP!!!
Post by: Absolute on March 31, 2009, 04:05:08 PM
I have found this schematic. Could i use this?
Title: Re: Programming The 50$ Robot HELP!!!
Post by: Absolute on March 31, 2009, 04:06:44 PM
u can build ur own programmer..u need to have a parallel port and a centronics printer cable... ill tell u how if u need it...

Could you show me how if possible.
thanks
Title: Re: Programming The 50$ Robot HELP!!!
Post by: superchiku on March 31, 2009, 04:12:57 PM
u an use the above one and mie too...

mine uses a parallel port and a centronics printer cable

u connect the cable with the mcu in this way..

centronics connector                              mcu
pin 7                                                      reset
pin 8                                                       sck
pin 9                                                       mosi
pin 10                                                      miso
pin 19                                                       ground

mind it this type of programmer is called as a bsd programer and itwont work with avrstudio...or ponyprog...only works with winavr....
Title: Re: Programming The 50$ Robot HELP!!!
Post by: GearMotion on March 31, 2009, 04:14:06 PM
u can build ur own programmer..u need to have a parallel port and a centronics printer cable... ill tell u how if u need it...

Could you show me how if possible.
thanks

http://www.olimex.com/dev/images/avr-pg2b-sch.gif (http://www.olimex.com/dev/images/avr-pg2b-sch.gif)
Title: Re: Programming The 50$ Robot HELP!!!
Post by: GearMotion on March 31, 2009, 04:15:35 PM
http://www.bsdhome.com/avrdude/ (http://www.bsdhome.com/avrdude/)
Title: Re: Programming The 50$ Robot HELP!!!
Post by: SmAsH on April 01, 2009, 12:05:18 AM
this is the one im attempting now. http://www.instructables.com/id/Ghetto-Programming%3a-Getting-started-with-AVR-micro/?ALLSTEPS (http://www.instructables.com/id/Ghetto-Programming%3a-Getting-started-with-AVR-micro/?ALLSTEPS)
Title: Re: Programming The 50$ Robot HELP!!!
Post by: GearMotion on April 01, 2009, 08:06:59 AM
this is the one im attempting now. http://www.instructables.com/id/Ghetto-Programming%3a-Getting-started-with-AVR-micro/?ALLSTEPS (http://www.instructables.com/id/Ghetto-Programming%3a-Getting-started-with-AVR-micro/?ALLSTEPS)

That was -essentially- the first type of programmer I used with AVRs. Since then I've found it worthwhile to get a $30-40 programmer from Digikey.com.
Title: Re: Programming The 50$ Robot HELP!!!
Post by: SmAsH on April 03, 2009, 01:01:45 AM
yea but $30-$40US is about $70-$90 here which is a lot of money to me as im just a student :(
Title: Re: Programming The 50$ Robot HELP!!!
Post by: superchiku on April 03, 2009, 07:10:45 AM
make u own as i told u ..
Title: Re: Programming The 50$ Robot HELP!!!
Post by: SmAsH on April 03, 2009, 07:16:09 AM
make u own as i told u ..
thats what i just did...
Title: Re: Programming The 50$ Robot HELP!!!
Post by: GearMotion on April 03, 2009, 12:57:13 PM
Look here:

http://www.societyofrobots.com/robotforum/index.php?topic=7541.0 (http://www.societyofrobots.com/robotforum/index.php?topic=7541.0)
Title: Re: Programming The 50$ Robot HELP!!!
Post by: SmAsH on April 03, 2009, 02:37:23 PM
haha nice gearmotion, i was just about to link him to it ;) you beat me to it! absolute, look down the bottom of the thread and see gearmotions post on the different arrangements of pins you can have.
Title: Re: Programming The 50$ Robot HELP!!!
Post by: Absolute on April 03, 2009, 02:53:52 PM
Thanks alot guys. i shall give it a shot. 8)
Title: Re: Programming The 50$ Robot HELP!!!
Post by: GearMotion on April 04, 2009, 02:48:27 PM
haha nice gearmotion, i was just about to link him to it ;) you beat me to it! absolute, look down the bottom of the thread and see gearmotions post on the different arrangements of pins you can have.

Now an update to all of that in the form of a quick blog I put together:

http://circuitgizmos.com/wordpress/?p=272 (http://circuitgizmos.com/wordpress/?p=272)