Smart DC Motor Control System with Capacitive Sensors and Relays
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This document provides a detailed overview of a circuit that includes various components such as relays, DC motors, toggle switches, capacitive sensors, and a DC buck step-down converter. The circuit is designed to control DC motors using relays and sensors, with power regulation provided by the buck converter. The document includes a component list, wiring details, and code documentation.
Component List
Relay Omron MK2P-N
- Pins: 6, 5, 4, 3, 7, 8, 1, 2
- Description: General-purpose relay used for switching applications.
12V SINGLE CHANNEL RELAY
- Pins: NC, COM, NO, IN, GND, VCC
- Description: Single-channel relay module for controlling high voltage devices.
DC Motor
- Pins: pin 1, pin 2
- Description: Standard DC motor for various applications.
Toggle Switch
- Pins: L1, COM, L2
- Description: Toggle switch for manual control.
Capacitive Sensor
- Pins: GND, VCC, SIGNAL
- Description: Sensor for detecting the presence of objects.
Red Panel Mount 4mm Banana Socket
- Pins: Red_Pin
- Description: Red banana socket for power connections.
Black Panel Mount 4mm Banana Socket
- Pins: Black_Pin
- Description: Black banana socket for ground connections.
XL4015 5A DC Buck Step-down
- Pins: Output +, Output -, Input +, Input -
- Description: DC-DC buck converter for voltage regulation.
Wiring Details
Relay Omron MK2P-N
- Pin 3 is connected to DC Motor pin 1.
- Pin 7 is connected to Capacitive Sensor GND, DC Motor pin 2, DC Motor pin 1, Capacitive Sensor GND, 12V SINGLE CHANNEL RELAY GND, and XL4015 5A DC Buck Step-down Output -.
- Pin 8 is connected to Capacitive Sensor VCC, Relay Omron MK2P-N Pin 1, Capacitive Sensor VCC, 12V SINGLE CHANNEL RELAY NO, 12V SINGLE CHANNEL RELAY VCC, and XL4015 5A DC Buck Step-down Output +.
- Pin 2 is connected to Toggle Switch L2.
12V SINGLE CHANNEL RELAY
- GND is connected to Capacitive Sensor GND, Relay Omron MK2P-N Pin 7, DC Motor pin 2, DC Motor pin 1, Capacitive Sensor GND, and XL4015 5A DC Buck Step-down Output -.
- NO is connected to Capacitive Sensor VCC, Relay Omron MK2P-N Pin 8, Relay Omron MK2P-N Pin 1, Capacitive Sensor VCC, 12V SINGLE CHANNEL RELAY VCC, and XL4015 5A DC Buck Step-down Output +.
- COM is connected to DC Motor pin 2.
- IN is connected to Toggle Switch L1.
DC Motor
- Pin 1 is connected to Relay Omron MK2P-N Pin 3.
- Pin 2 is connected to 12V SINGLE CHANNEL RELAY COM.
- Pin 1 is connected to Capacitive Sensor GND, Relay Omron MK2P-N Pin 7, DC Motor pin 2, Capacitive Sensor GND, 12V SINGLE CHANNEL RELAY GND, and XL4015 5A DC Buck Step-down Output -.
Toggle Switch
- L2 is connected to Relay Omron MK2P-N Pin 2.
- L1 is connected to 12V SINGLE CHANNEL RELAY IN.
- COM is connected to Red Panel Mount 4mm Banana Socket Red_Pin.
Capacitive Sensor
- GND is connected to Relay Omron MK2P-N Pin 7, DC Motor pin 2, DC Motor pin 1, Capacitive Sensor GND, 12V SINGLE CHANNEL RELAY GND, and XL4015 5A DC Buck Step-down Output -.
- VCC is connected to Relay Omron MK2P-N Pin 8, Relay Omron MK2P-N Pin 1, Capacitive Sensor VCC, 12V SINGLE CHANNEL RELAY NO, 12V SINGLE CHANNEL RELAY VCC, and XL4015 5A DC Buck Step-down Output +.
- SIGNAL is connected to Red Panel Mount 4mm Banana Socket Red_Pin.
Red Panel Mount 4mm Banana Socket
- Red_Pin is connected to Toggle Switch COM.
- Red_Pin is connected to Capacitive Sensor SIGNAL.
- Red_Pin is connected to Capacitive Sensor SIGNAL.
- Red_Pin is connected to XL4015 5A DC Buck Step-down Input +.
Black Panel Mount 4mm Banana Socket
- Black_Pin is connected to XL4015 5A DC Buck Step-down Input -.
XL4015 5A DC Buck Step-down
- Output - is connected to Capacitive Sensor GND, Relay Omron MK2P-N Pin 7, DC Motor pin 2, DC Motor pin 1, Capacitive Sensor GND, and 12V SINGLE CHANNEL RELAY GND.
- Output + is connected to Capacitive Sensor VCC, Relay Omron MK2P-N Pin 8, Relay Omron MK2P-N Pin 1, Capacitive Sensor VCC, 12V SINGLE CHANNEL RELAY NO, and 12V SINGLE CHANNEL RELAY VCC.
- Input + is connected to Red Panel Mount 4mm Banana Socket Red_Pin.
- Input - is connected to Black Panel Mount 4mm Banana Socket Black_Pin.
Code Documentation
No code is provided for this circuit.
This document provides a comprehensive overview of the circuit, including a detailed component list and wiring details. The circuit is designed to control DC motors using relays and sensors, with power regulation provided by the buck converter.