FelezJoo PI Programming

In this article, we will go over how to program an AVR chip for FelezJoo metal detector using a USBASP with a 10-pin cable.
A USBASP is a cheap device that allows for writing programs to AVR chips, such as an ATmega128 or ATmega328.
Therefore, we can write the Detector program to ATmega328p and have this program written into the flash memory of an AVR.
USBASPs are one of the least expensive options to programming AVRs; therefore, it’s one of the best options for doing so. USBASPs can be obtained for under $10 on many electronic retailer sites.
It is composed of an ATmega88 or ATmega8 and a few passive components that allow for writing data to an AVR chip’s flash memory.
Find the article her: USBasp Good Quality
Connecting it up to allow for it to program an AVR isn’t that difficult. We will now go over the wiring connections necessary for the USBASP to transfer data from a computer to an AVR chip.
One end connects into the computer. This allows for us to transfer the compiled program from the computer to the USBASP. The other end of the USBASP normally gets connected either to a 6-pin or a 10-pin cable, which can then get hooked up easily to a breadboard through header pins.
Both 6-pin and 10-pin cables are common, so knowing the pinout of these is essential to connecting them.

This translates into the real-world wiring diagram shown below. Regardless of whether the 6-pin cable or 10-pin cable is used, and it really doesn’t matter, there are 6 pins we are really wiring up and these are the MISO, SCK, RST, VTG, MOSI, and GND connections.

These are the only 6 essential connections that need to be made from the USBASP Programmer to the target AVR chip.
Using the popular ATmega328 chip as an example, we will show the wiring necessary to connect a USBASP to an Atmega328 chip to program it.
The schematic diagram for wiring the USBASP to the Atmega328 chip is shown below.

Basically, we just have to know which pins are the MOSI, MISO, SCK, RST, VCC, and GND pins, and connect them correspondingly from the USBASP to the target AVR chip.

Driver installation procedure

● Download the driver from : USBasp-win-driver-x86-x64-ia64-v1.2.4.zip  and unzip it
● For those having issues with the zip file, please try the following rar file https://protostack.com.au/download/USBasp-win-driver-x86-x64-ia64-v1.2.4.rar
● Insert the USBASP into your USB port

Go into device manager and find the entry for the USBASP programmer. It should be displayed with a yellow alert icon next to it.
Right click on the device and select “Update Driver Software”

When prompted “How do you want to search for driver software”, select “Browse my computer for driver software” Select the folder where you unzipped the driver files then click “Next”

At this point, windows will give you a nice red warning dialog with the message “Windows can’t verify the publisher of this driver software”.

Click “Install this driver software anyway” and the driver will install.

Programming  procedure (Video) vith AVRDUDESS

Download firmwares:

Leave a Reply