Batur123 / raspberry-thermostat-calculator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Raspberry Pi 4 Adjustable Thermostat Project

Mandatory School Intern Project

Prerequisites

Raspberry Pi 4
Jumper Cables (M-F) (M-M)
DHT11 Humidity & Temperature Sensor
Green,Yellow,Blue,Red LED Light
2 x Large Button
1 x Small Button
3 x 23 Ohm (Red-Red-Black-Gold) Resistor
1 x 10.50000k Ohm (Brown-Red-Orange-Gold) Resistor

Python Libraries

RPi.GPIO as GPIO
time
board
dht11
socket

GPIO Pin Connections

Raspberry Pin-2 (5v)-> Breadboard + (Red Line)
Raspberry Pin-6 (GND)-> Breadboard – (Blue Line)
Raspberry Pin-7 (GPIO-4)-> DHT11 Data Pin
Raspberry Pin-11 (GPIO-17)-> 23 Ohm Resistor-> Red Led (+) (Long Leg)
Raspberry Pin-13 (GPIO-27)-> 23 Ohm Resistor-> Green Led (+) (Long Leg)
Raspberry Pin-15 (GPIO-22)-> 23 Ohm Resistor-> Blue Led (+) (Long Leg)
Raspberry Pin-29 (GPIO-5)-> Big Button-1 VCC
Raspberry Pin-31 (GPIO-6)-> Small Button-1 VCC
Raspberry Pin-36 (GPIO-16)-> Big Button-2 VCC
Raspberry Pin-37 (GPIO-26)-> 23 Ohm Resisor-> Yellow Led (+) (Long Leg)
Red Led (-) (Short Leg)-> Breadboard (-) (Blue Line)
Green Led (-) (Short Leg)-> Breadboard (-) (Blue Line)
Blue Led (-) (Short Leg)-> Breadboard (-) (Blue Line)
Yellow Led (-) (Short Leg)-> Breadboard (-) (Blue Line)
DHT11 VCC-> Breadboard (+) (Red Line)
DHT11 GND-> Breadboard (-) (Blue Line)
Big Button-1 GND-> Breadboard (-) (Blue Line)
Small Button-1 GND-> Breadboard (-) (Blue Line)
Big Button-2 GND-> Breadboard (-) (Blue Line)

About

License:MIT License


Languages

Language:Python 60.1%Language:C# 39.9%