RC Radio Controlled Switch with Relay

  • Rajkumar Sharma
  • 374 Views
  • medium
  • Tested
  • SKU: EL136338
  • Quote Now

This RC Relay project enables control of large current devices using a Radio Control (RC) System. This RC switch converts hobby radio control (RC) pulses to control the on/off state of the Relay. On board LED indicates the output. The board is Arduino compatible and the example code can be modified as per user requirements.  The relay ON/OFF threshold can be set as per user requirements. The Arduino sample code enables momentary ON/OFF control of the relay, but this can be modified for Latch output. The relay can handle a load up to 7A – 30V DC or 7 Amps 230AC Loads such as bulbs, LEDs, motors, fans, heaters etc. The project can be connected to an unused RC channel. It operates with 5V DC and draws 60mA current when the relay is ON. 3 Pin male header helps the user to connect the RC receiver. The project is Arduino compatible and can be programmed using Arduino IDE with the help of an onboard programming connector. The project consists of an Atmega328 microcontroller, programming/bootloader connector, relay, BC847 BJT transistor to drive the relay, freewheel diode for protection from the relay, and U2 PC817 provides isolation between the microcontroller and relay. D1 LED indicates output, D3 LED power LED. connector CN2 relay switch connection, connector CN1 5V supply input.

Note: This board will work with any standard RC remote. In this project, we tested it with HOTRC DS-600 6CH 2.4GHz Radio System. Standard RC radio outputs is 50Hz – 1mS(1000uS) to 2mS(2000uS)

Arduino Programming

Arduino Code is available as a download below. The user will be able to operate the Relay while the RC radio joystick is pulled down and the pulse width is between 1460 – 1090uS. The user may change this value in the code. Connector CN3 is provided to burn the bootloader and upload the Arduino code. Please refer to the connection diagram for programming.

More info about new Atmega328 chip programming: https://docs.arduino.cc/built-in-examples/arduino-isp/ArduinoToBreadboard

Arduino Code Credits: “Tech Home” YouTube Channel

Features

  • Supply 5V DC
  • Current 60mA when Relay is On
  • RC Signal 1000 to 2000 uS
  • Relay Switch Activate Threshold Time 1460 – 1090uS
  • Relay Output-Load 230V AC Up to 7Amps, 30V DC up to 7Amps
  • On Board Power LED
  • On Board Output LED
  • Header Connector for RC Receiver Interface
  • 4 x 2.5mm Mounting Holes
  • PCB Dimensions 66.68 x 22.23mm

Connections and Other Details

  • CN1: Pin 1 = VCC, Pin 2 = GND
  • CN2: Relay Switch/Output Pin 1 = Normally Closed, Pin 2 = Common, Pin 3 = Normally Open
  • CN3: Programming Connector Pin 1= TX, Pin 2 = RX, Pin 3 = Reset, Pin 4 = GND, Pin 5 = VCC, Pin 6 = D11, Pin 7 = D12, Pin 8 = D13
  • CN4: RC Receiver Pin 1 = RC Pulse Input, Pin 2 = VCC, Pin 3 = GND
  • D1: Relay Output LED
  • D3: Power LED

Schematic

Parts List

NOQNTYREF.DESCMANUFACTURERSUPPLIERSUPPLIER'S PART
11CN12 PIN MALE HEADER PITCH 2.54MMWURTHDIGIKEY732-5315-ND
21CN23 PIN SCREW TERMINAL PITCH 5.08MMPHOENIXDIGIKEY277-1248-ND
31CN38 PIN MALE HEADER PITCH 2.54MMWURTHDIGIKEY732-5321-ND
41CN43 PIN MALE HEADER PITCH 2.54MMWURTHDIGIKEY732-5315-ND
52C1,C310uF/16V CERAMIC SMD SIZE 0805YAGEO/MURATADIGIKEY
62C2,C40.1uF/50V CERAMIC SMD SIZE 0805YAGEO/MURATADIGIKEY
71C5DNP
82C6,C722PF/50V CERAMIC SMD SIZE 0805YAGEO/MURATADIGIKEY
92D1,D3LED RED-GREEN SMD SIZE 0805OSRAMDIGIKEY475-1278-1-ND
101D21N4007 SMD DIODEDIODE INCORP.DIGIKEYS1MBDITR-ND
111Q1BC847AL SMD SOT223NEXPERIADIGIKEY1727-2924-2-ND
121RL1Relay 5VCIT RELAYDIGIKEY2449-J107F1CS125VDC.36-ND
132R1,R61K 5% SMD SIZE 0805YAGEO/MURATADIGIKEY
141R210K 5% SMD SIZE 0805YAGEO/MURATADIGIKEY
152R3,R52K2 5% SMD SIZE 0805YAGEO/MURATADIGIKEY
161R4470E 5% SMD SIZE 0805YAGEO/MURATADIGIKEY
171R71M 5% SMD SIZE 0805YAGEO/MURATADIGIKEY
181R84.7E 5% SMD SIZE 0805YAGEO/MURATADIGIKEY
191U1ATMEGA328TQPF-32MICROCHIPDIGIKEYATMEGA328PB-AURCT-ND
201U2PC817 DIP4AMERICAN BRIGHTDIGIKEYBPC-817(BBIN)-ND
211X116MhzECS INCDIGIKEYX1103-ND

Connections

Gerber View

Photos

3

 

Video

PC817 Datasheet

Please follow and like us:
Pin Share

PCB

Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments

RELATED PROJECTS

TOP PCB Companies