Ponyprog Usb To Serial

Ponyprog



AVR Serial Programmer

(Note to readers: I have successfully made this programmer work. However, I have received mails reporting issues with this programmer. Untill I write a complete tutorial, making a better programmer, please consider checking the schematic shown in Ponyprog website, which is much more reliable)

Programmer act as a liasion between your AVR microcontroller and the PonyProg software. It helps you to upload your .hex file into the AVR microcontroller. There are different types of programmers available in the market. The basic difference between them is the way they connect to the computer or the laptop. Some use Serial interface, while others use the parallel port available. Now the trend is to use USB connector with the USB port available.

  1. Calibration of PonyProg (b) Set the device by selecting “AVR Micro” then “ATmega16” from “Device”. Selecting the Controller. In Interface setup serial cable is connected to the computer’s com port (COM1) to program Atmega16. For this go to “Interface board Setup” window.
  2. The problem is that ponyprog implements the SPI and I2CBus via bit-banging and add the USB adapters need a restructure that was planned several weeks ago, but I need to find the time to do it. Now that ponyprog was ported to QT it is the first item in the TODO list.

Oct 7, 2017 - WaveShare LPC ISP mini module serial download cable programmer USB to Serial.

In this tutorial, we will build a simple AVR serial programmer which connects through a RS232 9 pin connector.

If you are not sure how to generate a .hex file, refer 'Configure AVR Studio' tutorial, or 'Installing PonyProg' to check how to upload your .hex files into your microcontroller.

Parts Required:


ComponentQuantityValue
RS232 - DB9 Female1-
RS232 Case1-
6 Pin Connector1-
Wire6150-200 cms
Transistor1BC547 / BC550/ 2N3904
Resistor115K
Resistor210K
Resistor24.7K
Zener Diode35.1 V Zener Diode

Once you have received all the above parts, it is just a matter of putting it all together in a desired fashion.

Schematic:

Refer to the above schematic and attach the components together. You can either get a small PCB and solder it all together, or simply plug it on a breadboard and connect it. But it might be difficult for you to use a breadboard with so many connections and pins.

In the image to the right, you can find a few components required to build a serial programmer.

  1. 1. RS232 case and a set of screws to hold the contents together
  2. A pair of RS232 - DB9 Female connectors. Of course you need only one of these which can be connected to a PC or a laptop
  3. Few resistors used in the design.
  4. 5v Zener diodes

Next time I will try to provide a step-by-step guide to solder all these components together and also how to connect it over a PCB. I have displayed an already created programmer and its design here. If anyone is interested, download the eagle schematic and make modifications if required. Feel free to add your comments in the forum if you face issues while making this serial programmer

«Previous - § - Next»
Ponyprog usb to serial cable

Do you have anything to say?
Visit the Forum to discuss, learn and share anything related to robotics and electronics !!

PonyProg now works with several hardware interfaces. Choose the one you prefer and try it. Ponyprog Usb To Serial

SI Prog (Serial port Interface for PonyProg)

The official PonyProg hardware interface. It works with all devices supported by PonyProg. Look here to buy it.

SI Prog schematics
SI Prog kit

AVR ISP (STK200/300) parallel port interface

The best way to perform AVR ISP programming. It works even in low voltage systems (3V). To select it choose 'AVR ISP I/O' or 'AVR ISP API' from the Options - Setup menu and the parallel checkbox.
You can connect directly to the target system (ISP) through the 10 pin connector, alternatively you can connect a PonyProg adapter card for AVR, AT89S, SPI eeproms, microwire eeproms and feed external power to the device.
'AVR ISP API' on Linux version need the parport, parport_pc and ppdev kernel modules.
On Windows2000/XP you have to select 'AVR ISP I/O' and use a standard PC LPT port.
Note that this interface doesn't support I²CBus devices, use the SI-Prog or EasyI2CBus interface instead.

The STK200/300 official dongle is provided by Kanda.

Some people suggest me improvements to the original STK200 dongle. For the discussion look here

Here are the improved schematics.

AVR ISP with STK200/300 pinout (connect it to STK200/300 eva board)
Click here to enlarge

Ponyprog Usb To Serial

AVR ISP with SI-Prog pinout (connect it to SI-Prog AVR adapter boards)
Click here to enlarge

Ponyprog Usb To Serial Adapter

Ludipipo and JDM interface

Ponyprog Usb To Serial Driver

PonyProg support ludipipo and JDM interface to program PIC16x84. To select it choose 'JDM I/O' from the Options - Setup menu and the serial checkbox. If you use Linux or experiment problems select 'JDM API'.

JDM schematics
How to connect 24Cxx eeproms to JDM programmer:

Easy I²C Bus interface

To select it choose 'Easy I2CBus' from the Options - Setup menu and the parallel checkbox.
'AVR ISP API' on Linux version need the parport, parport_pc and ppdev kernel modules.
On Windows2000/XP you have to select 'AVR ISP I/O' and use a standard PC LPT port.

Ponyprog Usb Serial Converter

Click here to enlarge