Arduino-Controlled Servo System with Inductive and Capacitive Sensors
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary of the Circuit
This circuit is designed to interface an Arduino UNO microcontroller with multiple servomotors, an inductive sensor, a capacitive sensor, and a 5V battery. The servomotors are controlled by the Arduino UNO through digital pins, while the sensors are connected to other digital pins for input. The 5V battery provides power to the servomotors and sensors, with common power (VCC) and ground (GND) lines distributed across the components.
Component List
Arduino UNO
- Microcontroller board based on the ATmega328P
- It has 14 digital input/output pins, 6 analog inputs, a 16 MHz quartz crystal, a USB connection, a power jack, an ICSP header, and a reset button.
Inductive Sensor
- A sensor that detects metallic objects without contact.
- It has three pins: black (signal), blue (GND), and red (VCC).
Capacitive Sensor
- A sensor used for detecting the presence or absence of virtually any object regardless of material.
- It has three pins: SIGNAL, GND, and VCC.
Servomotor SG90
- A small and lightweight servo motor capable of precise control.
- It has three pins: SIG (signal), VCC, and GND.
5V Battery
- A power source used to supply 5 volts to the circuit.
- It has two pins: + (positive) and - (negative).
Wiring Details
Arduino UNO
- Digital Pin D11 connected to Servomotor SG90 (Signal)
- Digital Pin D10 connected to Servomotor SG90 (Signal)
- Digital Pin D9 connected to Servomotor SG90 (Signal)
- Digital Pin D6 connected to Servomotor SG90 (Signal)
- Digital Pin D5 connected to Inductive Sensor (Signal)
- Digital Pin D3 connected to Capacitive Sensor (Signal)
Inductive Sensor
- Red pin connected to 5V Battery (+)
- Blue pin connected to 5V Battery (-)
- Black pin connected to Arduino UNO (Digital Pin D5)
Capacitive Sensor
- VCC pin connected to 5V Battery (+)
- GND pin connected to 5V Battery (-)
- SIGNAL pin connected to Arduino UNO (Digital Pin D3)
Servomotor SG90
- VCC pin connected to 5V Battery (+)
- GND pin connected to 5V Battery (-)
- SIG pin connected to Arduino UNO (Digital Pins D11, D10, D9, D6)
5V Battery
- Positive (+) pin connected to VCC pins of Servomotors and Sensors
- Negative (-) pin connected to GND pins of Servomotors and Sensors
Documented Code
Arduino UNO Code (sketch.ino)
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
Additional Notes (documentation.txt)
No additional code documentation provided.