Arduino-Controlled Relay with FlySky Receiver for Remote Switching
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This circuit integrates an Arduino UNO microcontroller with a 1 Channel 5V Relay Module, a FLYSKY FS-IA6 receiver, a 12v Battery, a DC Male Barrel Jack Power Connector, and an Inductor. The Arduino UNO is used as the central processing unit, interfacing with the relay module to control power flow and receiving input from the FLYSKY FS-IA6 receiver. The 12v Battery provides power to the circuit, which is regulated for the components requiring 5V through the Arduino UNO. The relay module allows for switching higher power loads, and the inductor is likely used for filtering or energy storage in the context of the relay switching.
Component List
Arduino UNO
- Microcontroller board based on the ATmega328P
- Pins: UNUSED, IOREF, Reset, 3.3V, 5V, GND, Vin, A0-A5, SCL, SDA, AREF, D0-D13
1 Channel 5V Relay Module
- A module that allows a low-power signal to switch a higher power circuit
- Pins: VCC+, VCC- (GND), IN, N.O., COM, N.C.
12v Battery
- A power source for the circuit
- Pins: +, -
FLYSKY FS-IA6
- A 6-channel receiver for remote control applications
- Pins: CH1-CH6, 5V, GND, VCC
DC Male Barrel Jack Power Connector with Wire
- A connector to supply power from an external source
- Pins: GND, VCC
Inductor
- A passive two-terminal electrical component that stores energy in a magnetic field
- Pins: pin 0, pin 1
- Properties: Inductance - 1µH (Henrys)
Wiring Details
Arduino UNO
- 5V to Relay Module VCC+ and FLYSKY FS-IA6 5V
- GND to Relay Module VCC- (GND) and FLYSKY FS-IA6 GND
- D8 to Relay Module IN
- D7 to FLYSKY FS-IA6 CH5
1 Channel 5V Relay Module
- VCC+ connected to Arduino UNO 5V
- VCC- (GND) connected to Arduino UNO GND
- IN connected to Arduino UNO D8
- N.O. connected to Inductor pin 1
- COM connected to 12v Battery + and DC Male Barrel Jack Power Connector VCC
12v Battery
-
- connected to Relay Module COM and DC Male Barrel Jack Power Connector VCC
-
- connected to DC Male Barrel Jack Power Connector GND and Inductor pin 0
FLYSKY FS-IA6
- 5V connected to Arduino UNO 5V
- GND connected to Arduino UNO GND
- CH5 connected to Arduino UNO D7
DC Male Barrel Jack Power Connector with Wire
- VCC connected to 12v Battery + and Relay Module COM
- GND connected to 12v Battery - and Inductor pin 0
Inductor
- pin 0 connected to 12v Battery - and DC Male Barrel Jack Power Connector GND
- pin 1 connected to Relay Module N.O.
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:
}
Note: The provided code for the Arduino UNO is a template with empty setup and loop functions. This code needs to be populated with the logic required for the circuit's intended operation.