![]() ![]() Once uploaded successfully, go to serial monitor and set Baud rate to 19200 and No line ending. Write or copy-paste the given sketch to IDE and upload it to Arduino. Now, connect your Arduino to PC and open ArduinoIDE. The following image shows how the PCB looks like: PCB_image_ATTINY_HV_Programmer ARDUINO SKETCH // AVR High-voltage Serial Fuse Reprogrammer // Adapted from code and design by Paul Willoughby // // Fuse Calc: // #define RST 13 // Output to level shifter for !RESET from transistor #define SCI 12 // Target Clock Input #define SDO 11 // Target Data Output #define SII 10 // Target Instruction Input #define SDI 9 // Target Data Input #define VCC 8 // Target VCC #define HFUSE 0x747C #define LFUSE 0圆46C #define EFUSE 0圆66E // Define ATTiny series signatures #define ATTINY13 0x9007 // L: 0圆A, H: 0xFF 8 pin #define ATTINY24 0x910B // L: 0圆2, H: 0xDF, E: 0xFF 14 pin #define ATTINY25 0x9108 // L: 0圆2, H: 0xDF, E: 0xFF 8 pin #define ATTINY44 0x9207 // L: 0圆2, H: 0xDF, E: 0xFFF 14 pin #define ATTINY45 0x9206 // L: 0圆2, H: 0xDF, E: 0xFF 8 pin #define ATTINY84 0x930C // L: 0圆2, H: 0xDF, E: 0xFFF 14 pin #define ATTINY85 0x930B // L: 0圆2, H: 0xDF, E: 0xFF 8 pin void setup() PROCEDUREįirst of all make the circuit either on breadboard or on PCB/veroboard. Print the pdf in MIRROR view to get correct orientation after etching.īelow pdf is for colored PCB layout. Consult both of them to get idea about orientation of components. Use below pdf files to etch your own PCB on copper clad. If you want to make it on vero board or PCB, use an 8 pin IC base (DIL08) and L shaped male header (7 pins required).
0 Comments
Leave a Reply. |