Open Access Open Access  Restricted Access Subscription Access

TEMPERATURE SENSING AND DISPLAY USING SPI COMMUNICATION WITH ATMEGA 328P

Nitin Kumar Maurya, Khizar Ali, Mohd. Sazid

Abstract


This paper presents a simple and cost-effective temperature sensing and display system using SPI communication. The main components used are the LM35 temperature sensor, ATmega328P microcontroller, and a 1dx2 LCD for display. The system reads analog temperature data from the sensor, converts it using the ADC (Analog to Digital Converter), and sends the information using SPI protocol. The temperature value is displayed in real-time on the LCD screen. This project demonstrates how SPI communication can be used effectively in small embedded systems for real-time applications, making it suitable for temperature monitoring in various fields like home automation and industry.


Full Text:

PDF

References


ATmega328P Datasheet, Microchip Technology.

LM35 Temperature Sensor Datasheet, Texas Instruments.

Mazidi, Muhammad Ali. "The AVR Microcontroller and Embedded Systems."Pearson Education.

SPI Communication Protocol, Application Notes, Microchip.

Kamal, Raj. Embedded Systems. Architecture, Programming and Design, McGraw-Hill Education.

Barnett, R.H., Cox, S., & O'Cull, L. Embedded C Programming and the Atmel AVR, Cengage Learning.

Arduino Reference: SPI Library https://www.arduino.cc/en/Reference/SPI.

Tutorial: Interfacing LM35 Temperature Sensor with AVR Microcontroller — CircuitDigest.co.


Refbacks

  • There are currently no refbacks.