RC Receiver and Brushless Motor Control System with Battery-Powered Servo Motors
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This document provides a detailed overview of a circuit involving an RC receiver, a LiPo battery, a brushless motor, an electronic speed controller (ESC), and several servo motors. The circuit is designed to control the brushless motor and servo motors using signals from the RC receiver. The LiPo battery powers the entire system.
Component List
RC Receiver 6 Channels
- Description: Receives control signals from an RC transmitter.
- Pins: CH1, VCC, GND, CH2, CH3, CH4, CH5, CH6, Bind
LiPo Battery
- Description: Provides power to the circuit.
- Pins: VCC, GND
Brushless Motor
- Description: High-efficiency motor used for propulsion.
- Pins: L1, L2, L3
Electronic Speed Controller (ESC)
- Description: Controls the speed of the brushless motor.
- Pins: Battery VCC, Battery GND, Signal, 5V out, GND out, M1, M2, M3
Servo Motor 9G
- Description: Small servo motor used for precise control of angular position.
- Pins: VCC 5V, PMW, GND
Wiring Details
RC Receiver 6 Channels
CH1:
- Connected to PMW of Servo Motor 9G
- Connected to PMW of another Servo Motor 9G
VCC:
- Connected to VCC 5V of multiple Servo Motors 9G
- Connected to 5V out of ESC
GND:
- Connected to GND of multiple Servo Motors 9G
- Connected to GND out of ESC
CH2:
- Connected to PMW of Servo Motor 9G
CH3:
- Connected to Signal of ESC
CH4:
- Connected to PMW of Servo Motor 9G
CH5:
- Connected to PMW of Servo Motor 9G
LiPo Battery
VCC:
- Connected to Battery VCC of ESC
GND:
- Connected to Battery GND of ESC
Brushless Motor
L1:
- Connected to M1 of ESC
L2:
- Connected to M2 of ESC
L3:
- Connected to M3 of ESC
Electronic Speed Controller (ESC)
Battery VCC:
- Connected to VCC of LiPo Battery
Battery GND:
- Connected to GND of LiPo Battery
Signal:
- Connected to CH3 of RC Receiver
5V out:
- Connected to VCC of RC Receiver
GND out:
- Connected to GND of RC Receiver
M1:
- Connected to L1 of Brushless Motor
M2:
- Connected to L2 of Brushless Motor
M3:
- Connected to L3 of Brushless Motor
Servo Motor 9G
VCC 5V:
- Connected to VCC of RC Receiver
PMW:
- Connected to various CH pins of RC Receiver
GND:
- Connected to GND of RC Receiver
Documented Code
RC Receiver 6 Channels
void setup() {
// put your setup code here, to run once:
[
[{"componentName":"RC Reciever 6 channels","pinLabel":"GND"},{"componentName":"Servo Motor 9G","pinLabel":"GND"},{"componentName":"Servo Motor 9G","pinLabel":"GND"},{"componentName":"Lipo Battery","pinLabel":"GND"},{"componentName":"Servo Motor 9G","pinLabel":"GND"},{"componentName":"Servo Motor 9G","pinLabel":"GND"},{"componentName":"Electronic Speed Controller(ESC)","pinLabel":"Battery GND"},{"componentName":"Electronic Speed Controller(ESC)","pinLabel":"GND out"},{"componentName":"Servo Motor 9G","pinLabel":"GND"}],
[{"componentName":"Lipo Battery","pinLabel":"VCC"},{"componentName":"Electronic Speed Controller(ESC)","pinLabel":"Battery VCC"}],
[{"componentName":"RC Reciever 6 channels","pinLabel":"CH1"},{"componentName":"Electronic Speed Controller(ESC)","pinLabel":"Signal"}],
[{"componentName":"Brushless Motor","pinLabel":"L1"},{"componentName":"Electronic Speed Controller(ESC)","pinLabel":"M1"}],
[{"componentName":"Brushless Motor","pinLabel":"L2"},{"componentName":"Electronic Speed Controller(ESC)","pinLabel":"M2"}],
[{"componentName":"Brushless Motor","pinLabel":"L3"},{"componentName":"Electronic Speed Controller(ESC)","pinLabel":"M3"}],
[{"componentName":"Servo Motor 9G","pinLabel":"VCC 5V"},{"componentName":"Servo Motor 9G","pinLabel":"VCC 5V"},{"componentName":"Servo Motor 9G","pinLabel":"VCC 5V"},{"componentName":"Servo Motor 9G","pinLabel":"VCC 5V"},{"componentName":"Electronic Speed Controller(ESC)","pinLabel":"5v out"},{"componentName":"Servo Motor 9G","pinLabel":"VCC 5V"}],
[{"componentName":"RC Reciever 6 channels","pinLabel":"CH2"},{"componentName":"Servo Motor 9G","pinLabel":"PMW"}],
[{"componentName":"RC Reciever 6 channels","pinLabel":"CH3"},{"componentName":"Servo Motor 9G","pinLabel":"PMW"}],
[{"componentName":"RC Reciever 6 channels","pinLabel":"CH4"},{"componentName":"Servo Motor 9G","pinLabel":"PMW"}],
// New connection for Y-split
[{"componentName":"RC Reciever 6 channels","pinLabel":"CH5"},{"componentName":"Servo Motor 9G","pinLabel":"PMW"},{"componentName":"Servo Motor 9G","pinLabel":"PMW"}]
]
}
void loop() {
// put your main code here, to run repeatedly:
}
Servo Motor 9G
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
Electronic Speed Controller (ESC)
void setup() {
// put your setup code here, to run once:
[
// Existing connections
[{"componentName":"RC Reciever 6 channels","pinLabel":"GND"},{"componentName":"Servo Motor 9G","pinLabel":"GND"},{"componentName":"Servo Motor 9G","pinLabel":"GND"},{"componentName":"Lipo Battery","pinLabel":"GND"},{"componentName":"Servo Motor 9G","pinLabel":"GND"},{"componentName":"Servo Motor 9G","pinLabel":"GND"},{"componentName":"Electronic Speed Controller(ESC)","pinLabel":"Battery GND"},{"componentName":"Electronic Speed Controller(ESC)","pinLabel":"GND out"},{"componentName":"Servo Motor 9G","pinLabel":"GND"}],
[{"componentName":"Lipo Battery","pinLabel":"VCC"},{"componentName":"Electronic Speed Controller(ESC)","pinLabel":"Battery VCC"}],
[{"componentName":"RC Reciever 6 channels","pinLabel":"CH1"},{"componentName":"Electronic Speed Controller(ESC)","pinLabel":"Signal"}],
[{"componentName":"Brushless Motor","pinLabel":"L1"},{"componentName":"Electronic Speed Controller(ESC)","pinLabel":"M1"}],
[{"componentName":"Brushless Motor","pinLabel":"L2"},{"componentName":"Electronic Speed Controller(ESC)","pinLabel":"M2"}],
[{"componentName":"Brushless Motor","pinLabel":"L3"},{"componentName":"Electronic Speed Controller(ESC)","pinLabel":"M3"}],
[{"componentName":"Servo Motor 9G","pinLabel":"VCC 5V"},{"componentName":"Servo Motor 9G","pinLabel":"VCC 5V"},{"componentName":"Servo Motor 9G","pinLabel":"VCC 5V"},{"componentName":"Servo Motor 9G","pinLabel":"VCC 5V"},{"componentName":"Electronic Speed Controller(ESC)","pinLabel":"5v out"},{"componentName":"Servo Motor 9G","pinLabel":"VCC 5V"}],
[{"componentName":"RC Reciever 6 channels","pinLabel":"CH2"},{"componentName":"Servo Motor 9G","pinLabel":"PMW"}],
[{"componentName":"RC Reciever 6 channels","pinLabel":"CH3"},{"componentName":"Servo Motor 9G","pinLabel":"PMW"}],
[{"componentName":"RC Reciever 6 channels","pinLabel":"CH4"},{"componentName":"Servo Motor 9G","pinLabel":"PMW"}],
// New Y-splitter connection
[{"componentName":"RC Rec