Arduino UNO Controlled Relay with FLYSKY Receiver for Remote Switching
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary of the Circuit
This circuit is designed to interface an Arduino UNO with a 12V single-channel relay, a DC male barrel jack power connector, a FLYSKY FS-IA6 receiver, a rocker switch (SPST), and an inductor. The Arduino UNO is used as the central control unit, capable of receiving input from the FLYSKY receiver and controlling the relay. The relay allows for controlling high-power devices, and the rocker switch acts as a power on/off mechanism. The inductor is likely used for filtering purposes in the power supply section. The circuit is powered by a 12V battery.
Component List
Arduino UNO
- Microcontroller board based on the ATmega328P
- Pins: UNUSED, IOREF, Reset, 3.3V, 5V, GND, Vin, A0-A5, SCL, SDA, AREF, D13-D0
12V Single Channel Relay
- Electromechanical switch with one normally closed (NC), one normally open (NO), and one common (COM) terminal
- Pins: NC, COM, NO, IN, GND, VCC
DC Male Barrel Jack Power Connector with Wire
- Connector for providing power through a barrel jack
- Pins: GND, VCC
FLYSKY FS-IA6
- 6-channel receiver for radio control applications
- Pins: CH1-CH6, 5V, GND, VCC
Rocker Switch (SPST)
- Single Pole Single Throw (SPST) switch
- Pins: 1, 2
Inductor
- Passive component used to resist changes in current
- Pins: pin 0, pin 1
- Properties: Inductance - 1 µH (microhenrys)
Battery 12V
- Power source for the circuit
- Pins: +, -
Wiring Details
Arduino UNO
- 5V connected to 5V of FLYSKY FS-IA6 and VCC of 12V Single Channel Relay
- GND connected to GND of 12V Single Channel Relay and GND of FLYSKY FS-IA6
- D8 connected to IN of 12V Single Channel Relay
- D7 connected to CH5 of FLYSKY FS-IA6
12V Single Channel Relay
- VCC connected to 5V of Arduino UNO
- GND connected to GND of Arduino UNO
- IN connected to D8 of Arduino UNO
- COM connected to GND of DC Male Barrel Jack Power Connector
- NO connected to pin 0 of Inductor
DC Male Barrel Jack Power Connector
- GND connected to - of Battery 12V and COM of 12V Single Channel Relay
- VCC connected to pin 1 of Rocker Switch (SPST)
FLYSKY FS-IA6
- 5V connected to 5V of Arduino UNO
- GND connected to GND of Arduino UNO
- CH5 connected to D7 of Arduino UNO
Rocker Switch (SPST)
- Pin 1 connected to VCC of DC Male Barrel Jack Power Connector
- Pin 2 connected to + of Battery 12V and pin 1 of Inductor
Inductor
- Pin 0 connected to NO of 12V Single Channel Relay
- Pin 1 connected to + of Battery 12V and pin 2 of Rocker Switch (SPST)
Battery 12V
-
- connected to pin 1 of Inductor and pin 2 of Rocker Switch (SPST)
-
- connected to GND of DC Male Barrel Jack Power Connector
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 was provided.