This circuit is designed to control various devices, including a relay module, ultrasonic distance sensor, temperature sensor, LED strip, pilot lamps, fans, and a water pump. The central control unit is an Arduino 101 microcontroller, which interfaces with the sensors and controls the relay module to switch the connected devices. The circuit is powered by a switching power supply that converts 220V AC to a DC voltage, which is then stepped down by a DC buck converter to supply the necessary voltage levels to the components.
D13/SCK
connected to Ultrasonic Distance Sensor TRIG pin.D12/MISO
connected to Ultrasonic Distance Sensor ECHO pin.D11 PWM/MOSI
connected to TEMP D3 pin.D4
connected to Relay 4 Channel 5v IN4 pin.D3 PWM
connected to Relay 4 Channel 5v IN3 pin.D2
connected to Relay 4 Channel 5v IN2 pin.D1/TX
connected to Relay 4 Channel 5v IN1 pin.GND
connected to the ground net of the circuit.VIN
connected to the positive voltage from the Switching Power Supply.IN1
, IN2
, IN3
, IN4
controlled by Arduino 101.VCC
connected to the positive output from the XL4015 5A DC Buck Step-down.GND
connected to the ground net of the circuit.COM1
connected to Water Pump GND.NO1
, NO2
, NO3
, NO4
connected to the negative voltage from the Switching Power Supply.NC4
connected to Pilot Lamp Green X1 pin.AC
connected to Power 220V hot and neutral wires.GND
connected to the ground net of the circuit.-V
connected to the negative voltage net of the circuit.+V
connected to the positive voltage net of the circuit.Input +
connected to the positive voltage from the Switching Power Supply.Input -
connected to the negative voltage from the Switching Power Supply.Output +
connected to the positive voltage net of the circuit.Output -
connected to the ground net of the circuit.5V
connected to the positive output from the XL4015 5A DC Buck Step-down.GND
connected to the ground net of the circuit.TRIG
connected to Arduino 101 D13/SCK pin.ECHO
connected to Arduino 101 D12/MISO pin.5V
connected to the positive output from the XL4015 5A DC Buck Step-down.D3
connected to Arduino 101 D11 PWM/MOSI pin.GND
connected to the ground net of the circuit.X1
connected to Relay 4 Channel 5v COM4 pin.X2
connected to the positive voltage net of the circuit.X1
connected to Relay 4 Channel 5v NC4 pin.X2
connected to the positive voltage net of the circuit.+12V
connected to the positive voltage net of the circuit.-12V
connected to Relay 4 Channel 5v NO1 pin.VCC
connected to the positive voltage net of the circuit.GND
connected to Relay 4 Channel 5v COM1 pin.+12V
connected to the positive voltage net of the circuit.GND
connected to Relay 4 Channel 5v COM3 pin.B0
and D0
not connected in the provided net list.No code was provided for the microcontrollers in the circuit. The documentation of the code would include descriptions of the functions, initialization routines, main loop, and any interrupt service routines or additional functions used to control the hardware components based on the inputs and sensor data.