Reviving those pesky (and cheap) ATMEGA328p-PU from Ebay
Posted: Mon Sep 25, 2017 1:04 pm
Hello,
This is my first post; I wanted to share my experience about purchasing ATMEGA328P-PU off Ebay.
I received 10 MCUs from a chinese vendor; I was unable to program any of them using the Arduino IDE. After a while I read about MightyOhm HVRescue shield and decided to try it. I purchased it but Hurricane Irma delayed the delivery almost two weeks.
The kit was easy to assemble; I added a ZIF socket to make the process of inserting/removing/resetting the chips easier and safer (no bent pins).
and it took a couple of seconds per chip.
Next, I followed the instructions of this Instructables page: http://www.instructables.com/id/How-to- ... duino-isp/
I could burn the bootloader using an Arduino MEGA 2560 as the ISP an Arduno UNO with a removable chip header as the target ( I placed another ZIF socket on the Arduino UNO for the sake of convenience).
First, I connected my Arduino MEGA2560 to the PC; loaded the "Arduino ISP" sketch from Menu"
File>
Examples> ArduinoISP
Upload
Next, I unplugged the Arduino MEGA 2560 from the PC, and made the connections using jumper wires.
As you can see in the second picture, my setup differs a little bit from the Instructables page: I used an external power source for the Arduino UNO (9V) and retained the GND connection to the Arduino MEGA 2560.
Then, I connected the Arduino MEGA 2560 to the PC; I selected from the Menu:
Tools >
Board: Arduino/Genuino UNO
PORT: (your PC port assigned to Arduino MEGA
Programmer: Arduino as ISP
Burn Bootloader
Success! I could load normally sketches on my MCUs without any problems.
I hope this helps, it really sucks waste your time returning things to China, risking to receive another set of chips with the same issue.
And to the creator of the HVRescue, my sincere thanks and admiration.
Regards,
Andrew
This is my first post; I wanted to share my experience about purchasing ATMEGA328P-PU off Ebay.
I received 10 MCUs from a chinese vendor; I was unable to program any of them using the Arduino IDE. After a while I read about MightyOhm HVRescue shield and decided to try it. I purchased it but Hurricane Irma delayed the delivery almost two weeks.
The kit was easy to assemble; I added a ZIF socket to make the process of inserting/removing/resetting the chips easier and safer (no bent pins).
and it took a couple of seconds per chip.
Next, I followed the instructions of this Instructables page: http://www.instructables.com/id/How-to- ... duino-isp/
I could burn the bootloader using an Arduino MEGA 2560 as the ISP an Arduno UNO with a removable chip header as the target ( I placed another ZIF socket on the Arduino UNO for the sake of convenience).
First, I connected my Arduino MEGA2560 to the PC; loaded the "Arduino ISP" sketch from Menu"
File>
Examples> ArduinoISP
Upload
Next, I unplugged the Arduino MEGA 2560 from the PC, and made the connections using jumper wires.
As you can see in the second picture, my setup differs a little bit from the Instructables page: I used an external power source for the Arduino UNO (9V) and retained the GND connection to the Arduino MEGA 2560.
Then, I connected the Arduino MEGA 2560 to the PC; I selected from the Menu:
Tools >
Board: Arduino/Genuino UNO
PORT: (your PC port assigned to Arduino MEGA
Programmer: Arduino as ISP
Burn Bootloader
Success! I could load normally sketches on my MCUs without any problems.
I hope this helps, it really sucks waste your time returning things to China, risking to receive another set of chips with the same issue.
And to the creator of the HVRescue, my sincere thanks and admiration.
Regards,
Andrew