/measuringAlarmSystem_SPIcommunication_ExternelInterrupt

A measurement system that uses a temperature sensor to measure the environment temperature and outputs it using SPI and external interrupt connections.

Primary LanguageC

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.

Hardware

  • two atmega32
  • LM35 or potentiometer
  • LCD 16x2
  • Led
  • BUZZER
  • push button
  • Resistors

Peripherals

  • SPI
  • EXI
  • ADC
  • DIO

Make sure you have installed

Softwares you should install

  • Microchip Studio for AVR
  • Proteus