Society of Robots - Robot Forum
Electronics => Electronics => Topic started by: Absolute on April 10, 2009, 11:00:51 AM
-
I intend on building a programmer for the $50 Robot. I have found AVR-PG1 on http://www.olimex.com/dev/ (http://www.olimex.com/dev/).
Before I build it I have a few questions...
1. Is the schematic wired correct?
2. Where & how do you connect the ground?
3. Is this Programmer safe, Could it fry the components or my computer?
If anyone has built this, could you show me how?
-
Connect all the ground symbols in the schematic and you will have connected all the grounds together.
-
Connect all the ground symbols in the schematic and you will have connected all the grounds together.
Do you also connect (4 6 8 10) of the ICSP to the ground as shown in avr-icsp-10.gif ?
-
1. Is the schematic wired correct?
2. Where & how do you connect the ground?
3. Is this Programmer safe, Could it fry the components or my computer?
If anyone has built this, could you show me how?
1. I have no doubt that the Olimex schematic is correct.
2. The ground is the short line, such as the end of the ISP pin 6 connection.
3. It is as safe as the operator. Used correctly it is safe.
Do you also connect (4 6 8 10) of the ICSP to the ground as shown in avr-icsp-10.gif ?
Yes.
-
2. The ground is the short line, such as the end of the ISP pin 6 connection.
Do you also connect (4 6 8 10) of the ICSP to the ground as shown in avr-icsp-10.gif ?
Where else NOT SHOWN on the schematic is the ground connected ?
-
Where else NOT SHOWN on the schematic is the ground connected ?
I can understand your concern or consternation. That would be all.
Another bit of help: The transistor is a general-purpose one. A 2N2222 or 2N3904 will work.
For the BZV55C5V1 is also a common 5.1 volt Zener of the 1N5338 type.
ETA: The resistor wattage: a 1/4 watt or even 1/10 watt would do fine.
-
Where else NOT SHOWN on the schematic is the ground connected ?
I think 3.... usually left N/C
-
Absolute: What software will you use with this circuit?
-
Absolute: What software will you use with this circuit?
Ponyprog ? will that work ?
-
Absolute: What software will you use with this circuit?
Ponyprog ? will that work ?
PonyProg works.
I built the serial port programmer from the schematic that you posted on the top of this thread. I verified that the posted schematic uses the same signals that PonyProg would expect. I made mine on a little 2" by 2" board and I used a 2x3 pin header rather than the 2x5 in the schematic.
It was quick to put together and works well with PonyProg.
ETA: The serial port I tested with connects directly to my PC motherboard. It is not a USB/serial device. I have not tested with one of those.
-
Do USB to serial cables replicate the serial port voltage? The reason the diodes are there is to lower the voltage to an acceptable level, but if the usb to serial device runs at the 5v usb level, there will be 0v going to the programmer :o
-
I tried using a USB to Serial device. PonyProg did not recognize it.
-
GearMotion: Great work, thanks. You a great benefit for us amateurs.
If I use a 2x5 pin header rather than the 2x3 what modifications will be made on the board you made? Is it better to use a 2x5 OR 2x3 Header for the $50 Robot?
-
GearMotion: Great work, thanks. You a great benefit for us amateurs.
If I use a 2x5 pin header rather than the 2x3 what modifications will be made on the board you made? Is it better to use a 2x5 OR 2x3 Header for the $50 Robot?
No problem. I'm glad I could be helpful.
For the $50 robot, the 2x5 is called out on this diagram:
http://www.societyofrobots.com/images/sbs_avr_schematic.png (http://www.societyofrobots.com/images/sbs_avr_schematic.png)
All things equal, I would recommend that you stick with the 2x5 connector to match this diagram.
I chose to alter the design to use a 2x3 because of the boards that I use for AVRs. They are the "Bare Bones Boards" here: http://www.circuitgizmos.com/products/cgbbb/cgbbb.shtml (http://www.circuitgizmos.com/products/cgbbb/cgbbb.shtml) and they have 2x3 connectors for ISP.
-
if you want to use a 6 pin (2X3) instead of the 10pin check this thread out http://www.societyofrobots.com/robotforum/index.php?topic=1045.0 (http://www.societyofrobots.com/robotforum/index.php?topic=1045.0) about 3 posts down it shows conversion from 10 pin to 6 pin.
-
Absolute: Do you have all of the parts that you need to make this serial programmer?
-
Absolute: Do you have all of the parts that you need to make this serial programmer?
Gearmotion: Yeah, i do
-
then go for it! unless you need help?
-
Absolute: Do you have all of the parts that you need to make this serial programmer?
Gearmotion: Yeah, i do
I was going to offer you a care package if you didn't. Good that you do! It should work OK for you using PonyProg.