Circuit Documentation
Summary
This circuit involves an ESP8266 NodeMCU microcontroller, two servo motors, two IR sensors, and a power supply. The ESP8266 NodeMCU controls the servo motors and reads data from the IR sensors. The power supply provides the necessary voltage to the components.
Component List
ESP8266 NodeMCU
- Description: A low-cost Wi-Fi microcontroller with GPIO, PWM, ADC, and more.
- Pins: D0, D1, D2, D3, D4, 3V3, GND, D5, D6, D7, D8, RX, TX, A0, RSV, SD3, SD2, SD1, CMD, SD0, CLK, EN, RST, VIN
Servo Motor (1)
- Description: A motor that can be controlled to rotate to a specific angle.
- Pins: GND, VCC, PWM
Servo Motor (2)
- Description: A motor that can be controlled to rotate to a specific angle.
- Pins: GND, VCC, PWM
IR Sensor (1)
- Description: An infrared sensor used to detect objects.
- Pins: out, gnd, vcc
IR Sensor (2)
- Description: An infrared sensor used to detect objects.
- Pins: out, gnd, vcc
Power Supply
- Description: Provides the necessary voltage to the components.
- Pins: +, -, GND
Wiring Details
ESP8266 NodeMCU
- GND is connected to the GND pin of the Power Supply.
- D0 is connected to the PWM pin of Servo Motor (1).
- D1 is connected to the PWM pin of Servo Motor (2).
- D2 is connected to the out pin of IR Sensor (1).
- D3 is connected to the out pin of IR Sensor (2).
Servo Motor (1)
- GND is connected to the GND pin of the Power Supply.
- VCC is connected to the + pin of the Power Supply.
- PWM is connected to the D0 pin of the ESP8266 NodeMCU.
Servo Motor (2)
- GND is connected to the GND pin of the Power Supply.
- VCC is connected to the + pin of the Power Supply.
- PWM is connected to the D1 pin of the ESP8266 NodeMCU.
IR Sensor (1)
- gnd is connected to the GND pin of the Power Supply.
- vcc is connected to the + pin of the Power Supply.
- out is connected to the D2 pin of the ESP8266 NodeMCU.
IR Sensor (2)
- gnd is connected to the GND pin of the Power Supply.
- vcc is connected to the + pin of the Power Supply.
- out is connected to the D3 pin of the ESP8266 NodeMCU.
Power Supply
- + is connected to the VCC pins of both Servo Motors and both IR Sensors.
- - is connected to the GND pins of both Servo Motors, both IR Sensors, and the ESP8266 NodeMCU.
Code
No code is provided for this circuit.
