

This circuit integrates an Arduino UNO microcontroller with a SIM900A GSM module, a relay module, a temperature sensor (LM35), a fan, and power supply modules via micro USB to cable connectors. The Arduino UNO is used as the central processing unit to control the relay based on the temperature readings from the LM35 sensor and to communicate with the SIM900A GSM module. The relay controls the power to the fan, turning it on or off based on the temperature. The SIM900A module allows for GSM network communication, enabling potential features like remote monitoring or control via SMS or voice. The micro USB to cable connectors are used to provide power to the circuit components.
5V connected to the relay module (normally open) and temperature sensor (LM35) +VsGND connected to the relay module (normally closed) and temperature sensor (LM35) GNDA0 connected to the temperature sensor (LM35) VoutD11 connected to the SIM900A 5VRD10 connected to the SIM900A 5VTD7 connected to the relay module common contactGND connected to the micro USB to cable connector -5V connected to the micro USB to cable connector +5VR connected to Arduino UNO D115VT connected to Arduino UNO D10normally open connected to the temperature sensor (LM35) +Vs and Arduino UNO 5Vnormally closed connected to Arduino UNO GNDcommon contact connected to Arduino UNO D7trigger connected to the fan 5V and micro USB to cable connector +V+ connected to the fan 5V and micro USB to cable connector +V- connected to the fan GND and micro USB to cable connector -+Vs connected to the relay module (normally open) and Arduino UNO 5VVout connected to Arduino UNO A0GND connected to Arduino UNO GND+ connected to the SIM900A 5V, relay module V+, and fan 5V- connected to the SIM900A GND, relay module V-, and fan GND5V connected to the relay module trigger and V+GND connected to the relay module V-void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
Note: The provided code is a template and does not contain any functional code. It needs to be populated with the logic for reading the temperature sensor, controlling the relay, and interfacing with the SIM900A module.