Hopefully this will help get morse code into flashlights. Seems everyone wants a light that goes high. I built these lights years ago. The buck was a personal design I had fabbed at oshpark and it fit into a modded budget light.
The code should be able to be ported to other chips with changes. I picked the 84a because of it's size. There was no pic size equivalent. I'm not even sure what's out today. Stop and say hi to the guys in the budgetlight forum. I don't do flashlights anymore.
Any comments are welcome though.
Ben
Should add, you have to go into the advanced menu 4 (adc) and hold the button down for awhile when you first flash it. It goes through the adc options (blinks) and if you keep holding, resets the light. Takes quite awhile to hold, as it was meant to be a hidden option. This writes the necessary data in eprom which allows the loop to function. Note there's also code for a glowing on button output for a second fet on the board.
Features
- Tiny84a