Circuit Documentation
Summary of the Circuit
This circuit appears to be designed for temperature monitoring and control, utilizing an Arduino UNO as the central microcontroller. The temperature is sensed using an LM35 temperature sensor, and the system can control a fan and other devices through 12V single-channel relays. A polymer lithium-ion battery provides power, managed by a TP4056 charging module, and a 5V adapter is also included, likely for an alternative power source or for charging the battery.
Component List
Temperature Sensor (LM35)
- Description: Precision Centigrade Temperature Sensor
- Pins: +Vs, Vout, GND
Resistor (100k Ohms)
- Description: Passive component to limit current or divide voltages
- Pins: pin1, pin2
- Resistance: 100k Ohms
Arduino UNO
- Description: Microcontroller board based on the ATmega328P
- Pins: UNUSED, IOREF, Reset, 3.3V, 5V, GND, Vin, A0-A5, SCL, SDA, AREF, D0-D13, +, -
Polymer Lithium Ion Battery - Generic
- Description: Rechargeable battery for portable electronics
- Pins: GND, VCC
Fan
- Description: Electronic device for cooling purposes
- Pins: GND, 5V
12V Single Channel Relay
- Description: Electromechanical switch for controlling high power devices
- Pins: NC, COM, NO, IN, GND, VCC
TP4056
- Description: Lithium Battery Charger and Protection Module
- Pins: OUT-, B-, B+, OUT+, IN-, IN+
5V Adapter
- Description: Power supply module to convert AC to 5V DC
- Pins: AC In 1, AC In 2, 5V, GND
Wiring Details
Temperature Sensor (LM35)
- +Vs: Connected to 5V of Arduino UNO
- Vout: Connected to A0 of Arduino UNO
- GND: Common ground
Resistor (100k Ohms)
- pin1: Connected to B+ of TP4056 and VCC of Polymer Lithium Ion Battery
- pin2: Connected to A1 of Arduino UNO
Arduino UNO
- 5V: Supplies power to Temperature Sensor (LM35)
- GND: Common ground
- Vin: Connected to COM of 12V Single Channel Relays
- A0: Receives analog voltage from Vout of Temperature Sensor (LM35)
- A1: Connected to pin2 of Resistor (100k Ohms)
- D2-D4: Control pins for 12V Single Channel Relays
Polymer Lithium Ion Battery - Generic
- VCC: Connected to B+ of TP4056
- GND: Common ground
Fan
- 5V: Connected to NO of a 12V Single Channel Relay
- GND: Common ground
12V Single Channel Relay
- VCC: Connected to 5V of Arduino UNO
- GND: Common ground
- COM: Connected to Vin of Arduino UNO and 5V of 5V Adapter
- NO: Connected to 5V of Fan
- IN: Controlled by D2-D4 of Arduino UNO
TP4056
- B+: Connected to VCC of Polymer Lithium Ion Battery and pin1 of Resistor (100k Ohms)
- B-: Common ground
- OUT+: Connected to COM of a 12V Single Channel Relay
- OUT-: Connected to GND
- IN+: Connected to NO of a 12V Single Channel Relay
- IN-: Connected to GND of 5V Adapter
5V Adapter
- 5V: Connected to COM of 12V Single Channel Relays
- GND: Connected to IN- of TP4056
Documented Code
Arduino UNO Code (sketch.ino)
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
Additional Notes (documentation.txt)
No additional code documentation provided.
