Circuit Documentation
Summary
This circuit consists of an IR sensor, a 1-Channel Relay, a motor with wheels, and two 18650 Li-Ion batteries. The IR sensor detects an object and sends a signal to the relay, which then controls the motor. The batteries provide the necessary power to the components.
Component List
1-Channel Relay (5V 10A)
- Pins: NC, signal, C, power, NO, ground
- Description: A relay module used to control high-power devices with a low-power signal.
IR Sensor
- Pins: out, gnd, vcc
- Description: An infrared sensor used to detect objects.
Motor and Wheels
- Pins: vcc, GND
- Description: A motor with attached wheels used for movement.
18650 Li-Ion Battery
- Pins: Positive, Negative
- Description: A rechargeable lithium-ion battery.
Battery 18650
- Pins: +, -
- Description: Another rechargeable lithium-ion battery.
Wiring Details
1-Channel Relay (5V 10A)
- signal is connected to out of the IR sensor.
- C is connected to Positive of the 18650 Li-Ion battery.
- power is connected to + of the Battery 18650.
- NO is connected to vcc of the motor and wheels.
- ground is connected to Negative of the 18650 Li-Ion battery, - of the Battery 18650, GND of the motor and wheels, and gnd of the IR sensor.
IR Sensor
- out is connected to signal of the 1-Channel Relay.
- vcc is connected to + of the Battery 18650.
- gnd is connected to ground of the 1-Channel Relay, Negative of the 18650 Li-Ion battery, - of the Battery 18650, and GND of the motor and wheels.
Motor and Wheels
- vcc is connected to NO of the 1-Channel Relay.
- GND is connected to ground of the 1-Channel Relay, Negative of the 18650 Li-Ion battery, - of the Battery 18650, and gnd of the IR sensor.
18650 Li-Ion Battery
- Positive is connected to C of the 1-Channel Relay.
- Negative is connected to ground of the 1-Channel Relay, - of the Battery 18650, GND of the motor and wheels, and gnd of the IR sensor.
Battery 18650
- + is connected to vcc of the IR sensor and power of the 1-Channel Relay.
- - is connected to ground of the 1-Channel Relay, Negative of the 18650 Li-Ion battery, GND of the motor and wheels, and gnd of the IR sensor.
Code
There is no code provided for this circuit.
