The application allows the user to set up to four different daily alarm times, such as reminders to take pills at required times. When an alarm occurs, a piezoelectric buzzer generates a pulsating sound and the LED associated with that alarm flashes.
The example is explained in more details in the application note AN2387.
- MPLAB X IDE v6.25 or later
- XC8 (v3.00) alternatively AVR/GNU C Compiler 5.4.0 can be used
- ATtiny_DFP 3.3.272 or later
- Download the zip file or clone the example to get the source code.
- Open
attiny416-pillbox-alarm-p4-mplab.X
in MPLAB. - Connect the AVR P4 with your computer.
- Make sure the kit is selected as the tool to be programmed under project settings.
- Press the make and program button to program the device.
- Interact with the alarm according to the application note.
We have here shown the possibility to use the ATtiny416 as a Pillbox Alarm Application.