Society of Robots - Robot Forum

Software => Software => Topic started by: E.Man.Lava on January 19, 2008, 09:33:09 PM

Title: 50$ robot using an AVR programmer with USB not serial
Post by: E.Man.Lava on January 19, 2008, 09:33:09 PM
What program do i use when making the 50$ robot using an AVR programmer with a USB connection instead of a serial connection?  ???


E.Man.Lava
Title: Re: 50$ robot using an AVR programmer with USB not serial
Post by: airman00 on January 19, 2008, 09:51:15 PM
same program


remember whether its USB or serial all its doin is transferring the program from computer to chip. Its the program on the chip thats the same no matter how it got there
Title: Re: 50$ robot using an AVR programmer with USB not serial
Post by: E.Man.Lava on January 19, 2008, 10:05:34 PM
I know but on the tutorial it says to transfer the code from AVR Studio to the microcontroller via PonyProng2000 serial port connection, so what software do i download to transfer the code from AVR Studio to the microcontroller via USB ported AVR programmer  :-\ ?
Title: Re: 50$ robot using an AVR programmer with USB not serial
Post by: ed1380 on January 19, 2008, 10:11:38 PM
you get a usb to serial converter.
your computer will think it's a serial post and then use ponyprog as normal.

bad thing, is that usb->serial cables cost about $30

you  might want to look at the arduino from www.sparkfun.com
it's only $34
Title: Re: 50$ robot using an AVR programmer with USB not serial
Post by: E.Man.Lava on January 19, 2008, 10:17:22 PM
What if i dont have the money or the time to buy a usb>serial converter?  :-\
Title: Re: 50$ robot using an AVR programmer with USB not serial
Post by: airman00 on January 19, 2008, 10:18:57 PM
you mean connect USB programmer to USB port?

umm I dunno , check online \

I'll look online as well and post anything if I find it
Title: Re: 50$ robot using an AVR programmer with USB not serial
Post by: airman00 on January 19, 2008, 10:24:24 PM
you should be able to select your programming hardware in the software menu as USB programmer

(http://www.societyofrobots.com/images/sbs_connect_AVR.png)

I think that should do it

It should make sense that you could configure the software to recognize a USB programmer
Title: Re: 50$ robot using an AVR programmer with USB not serial
Post by: airman00 on January 19, 2008, 10:26:05 PM
and read through this entire post
http://www.societyofrobots.com/robotforum/index.php?topic=1045.0 (http://www.societyofrobots.com/robotforum/index.php?topic=1045.0)
Title: Re: 50$ robot using an AVR programmer with USB not serial
Post by: E.Man.Lava on January 20, 2008, 01:03:58 PM
I tried this and it says connection failed, does that mean that there is a problem with the circuit board  ??? ?
if there is in fact a problem with the circuit board, how would i fix it?
Title: Re: 50$ robot using an AVR programmer with USB not serial
Post by: E.Man.Lava on January 20, 2008, 01:19:49 PM
Here are some pics of my circuit board/microcontroller

(http://C:\Documents and Settings\John\My Documents\My Pictures\circuit board)

does it look ok?  ???

P.S. can you see the pic?
Title: Re: 50$ robot using an AVR programmer with USB not serial
Post by: ed1380 on January 20, 2008, 01:30:55 PM
nope.

you have to upload it.  clicking reply. and on the botom left hit additional options
Title: Re: 50$ robot using an AVR programmer with USB not serial
Post by: E.Man.Lava on January 20, 2008, 02:34:41 PM
Can you see it now?
Title: Re: 50$ robot using an AVR programmer with USB not serial
Post by: ed1380 on January 20, 2008, 02:54:02 PM
yep. may i ask what the long wires go off to?
Title: Re: 50$ robot using an AVR programmer with USB not serial
Post by: E.Man.Lava on January 20, 2008, 03:31:58 PM
they go to the photoresistors.
Title: Re: 50$ robot using an AVR programmer with USB not serial
Post by: ed1380 on January 20, 2008, 04:31:48 PM
if you're still having a problem connecting, I'd get a multimeter and chech the whole board for any shorts
Title: Re: 50$ robot using an AVR programmer with USB not serial
Post by: E.Man.Lava on January 20, 2008, 04:36:14 PM
how exactly do i use a multimeter?  ???  :-[
Title: Re: 50$ robot using an AVR programmer with USB not serial
Post by: ed1380 on January 20, 2008, 05:02:32 PM
select the ohms functin. if something is supposed to be connected there should be little resistance.
if somehting isnt supposed to eb connected, but is. you have a short.

but be aware that the 5v regulator and the mcu let a little current to come through