After building the first prototype I collected all my old flashes I got over the years and had four more slaveflash-triggers to built.
I already figured out an PCB-Layout for the SOIC-version of the attiny 24. But the biggest parts in the design are actually the hex-switch and the optocoupler, so it would make no sense to substitute only the microcontroller by a smaller one. Instead I replaced the hex-switch by a learning mode in software and also replaced the power source.
By replacing the 7805 voltage controller by a button cell with 3V, the power consumption was reduced from 2mA to below 0.5mA without the LED on.
So here it is: Let's got started!
Remove these ads by
Signing UpStep 1Changes in the schematics
- The complete voltage controller section is deleted.
- The hex-switch is replaced by nothing.
- The reset-button
- the flash-detector
- the status-Led
- and the optocoupler.
| « Previous Step | Download PDFView All Steps | Next Step » |












































And make the correct settings in the avr-studio für the attiny 24. Unfortunately I'm not using avr-studio any more, so I can't help you with that. You could try a avr-forum for specific questions.
What compiler have you used?
this code works well with the AVR-Studio 4.something and the winAVR-gcc compiler. I had no error and not even a warning left when compiling.
I set up the workflow long ago.
AVR-studio is the editing-environment that takes care of the makefile and the includes and everything. While the winAVR provides the compiler, the libraries and the rest of what is needed. winAVR works completely in the background, I don't know if there is even a gui for it.
Hope that helped!
No let me correct that, it is easier in my experience to build an attiny programmer than it is to build a PIC programmer.
I may build this one. I think though that the optocoupler is not really necessary as the unit is self contained. A Thyristor or even a transistor (if the sync voltage is not to0 high) will suffice.