Circuit Documentation
Summary of the Circuit
This circuit is designed to control multiple servomotors using a Wemos D1 Mini microcontroller. The Wemos D1 Mini provides control signals to the servomotors, allowing for precise positioning. The servomotors are powered directly from the Wemos D1 Mini's 5V output, and all components share a common ground. The circuit is intended for applications where multiple servos need to be controlled independently, such as in robotics or automated systems.
Component List
Wemos D1 Mini
- Description: A compact microcontroller board based on the ESP8266 WiFi SoC, which is compatible with the Arduino platform.
- Pins: RST, A0, D0, D5, D6, D7, D8, 3V3, 5V, G, D4, D3, D2, D1, RX, TX
- Purpose: Acts as the central controller for the servomotors, providing PWM signals and power distribution.
Servomotor SG90 (4 instances)
- Description: A small and lightweight servo motor suitable for a wide range of applications requiring simple, accurate control of actuation.
- Pins: SIG (Signal), VCC (Voltage Supply), GND (Ground)
- Purpose: Receives PWM signals from the Wemos D1 Mini to set the position of the servo arm.
Wiring Details
Wemos D1 Mini
- D6: Connected to the signal pin of the first Servomotor SG90.
- D7: Connected to the signal pin of the second Servomotor SG90.
- D5: Connected to the signal pin of the third Servomotor SG90.
- D8: Connected to the signal pin of the fourth Servomotor SG90.
- 5V: Connected to the VCC pins of all Servomotor SG90s to provide power.
- G: Connected to the GND pins of all Servomotor SG90s to provide a common ground.
Servomotor SG90 (Instance 1)
- SIG: Connected to D6 on the Wemos D1 Mini.
- VCC: Connected to 5V on the Wemos D1 Mini.
- GND: Connected to G on the Wemos D1 Mini.
Servomotor SG90 (Instance 2)
- SIG: Connected to D7 on the Wemos D1 Mini.
- VCC: Connected to 5V on the Wemos D1 Mini.
- GND: Connected to G on the Wemos D1 Mini.
Servomotor SG90 (Instance 3)
- SIG: Connected to D5 on the Wemos D1 Mini.
- VCC: Connected to 5V on the Wemos D1 Mini.
- GND: Connected to G on the Wemos D1 Mini.
Servomotor SG90 (Instance 4)
- SIG: Connected to D8 on the Wemos D1 Mini.
- VCC: Connected to 5V on the Wemos D1 Mini.
- GND: Connected to G on the Wemos D1 Mini.
Documented Code
No code has been provided for the microcontroller. To fully utilize this circuit, code must be written and uploaded to the Wemos D1 Mini to generate the appropriate PWM signals for controlling the servomotors. The code should initialize the specified GPIO pins as outputs and use a PWM library to send control signals to the servomotors based on the desired positions.
