A Measuring and Alarm System communicates using the SPI communication protocol and an EXI external interrupt.
A measurement system that uses a temperature sensor to measure the environment's temperature and outputs it using SPI and external interrupt connections
Demo | Proteus simulation file |
---|---|
The slave controller is a measurement system that uses a temperature sensor to measure the environment's temperature.
When the master controller wants this, it gets the measurements from the slave controller using an SPI connection and puts them on the display.
In emergencies, when the temperature exceeds the allowed limit, the slave controller interrupts the master controller (by triggering its external interrupt) and gives it measurements.
- two atmega32
- LM35 or potentiometer
- LCD 16x2
- Led
- BUZZER
- push button
- Resistors
- SPI
- EXI
- ADC
- DIO
- Microchip Studio for AVR
- Proteus