Skip to main content

Simple USB AVR ISP Compatible Programmer


Modern PCs rarely have a serial or parallel  port any more, to the great regret of any-one who experiments with microcontrollers every now and then. In the old days  it was very simple to use the parallel port  of a standard PC and program just about  any type of AVR microcontroller with it.  When you want to do that now, you’re first  obliged to buy a programmer that communicates with the PC via USB, which immediately raises the threshold of getting started  with these microcontrollers. The circuit presented here offers a solution to this.

Simple USB AVR-ISP Compatible Programmer Circuit Diagram :

Simple USB AVR-ISP Compatible-Programmer-Circuit Diagram

As you can see from the schematic, this is  a very simple circuit, built around a cheap,  standard AVR microcontroller plus a handful of passive components. You may have  already observed that this microcontroller does not have a USB interface and the  circuit does not use a USB to serial converter either. The strength of this circuit is  found in the firmware. The USB interface  has been implemented in software, as we  have shown in an earlier article ‘AVR drives  USB’ in the March 2007 issue. The firmware  ensures that the circuit is recognised by the  PC as a serial port and communicates with  AVR Studio, the standard Atmel development environment, as if it were a ‘real’ AVR-ISP programmer.

The circuit is easily built on a small piece  of prototyping board or even on a bread board, since the controller is available in  a DIP-28 package. If you are going to pro-gram the controller yourself (via connector K2) then make sure that you set the  configuration fuses so that the internal  oscillator uses the external crystal as the  clock source.

Jumper K3 is provided in the event you would like to power the circuit to be programmed from the USB port. We do not  recommend that you do this, however,  but sometimes there is no other option.  K4 is a 10-way box header which has the  same standard pinout that Atmel uses  everywhere.

Author : Nand Eeckhout - Copyright : Elektor


Comments

Popular posts from this blog

OP AMP INTEGRATOR CALCULATOR

Enter the Input Voltage,Vin: Volts Enter the Frequency, f: Hertz Enter the Input Resistance, Rin: Ohms Enter the Value of Capacitor, C: Farads Output Voltage, Vout: Volts OP AMP based Integrator Tutorial and Design

Block diagram of AM transmitter and receiver with explanation

Block diagram of AM transmitter and receiver with explanation AM Transmitter : Transmitters that transmit AM signals are known as AM transmitters. These transmitters are used in medium wave (MW) and short wave (SW) frequency bands for AM broadcast. The MW band has frequencies between 550 KHz and 1650 KHz, and the SW band has frequencies ranging from 3 MHz to 30 MHz. The two types of AM transmitters that are used based on their transmitting powers are: ·          High Level ·          Low Level High level transmitters use high level modulation, and low level transmitters use low level modulation. The choice between the two modulation schemes depends on the transmitting power of the AM transmitter. In broadcast transmitters, where the transmitting power may be of the order of kilowatts, high level modulation is employed. In low power transmitters, where only a few watts of transmitting power are required , low...

Using the TLP250 Isolated MOSFET Driver Explanation and Example Circuits

I’ve already shown how to drive an N-channel MOSFET (or even an IGBT) in both high-side and low-side configurations in a multitude of ways. I’ve also explained the principles of driving the MOSFETs in these configurations. The dedicated drivers I’ve shown so far are the TC427 and IR2110. Some people have requested me to write up on MOSFET drive using the very popular TLP250. And I’ll explain that here. The TLP250, like any driver, has an input stage, an output stage and a power supply connection. What’s special about the TLP250 is that the TLP250 is an optically isolated driver, meaning that the input and output are “optically isolated”. The isolation is optical – the input stage is an LED and the receiving output stage is light sensitive (think “photodetector”). Before delving any further, let’s look at the pin configuration and the truth table. Fig. 1 - TLP250 Pin Configuration Fig. 2 - TLP250 Truth Table Fig. 1 clearly shows the input LED side and the receiving photodetector as well...