HOW TO – use Arduino as a high voltage programmer

Arduino Technology
HOW TO – use Arduino as a high voltage programmer

Arduino Hvp
From the MAKE Flickr photo pool

If you should accidentally disable the reset pin while programming an AVR chip, you’ll lose the ability to rewrite to it using common ISP programming devices. To make the chip writable once again, you’ll need a ‘high voltage programmer’ that runs off of 12V. With an Arduino and some spare components, MightyOhm shows you how to make one –

The Arduino has just enough IO to implement the entire HV protocol plus a “go” button. So far I have only implemented setting LFUSE and HFUSE in software, but there is no reason why the code couldn’t be extended to support chip erase and programming the entire flash as well.

The fuse programming process is simple:

  • Upload the HVFuse sketch to the Arduino [available here]
  • Install the shield and apply +12VDC to the terminals on the left
  • Wait for the red LED to turn on
  • Install the ATmega to be repaired
  • Push the button
  • As soon as the LED turns off, the AVR is fixed and ready to be put back into service!

Nice – I’ll keep this how-to handy in case of fuse-bit emergencies. – Arduino-based AVR High Voltage Programmer

Arduino-based AVR High Voltage Programmer on Flickr

Makershedsmall
Arduino Protoshield Kit
ProtoShield for Arduino Kit
Back-to-School Sale – 10% off every order, free Maker’s Notebook with every order of $25 or more. Use code CRZYDAN for the discount, the Maker’s notebook will be added automatically.
Ends 9/30/08 midnight PST

What will the next generation of Make: look like? We’re inviting you to shape the future by investing in Make:. By becoming an investor, you help decide what’s next. The future of Make: is in your hands. Learn More.

Tagged
Discuss this article with the rest of the community on our Discord server!

ADVERTISEMENT

Escape to an island of imagination + innovation as Maker Faire Bay Area returns for its 16th iteration!

Prices Increase in....

Days
Hours
Minutes
Seconds
FEEDBACK