กลับไปหน้ารวมไฟล์
temperature-regression-c46d93-en.md

Arduino Uno

breadboard

9 Pieces Male-Male Jumper Cable

LM35 Temperature Sensor

5mm Red LED

2 Pieces 330 Ohm (Orange-Orange-Brown)

buzzer

The LM35 sensor reads the temperature and converts it to analog data. When we read and interpret the analog data as we do in our LDR application, we measure the temperature of the object there or to which the LM35 is connected. You can measure between -55°C and +150°C with the LM35. It works linearly, that is, by increasing the voltage at the output at the same rate as the temperature increases, it works with a sensitivity of 10mV/°C. The LM35 has three legs. At the same time, when you look at the written part from the front, the cut part on the sensor is the negative (-), the left leg is positive (+) and the middle leg is the signal output. We connect the positive leg of the sensor to +5V and the negative leg to GND. When using the buzzer, we prevent the buzzer from being damaged by putting a resistor as when using an LED. We connect the positive leg of the buzzer to pin 9 of our Arduino board through the resistor. We connect the negative leg of the buzzer to the GND line. We connect the positive leg of the LED to the 8th pin of your Arduino board via the resistor and the negative leg to the GND line. Our circuit is complete.

We did it for self-development.

Yusuf Enes Aras - 1192602047

Yakup Kaya - 1192602020

Ramazan Tanrıkulu - 1192602004

Muhammet Furkan Saydam - 1192602005

Deniz Çelik - 1192602022

Onur Yılmaz - 1192602033

EXPANDED TECHNICAL DETAILS

Predictive Environmental Modeling

This project moves beyond simple temperature sensing to implement statistical Linear Regression on-board the Arduino, allowing the system to predict future temperatures.

  • Data Series Accumulation: The Arduino captures a series of temperature readings from an LM35 or DS18B20 sensor over a set interval (e.g., every 10 minutes).
  • Least-Squares Calculation: Using floating-point math, the firmware calculates the "Slope" ($m$) and "Intercept" ($b$) of the temperature trend line $(y = mx + b)$.

Proactive Actuation

  • Predictive Cooling: Instead of waiting for a room to get hot, the Arduino can predict when it will reach a threshold and turn on the fan early, providing more stable thermal management for sensitive equipment or server racks.

ข้อมูล Frontmatter ดั้งเดิม

title: "Temperature Regression"
description: "The buzzer will monitor the temperature regression with the LM35 temperature sensor connections and give led warnings up to certain levels."
author: "y_enesaras"
category: ""
tags:
  - "lights"
  - "smartwatches"
views: 2246
likes: 0
price: 1499
difficulty: "Intermediate"
components:
  - "1x Breadboard (generic)"
  - "1x Female/Female Jumper Wires"
  - "1x Multitool, Screwdriver"
  - "1x Gravity: Analog LM35 Temperature Sensor For Arduino"
  - "1x Buzzer"
  - "1x Arduino UNO"
  - "1x 5 mm LED: Red"
  - "1x Resistor 1k ohm"
tools: []
apps:
  - "1x Windows 10"
  - "1x Arduino IDE"
downloadableFiles: []
documentationLinks: []
passwordHash: "06756545cf0cb077198c1bd29f39bc3795c01330f9df1ffc7489debea96026f1"
encryptedPayload: "U2FsdGVkX18R03H+ungiOFZgcbCke/lL3ODGcHNvH9o/aQTwsalpEz8qsUGsv1JDaiZVMLfG1ZYbWHE1seyFHt0R5iNZzNyKxNMyNHu548JA6W0soTLPcjvLJdXVhLLO"
seoDescription: "Monitor Temperature Regression using LM35 temperature sensor with buzzer alerts and led indicators for Arduino projects."
videoLinks: []
heroImage: "https://cdn.jsdelivr.net/gh/bigboxthailand/arduino-assets@main/images/projects/temperature-regression-c46d93_cover.jpg"
lang: "en"