I had this old laughing Dracula toy with glowing eyes since early 90s. For a while I had an idea to turn it into something functional, like a timer.
Finally I managed to overcome procrastination and did it!
Turn your old (or new) noisy toy into a productivity tool!
To make the experience fit your profile, pick a username and tell us what interests you.
We found and based on your interests.
I had this old laughing Dracula toy with glowing eyes since early 90s. For a while I had an idea to turn it into something functional, like a timer.
Finally I managed to overcome procrastination and did it!
Simply cut button wire/trace and solder ATtiny13, it would receive button press and trigger toy.
Some toys triggered by LOW level, some by HIGH (A and B), check your wiring and comment/uncomment define accordingly. The same applies to LEDs.
My Dracula toy was active LOW (button connected trace from the blob to negative battery lead). Eyes were connected to positive battery lead and "blob" would pull LOW to light them up.
Another toy turned out to be active HIGH (button was connected to positive side of the battery).
Attiny13 internal oscillator is not precise, it depends on voltage and temperature and needs calibration. In my cases when countdown was set to 25x60 ticks which supposed to be seconds it actually was 28 and 32 minutes.
"calibration" has nothing to do with actual oscillator calibration and simply means counting ticks for 5 minutes and multiplying result by 5.
Default ticks count is saved/read from EEPROM. When uploading image for the first time you'll need to write EEPROM as well, in case of platformio with this command:
$ pio run --target uploadeep
To calibrate timer, setup your phone or kitchen timer to 5 minutes, start both timers, but don't release toy timer button for another 5-6 seconds until it blinks for the second time. When your phone timer is up, press toy timer button, it will multiply number of ticks by 5 and save this number to EEPROM. That's it!
Create an account to leave a comment. Already have an account? Log In.
Become a member to follow this project and never miss any updates
By using our website and services, you expressly agree to the placement of our performance, functionality, and advertising cookies. Learn More
Dracula had Hippocratic balding? TIL...