When I began this project, the objective was to get some practice using the attiny10 microcontroller. It has a spacious 1kb of flash, 32 bytes of RAM, a whopping 4 ADC channels, and by default runs at 1Mhz without external components. In full operation, it consumes around 200 microamps, and much less in sleep modes. That's a lot of fun packed into a 6 pin package half the size of the grain of rice!
So I bought around 100 of them for 36$, because I know that's going to be a lot of entertainment for the price of a night out.
Here are the learning objectives I've set for this project:
1) Storing things that aren’t program code in program memory, because you have no EEPROM.
2) Waveform generation in hardware.
3) Using the Watchdog Timer as a normal timer, when you don’t have enough normal timers.
4) Various sleep modes.
5) Using components of switch bounce to aid in entropy generation.
Since a lot of my objectives were low-power adjacent anyway, I figured it would be fun to enter it into contest.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.