Raspberry Pi 4B Smart Weather Station with Humidity, Temperature, Light, and Soil Moisture Sensors
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This circuit integrates a Raspberry Pi 4B with various sensors and an OLED display. The sensors include a DHT11 Humidity and Temperature Sensor, an Adafruit TSL2561 Light Sensor, an Adafruit ADS1115 16-Bit I2C ADC, and a YL-69 Soil Moisture Sensor. The OLED display is used for visual output. The Raspberry Pi serves as the central processing unit, interfacing with all the sensors and the display.
Component List
Raspberry Pi 4B
- Description: A powerful single-board computer used for various applications.
- Pins: 3V3, 5V, GPIO2, GPIO3, GND, GPIO4, GPIO14, GPIO15, GPIO17, GPIO18, GPIO27, GPIO22, GPIO23, GPIO24, GPIO10, GPIO9, GPIO25, GPIO11, GPIO8, GPIO7, ID_SD, GPIO5, GPIO6, GPIO12, GPIO13, GPIO19, GPIO16, GPIO26, GPIO20, GPIO21, ID_SC, TR01_TAP, TR00_TAP, TR03_TAP, TR02_TAP, RUN, GLOBAL_EN
DHT11 Humidity and Temperature Sensor
- Description: A sensor used to measure humidity and temperature.
- Pins: VDD, DATA, NULL, GND
Adafruit TSL2561 Light Sensor
- Description: A digital light sensor that measures the intensity of light.
- Pins: VIN, GND, 3.3V, ADDR, INT, SDA, SCL
Adafruit ADS1115 16-Bit I2C ADC
- Description: An analog-to-digital converter that communicates via I2C.
- Pins: VDD, GND, SCL, SDA, ADDR, ALERT, AIN0, AIN1, AIN2, AIN3
YL-69 Soil Moisture Sensor
- Description: A sensor used to measure the moisture content in the soil.
- Pins: vcc, gnd, AOUT
OLED 1.3" Display
- Description: A small OLED display used for visual output.
- Pins: GND, VCC, SCL, SDA
Resistor
- Description: A 10 Ohm resistor used in the circuit.
- Pins: pin1, pin2
- Properties: Resistance: 10 Ohms
Wiring Details
Raspberry Pi 4B
- 3V3: Connected to 3.3V pin of Adafruit TSL2561, Adafruit ADS1115, OLED 1.3", and vcc pin of YL-69.
- 5V: Connected to pin1 of the Resistor.
- GPIO2: Connected to SDA pin of Adafruit ADS1115, Adafruit TSL2561, and OLED 1.3".
- GPIO3: Connected to SCL pin of Adafruit ADS1115, Adafruit TSL2561, and OLED 1.3".
- GND: Connected to GND pin of DHT11, Adafruit TSL2561, Adafruit ADS1115, OLED 1.3", and gnd pin of YL-69.
- GPIO4: Connected to DATA pin of DHT11 and pin2 of the Resistor.
DHT11 Humidity and Temperature Sensor
- GND: Connected to GND pin of Raspberry Pi.
- DATA: Connected to GPIO4 pin of Raspberry Pi and pin2 of the Resistor.
- VDD: Connected to pin1 of the Resistor.
Adafruit TSL2561 Light Sensor
- 3.3V: Connected to 3V3 pin of Raspberry Pi.
- GND: Connected to GND pin of Raspberry Pi.
- SDA: Connected to GPIO2 pin of Raspberry Pi.
- SCL: Connected to GPIO3 pin of Raspberry Pi.
Adafruit ADS1115 16-Bit I2C ADC
- VDD: Connected to 3V3 pin of Raspberry Pi.
- GND: Connected to GND pin of Raspberry Pi.
- SDA: Connected to GPIO2 pin of Raspberry Pi.
- SCL: Connected to GPIO3 pin of Raspberry Pi.
- AIN0: Connected to AOUT pin of YL-69.
YL-69 Soil Moisture Sensor
- vcc: Connected to 3V3 pin of Raspberry Pi.
- gnd: Connected to GND pin of Raspberry Pi.
- AOUT: Connected to AIN0 pin of Adafruit ADS1115.
OLED 1.3" Display
- VCC: Connected to 3V3 pin of Raspberry Pi.
- GND: Connected to GND pin of Raspberry Pi.
- SDA: Connected to GPIO2 pin of Raspberry Pi.
- SCL: Connected to GPIO3 pin of Raspberry Pi.
Resistor
- pin1: Connected to 5V pin of Raspberry Pi.
- pin2: Connected to DATA pin of DHT11 and GPIO4 pin of Raspberry Pi.
Code
No code is provided for this circuit.
This documentation provides a comprehensive overview of the circuit, including a summary, detailed component list, wiring details, and code section. Each component is described, and its connections are clearly outlined to facilitate understanding and replication of the circuit.