After possibly bricking your AtTiny, what do you do?
There is some different places on the web with information about what can be done and so on, such as this
But most of them use a bit complex schematics ... You might be like me that you are lazy, don't have to much to work with and already have ISP header that you want to use. So what is the easiest way to do this without to many connections and I found that I had some sparkfun level shifters laying around which could be used to get the 12V supply to reset.
So from that We can build our FUSE fixer without having to build a full circuit, this is what I ended up with: I was already using the ISP header, so soldering on a extra wire to the ATTiny85, and conect it all togheter with jumper wires and it was done.
Basic schema for using a Pro Micro (Sparkfun or similar clone) and external 12v with level shifter
Note that level shifter connections are used differently
Shifter Pin | usage |
---|---|
Low side TX input | to Ground |
Low side Power in (LV) | used as input and connected to pro micro signal pin |
High side Power in (HV) | to 12V source |
GND | not connected |
This creates an inverter with high voltage output (but with a low 10K pull-up) pull-up might be to low, but worked for me
See ATTinyFuseReset.ino for actual code, run it and connect serial monitor and send anything to start FUSE reset
Atmel ATtiny datasheet chapter "High-voltage Serial Programming" is the method that is used here.
Normal serial programming method can be used again after running FUSE reset.