This document provides a detailed overview of a circuit that includes an Arduino UNO as the central microcontroller, interfaced with various components such as a 2-channel relay, an SHT31 temperature and humidity sensor, a fan, a USB female connector, and a power supply. The circuit is designed to control the fan and gather environmental data while being powered through a 5V power supply. The Arduino UNO facilitates the control logic and sensor data processing.
3.3V
connected to terminal block5V
connected to terminal blockGND
connected to multiple terminal blocksSCL
connected to terminal block for I2C communicationSDA
connected to terminal block for I2C communicationD7
connected to terminal block for digital controlD4
connected to terminal block for digital controlD2
connected to terminal block for digital controlNC
not connectedCOM
connected to the fanNO
connected to terminal blockVCC
connected to terminal block for powerIN2
connected to terminal block for control signalIN1
connected to terminal block for control signalGND
connected to terminal block for groundVCC
connected to terminal block for powerGND
connected to terminal block for groundSDA
connected to terminal block for I2C communicationSCL
connected to terminal block for I2C communication5V
connected to the relay's COM terminalGND
connected to terminal block for ground220V Positive Pole (AC)
connected to AC wire220V Negative Pole (AC)
connected to AC wireGND
connected to multiple terminal blocks for groundGND (DC)
connected to terminal blocks for ground12V-24V Output (DC)
connected to terminal blocks for power distributionLine
connected to power supplyEarth
connected to terminal block for safetyNeutral
connected to power supplyVCC
connected to terminal block for powerGND
connected to terminal block for ground-D
not connected+D
not connectedvoid setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
setup()
and loop()
functions. The actual logic for controlling the relay and reading data from the SHT31 sensor needs to be implemented within these functions.documentation.txt
file is empty and can be used to add further explanations or instructions related to the code.