PTD 2 semi-final - advanced ultra low power MCU - AVR 3.3 watchdog - ABC 5.0 vibration sensor alarm
Powered by ABC 5.0, PTD draft 2 consumes 60uA powering 10-led, 1 button, 1 vibration sensor and 1 buzzer. The LED actually uses a lot of current in comparison, but the CD4017 LED can not really be switched OFF, but it can park in one slot and with the that LED removed.
Challenges overcome:
-1 button controls 4 modes with settings
-1k flash memory to code that
-1 pin controls 10 LED with a CD4017 with random LED control
-Vibration sensor low-power and fast
-Over all low power consumption (65uA is mainly from the LED and the CD4107)
-Watchdog is used both for button debounce and application timing
Q: How can a CD4017 moves backward?
A: With simple a LED position tracking algorithm.
Modes:
1, an ultra low power LED chaser;
1, an ultra low power LED chaser with sound;
3, a 8-minute timer for making coffee;
4, a vibration alarm that you can attach to your door at night for peace of mind;
Hardware:
B0 - Vibration sensor (INPUT)
B1 - Hot Wire (High Current only works with external 3v+ power input)
B2 - Button (active LOW INPUT)
B3 - Buzzer
B4 - CD4017 Clock (10 LED)