Control LEDs ON/OFF With 433MHz RF Remote and Arduino

by RonFrtek in Circuits > Arduino

1402 Views, 7 Favorites, 0 Comments

Control LEDs ON/OFF With 433MHz RF Remote and Arduino

Control LEDs ON/OFF with 433MHz RF Remote and Arduino

In this simple tutorial we will learn how to turn ON/OFF 4 LEDs with a 433MHz RF Remote and Arduino.

Watch the Video!

What You Will Need

433mhz-rf-module-remote.jpg
FNLOD2CKEY93G5N.jpg
djownload.jpg
led-2023979_640.png
VisuinoAdvrtisementNewDesign1.jpg
FMT2X9VKEY93G5P.jpg
FMMM5N5KEY93G5M.jpg
  • Arduino UNO (or any other Arduino)
  • Jumper wires
  • 4 X LED
  • 4 X 1K ohm Resistor
  • Breadboard
  • 433 MHz RF module
  • Visuino program: Download Visuino

The Circuit

2021-08-06_19-39-15.jpg
2021-08-06_19-40-32.jpg
2021-08-06_19-40-07.jpg
2021-08-06_19-39-51.jpg
LEDDETAILS-1024x802.jpg
  • Connect Remote pin [VCC] to Arduino pin [5V]
  • Connect Remote pin [GND] to Arduino pin [GND]
  • Connect Remote pin [D0] to Arduino digital pin [2]
  • Connect Remote pin [D1] to Arduino digital pin [3]
  • Connect Remote pin [D2] to Arduino digital pin [4]
  • Connect Remote pin [D3] to Arduino digital pin [5]
  • Connect Arduino digital pin [6] to Breadboard 1KOhm resistor1
  • Connect Arduino digital pin [7] to Breadboard 1KOhm resistor2
  • Connect Arduino digital pin [8] to Breadboard 1KOhm resistor3
  • Connect Arduino digital pin [9] to Breadboard 1KOhm resistor4
  • Connect Arduino pin [GND] to Breadboard blue line pins [GND]
  • Connect Breadboard 1KOhm resistor1 pin to LED1 positive pin
  • Connect Breadboard 1KOhm resistor2 pin to LED2 positive pin
  • Connect Breadboard 1KOhm resistor3 pin to LED3 positive pin
  • Connect Breadboard 1KOhm resistor4 pin to LED4 positive pin
  • Connect LED1 negative pin to Breadboard blue line pin [GND]
  • Connect LED2 negative pin to Breadboard blue line pin [GND]
  • Connect LED3 negative pin to Breadboard blue line pin [GND]
  • Connect LED4 negative pin to Breadboard blue line pin [GND]

Start Visuino, and Select the Arduino UNO Board Type

FRWQB80K1RVKKV9.LARGE.jpg
F311FBVK5AHN5HJ.LARGE.jpg

The Visuino: https://www.visuino.eu also needs to be installed. Download Free version or register for a Free Trial.

Start Visuino as shown in the first picture Click on the "Tools" button on the Arduino component (Picture 1) in Visuino When the dialog appears, select "Arduino UNO" as shown on Picture 2

In Visuino Add,Set & Connect Components

2021-08-06_19-51-23.jpg
2021-08-06_19-53-27.jpg
remote-led.png
  • Add 4X "Toggle(T) Flip-Flop" component

This components will act as a switch, whenever it gets a signal to "Clock" pin it will switch from True to False or from False to True

  • Connect Arduino digital Out pin [2] to "TFlipFlop1" pin "Clock"
  • Connect Arduino digital Out pin [3] to "TFlipFlop2" pin "Clock"
  • Connect Arduino digital Out pin [4] to "TFlipFlop3" pin "Clock"
  • Connect Arduino digital Out pin [5] to "TFlipFlop4" pin "Clock"
  • Connect "TFlipFlop1" pin [Out] to Arduino digital pin [6]
  • Connect "TFlipFlop2" pin [Out] to Arduino digital pin [7]
  • Connect "TFlipFlop3" pin [Out] to Arduino digital pin [8]
  • Connect "TFlipFlop4" pin [Out] to Arduino digital pin [9]

Generate, Compile, and Upload the Arduino Code

FOQOHC1KLWB8FIX.jpg

In Visuino, at the bottom click on the "Build" Tab, make sure the correct port is selected, then click on the "Compile/Build and Upload" button.

Play

If you power the Arduino module, and press the button on the Remote the LED will Turn ON or OFF.

Congratulations! You have completed your project with Visuino. Also attached is the Visuino project, that I created for this Tutorial, you can download it and open it in Visuino: https://www.visuino.eu

Downloads