Articles, Blog

Repurposing an LED RF Remote to control “anything”!

October 11, 2019

A few weeks ago. I showed you how I built a cuboid cloud LED lamp Which created, let’s just say, mixed feedback from viewers But that is not the point right now Because the lamp is not completely finished yet As you can see when I flip on the lamps power switch It activates the lamps gu10 LED spots as well as the RGB. W led– strips on top The reason for that is that both components are wired up in parallel That kind of sucks though because you can never experience, for example, the mood lighting without having the whole room flooded with lights due to the bottom LEDs The easiest solution would be to use two switches which each individually turn on and off one component group But that is not possible because even though the ceiling offered three wires to work with at the power switch We only got two of them So a simple to switch system is not possible but since we got an RF remote for the RGB W LED strips I will be showing you in this video how it Communicates with its receiver and how we can use it to talk to my controller and thus control all kinds of things including a solid state relay Which could turn on /off d gu10 LED spots and thus solve our initial problem Let’s get started This video is sponsored by JLCPCB where you can get custom PCB’s the easy and economical way So upload your Gerber files and submit your order which includes getting a proper file review before the reproduction process To start off we should have a look inside the RF remotes, but since I didn’t want to destroy it I rather ordered myself another RF LED strip remote with receiver, which also does that job without a problem So I took apart the remotes in order to pull out the main PCB Which is apparently a build around an RM03C IC Only problem was that I found absolutely no information about this IC on the Internet Thankfully though while inspecting the three IC’s of the RF receiver. I noticed this 480R IC which according to its datasheet is an ask/ook RF receiver ASK stands for amplitude shift keying and OOK for on-off keying which are two methods used to send 1 and 0 bits Through an RF signal but right now we do not care that much about this technical principle as Well as the more or less complicated functional diagram of the IC Which in a nutshell picks up the modulated RF signal and turns it into a proper data signal that we can work with for now We only care about the cleaned-up data signal on pin 5 of the IC at which I immediately had a Look at with my oscilloscope as you can see by pushing a button on the RF transmitter Which I obviously had to reassemble beforehand. We get a decent looking data signal at the receivers data outputs and of course by pushing another button we get a slightly different data signal, which is very hard to see on the oscilloscope, but Obvious because the receiver needs a different Identification signal for each button in order to know what it should do By using the continuity function of my multimeter I found out that this data outputs directly connects to microcontroller IC Which will probably read in a data signal and then control the MOSFETs which sit right next to it to adjust the brightness of the LED’s and That is basically how this RF receiver works And yes, it can also receive and demodulate the data signals from the RGBW LED strip RF remotes But I really do not need the microcontroller and MOSFET part of the PCB Thankfully though since I knew that the receiver and transmitter work with a carrier frequency of 433 megahertz I simply searched for another 433 megahertz receiver on eBay and quickly found one After receiving it. I hooked its VCC and ground pin up to 5 volts and its data pin to the oscilloscope and Sure enough after pushing a button on the LED remote. I was greeted with a lovely-looking data signal that we can work with So I connected the data pin to the pin two of an Arduino Nano and started writing codes so that the microcontroller uses its external interrupts to start a timer when the state of the data signal changes while saving the on off times of the received signal but while trying to write this code I realized that a way easier to use Arduino library already exists the RC switch library So after downloading it’s opening up the Receive Demo Advanced sketch Uploading it opening the serial monitor and finally pushing a button on the remotes. I was greeted Not only with the mandatory binary data codes but also with the facts that the signal used the protocol 1 after Doing a bit of digging in the library’s wiki I found out that the protocol is actually an encryption for the sent data with a synchronization part and with the bit 0 Representing one high and three low times and a bit one representing three high and one low time the synchronization parts was easy to spot on the oscilloscope and After decrypting the data signal it was exactly the same 24 bit value as the serial monitor spit out Perfect But of course depending on what kind of IC your RF transmitter and receiver uses this data encryption can be a bit different But the data sheet should always give you more information on that Now my secret codes for turning off/on the gu10 LED spots will be pressing yellow and pink one after the other so I got the decimal codes of those buttons from the serial monitor by using the simple receive demo sketch and Created a simple piece of code around them which reverses the current state of the digital pin 5 of the Arduino Whenever this button combination was pushed after uploading the new codes I hooked up an LED to pin 5 for testing and checked whether everything works how I wanted it to Which it did but of course in order to control mains voltage We would need something like a relay about which you can learn the basics in one of my previous videos Anyway, after building up a small demonstration circuit with this generic relay board, it worked just like I thought it would But honestly speaking I do not put a lot of trust in those relays because I often experienced that after a few weeks of usage Their changeover contacts got locked in one position due to sparking So a relay could easily fail which is why I tore down my demonstration circuit and instead got myself a solid-state relay board this G3MBA-202P SSR Probably consists of a Triac with a sprinkle of complementary components for safety reasons Which means it does not use mechanical components for switching but instead does it electrically? But of course if you want more information about solid state relays Then I would once again recommend checking out one of my previous videos Anyway after hooking up the Arduino as well as the gu10 LED spot Replacements to the SSR it was time for testing which as you can see turned out successful At this point I expected to build a small additional circuit for the solid state relay since I wanted to turn on when the Arduino outputs a low voltage signal but apparently the board the relay came with already featured such a circuit and thus when the Arduino fails The lights will still be turned on So next I soldered out all of the required Components onto an additional piece of perf. board and to one another with solder bridges and bridge wire according to my small finalized schematic as Soon as the circuit was complete I grabbed myself a 5 volt power supply with more than enough output current capabilities and Wired it up to power the circuit After then turning on the power, it seems like everything works and I can turn off on the lights with the RF remotes But later, I realized that the receive range of the circuit was quite horrible So as an afterthought I was pretty much forced to remove its data signal to the Arduino and Replace it with the data outputs of the previous receiver circuit, which I had to hook up to 5 volt power as well This way the range of the transmitter and receiver system was drastically improved So it was finally time to run unscrew and lift up the lamps’ top MDF piece hook up the circuit’s power supply to mains voltage along with the LED power supply and at the solid state relay in series to the gu10 LED spots After closing everything up we cut a rectangle hole into the MDF boards for easier possible troubleshooting later on And got the lamp back in position And as you can see, it still works perfectly fine but now I can turn off the gu10 LED spots whenever I want I Hope you enjoyed this small project and maybe got inspired by it to control something on your own with an existing RF remote As always don’t forget to Like, share, subscribe Stay creative and I will see you next time!


  • Reply Machine 27 March 17, 2019 at 9:22 pm

    Congrats on 1 million subs.  Your content is great!

  • Reply lemurmad March 17, 2019 at 9:59 pm

    Don’t know if this happens a lot but my remote same as that the Colors are flipped, red is blue green is green and blue is red. Any ideas? Worked fine for first week, also it flipped again before with green and blue

  • Reply MaxSantos March 17, 2019 at 10:28 pm

    Huhh, a blue wire (not neutral) on a mains switch? That is strange, should it not be brown?

  • Reply MC's Creations March 17, 2019 at 10:35 pm

    Really nice job, dude! 😊
    Too bad the receiver module you got wasn't that good. 😕

  • Reply realhet2 March 17, 2019 at 10:35 pm

    Don't be scared of those relays! I'm using those since 3 years in the kitchen slash living room slash bathroom without any problems. SSR ditto.

  • Reply Kruno Mayer March 17, 2019 at 11:19 pm

    Hi 🙂 can you make a tutorial about Rotating Turntable for Product Videography/Photography.. based on arduino and stepper motor.. DIY or Buy Episode !

  • Reply zapro_dk March 17, 2019 at 11:26 pm

    Minus C? No, it's "dash-C" …

  • Reply Fifury161 March 17, 2019 at 11:28 pm

    Fantastic ideas – thanks for sharing!

  • Reply famitory March 17, 2019 at 11:34 pm

    or you could just put another switch into the wall…

  • Reply giliant March 17, 2019 at 11:34 pm

    New drinking game.
    Each addition person who suggests an antenna, drink.
    Great video.

  • Reply Leeroy March 17, 2019 at 11:41 pm

    I'd use BT here.

  • Reply qwaqwa1960 March 17, 2019 at 11:41 pm

    BTW, "have", not "got"…

  • Reply qwaqwa1960 March 17, 2019 at 11:46 pm

    "Dash", not "minus".

  • Reply JAMES! Since the 70's March 17, 2019 at 11:52 pm

    Awesome video!!! I love videos like this!!!

  • Reply Omar Lutfey March 18, 2019 at 12:25 am

    I made an IR project with the same issue where it worked but the range was much less than the original remote. Can you make a video explaining this and how to correct the problem?

  • Reply Verdi Rodrigues-Diamond March 18, 2019 at 1:04 am

    It would be extra cool if you built a module that took in binary commands from the light switch (turning the switch on and off in a particular pattern) to selectively turn on the main light, RGBW LEDs, or both.

  • Reply WoLpH March 18, 2019 at 1:12 am

    I think you meant decoding instead of decrypting. There is no encryption here 🙂

  • Reply WoLpH March 18, 2019 at 1:16 am

    In case you're interested in working with these types of RF remotes and receivers, I recommend the RFXCOM device. It's a bit expensive but well worth it. The support is absolutely amazing, I once had a few devices that didn't work, after shipping them he had them shipped back to me and added support for them within a week.

  • Reply Cyborg sheep March 18, 2019 at 3:51 am

    Great video, if you don't mind me asking what happened last weekend?

  • Reply Xavior Pautin March 18, 2019 at 3:55 am

    What program do you use for your schematics for projects like this?

  • Reply y2ksw1 March 18, 2019 at 4:07 am

    I see, now you are becoming a real technician and master of yourself! Playtime off mode, serious stuff is coming! 😊

  • Reply Halimah Nur March 18, 2019 at 4:21 am

    Please make tutorial for music reactive led strip

  • Reply Elektronik Atölyem March 18, 2019 at 4:26 am

    Very good 👍

  • Reply Jens Jensen March 18, 2019 at 4:28 am

    The reason the range sucks most likely beside antenna is using ultra cheap regenerative receiver instead of more sensitive super heterodyne receiver.

  • Reply Dilnuwan Amaraweera March 18, 2019 at 4:40 am


  • Reply All-rounder Ansh March 18, 2019 at 5:01 am

    Can you build a Fan controller that automatically switch the fan on at a set time and adjust it's speed according to setting and after a time it will change it's speed to another set speed and again for another time it will change speed and at set time it will automatically switch the fan off!😊

  • Reply iWin Rar March 18, 2019 at 5:25 am

    One day ima watch a video and it wont be sponsored by jlcpcb… I'd be scared even more if it was sponsored by gearbest.

  • Reply Blood mark March 18, 2019 at 6:11 am

    Next: A universal remote controller to all vibration sticks!

  • Reply LeanOn _ March 18, 2019 at 7:11 am

    0:18 it's actually off position you've attached it reverse on wall

  • Reply Asger Vestbjerg March 18, 2019 at 7:20 am

    Well done
    Interesting project 😀👍
    Thanks for sharing👍😀

  • Reply TecSanento March 18, 2019 at 10:12 am

    My 433 Megaherz Receiver needed an additional Antenna to work properly

  • Reply Rainbow Asteroids March 18, 2019 at 10:26 am

    lmao how does it feel that windows 7 is losing support soon

  • Reply Anton Kovalenko March 18, 2019 at 11:03 am

    Will you be also looking at EnOcean 866MHz wireless electric smart home switches? German Eltako have great variety of them (though they are expensive)

  • Reply Wayne The Seine March 18, 2019 at 11:38 am

    Crazy smart!

  • Reply Jude Estardo March 18, 2019 at 12:13 pm

    Thank you very much. Good explanation.

  • Reply Maletil March 18, 2019 at 1:01 pm

    Good video! But, is there any reason you're using rigid wires? Recycling? If not, I don't think they are a good option. (Also the antenna and the encryption)

  • Reply Nodirbek Choriev March 18, 2019 at 1:31 pm

    you could use high gain antenna for rf reciever.

  • Reply Jacob Harrison March 18, 2019 at 1:36 pm

    I was wondering if you could do something on zero voltage switching

  • Reply soheil ghasemi March 18, 2019 at 1:48 pm

    pleas in the next video display and meak a digital lab power supply

  • Reply Tim L March 18, 2019 at 2:41 pm

    What kind of pen do you use to draw?

  • Reply Tinkering with Stuff March 18, 2019 at 2:43 pm

    Nice vide as always! I was hoping why aren't you using a SSR while watching. It turned out you used it 🙂 Nice!

  • Reply SamT March 18, 2019 at 2:44 pm

    Good tut. It's fun

  • Reply BME Electronics March 18, 2019 at 2:46 pm

    “G3MB-202P”: we pronounce the “minus” as “dash”. Love your videos. Keep them coming.

  • Reply Juraj Konečný March 18, 2019 at 4:32 pm

    my friend used this remote to control his can shreder (it was cool when people were starring at it and it suddenly turned on oh those times :D)

  • Reply Gaz Vlogs March 18, 2019 at 4:37 pm

    I know you took apart the other remote off camera, you don't learn by living in fear!

  • Reply Mark Giblin March 18, 2019 at 4:49 pm

    How about making an update to it.

    Use the mode to turn on and off but use the same method with the next button along and turn it in to a mode where the colour buttons match a specific GU10 lamp and turn it on and off as desired to mower lighting to a few lights.

  • Reply Jaakko Lehto March 18, 2019 at 5:05 pm

    make internet radio with raspberry pi an windows 10 iot

  • Reply John Smith March 18, 2019 at 5:43 pm

    Those modules you have for the 433MHz RF ASK modulation receiver are very common and dirt cheap on ebay/aliexpress … but they Need an antenna if you want to have some range … A small helical antenna would be enough. The antenna can be made by twisting a thin wire on a screw and get eh helical shape we need.

  • Reply ANYGATE Channel March 18, 2019 at 6:26 pm

    In German: Kannst du bitte mal ein video auf deutsch machen mit englischen Untertitel für die anderen? Danke!

  • Reply strssko March 18, 2019 at 6:53 pm

    Just use normal Finder relays like….. or 40.52.7…..

  • Reply Kaido March 18, 2019 at 7:05 pm

    You are using wrong screwdrivers for electric work. 😀

  • Reply // REDACT3D March 18, 2019 at 7:14 pm

    keep up the good work bud! – not many negative voltage videos on the youtube

  • Reply Paul Hill March 18, 2019 at 7:57 pm

    I bought some cheap RF mains power plugs from LIDL which I can control using an Arduino and a 433Mhz RF module. Range is good. I plan to use this to power on/off my 3D printer using a Raspberry PI (already using a PI for OctoPrint).
    I hope they are 3.3v compatible!.

  • Reply Pedro Oliveira March 18, 2019 at 11:55 pm

    Hello GreatScott,

    I suggest you make a video on how to better understand a datasheet. Some technical terms like "thermal resistance" and other technical terms that can sometimes be misinterpreted.

  • Reply Techno Automation March 19, 2019 at 3:20 am

    Hi Scott, my question may be dumb or I didn't get properly from you video @ 4:53.
    How IR remote & RF receiver exchange signals???

  • Reply Nikolai Nashutinskiy March 19, 2019 at 5:33 am

    Great practical project! But don't yellow and pink buttons turn LEDs to yellow and pink at the same time with turning the lamps on?

  • Reply Rex Juggler March 19, 2019 at 9:36 am

    Very awesome.

  • Reply Ro v March 19, 2019 at 10:36 am

    Please make ultrasonic microphone jammer..

    Thx for ur great explanation

  • Reply keyur panchal March 19, 2019 at 1:18 pm

    Hi, Scott! How are you. You can make the circuit for measure real time capacity of any battery?

  • Reply sanjay gobari March 19, 2019 at 4:19 pm

    pic16f676 program with arduino please help

  • Reply Alexander Sam March 19, 2019 at 6:50 pm

    What can be done with any old smartphone lying around or it’s motherboard. (Übrigens bewundere ich Ihr Wissen😊).

  • Reply formtapez March 19, 2019 at 6:54 pm

    you can crank up the oscilloscopes "trigger-holdoff" value to easily synchronize that demodulated RF-waveform on the pauses between the packets

  • Reply Debashish Sahu March 19, 2019 at 7:08 pm

    That is the worst receiver you can have like you witnessed in your video. If you need for any distance in your RF receiver you will need: "433MHz superheterodyne receiver"

  • Reply ChestField March 19, 2019 at 7:15 pm

    Can u do a video with caliope and abbozza?

  • Reply 1 000 000 subcribers without a video challenge March 19, 2019 at 7:54 pm

    Hey!Make please 2.1 amp i dont know how to so i need and you never make befor how to make 2.1 you only make 2.0 and if u create it, please make 2x5W+10W 8Ohm please!

  • Reply AlaparaisSss FuNs March 20, 2019 at 1:27 am

    Congratulations bro for 1M subscription

  • Reply Game Vault March 20, 2019 at 7:45 am

    Can you make a Software Controlled RGB controller from arduino.

  • Reply Harindu Manadul March 20, 2019 at 8:05 am


  • Reply Martin Lukášek March 20, 2019 at 2:20 pm

    Try RF receiver with superheterodyne for longest range

  • Reply Marvin Wilhelm March 20, 2019 at 8:44 pm

    Do you know the channel aatiks lab. I would say that he kind of copys you.. (similar Intro, same Musik, same writing style…)

  • Reply Xeno Bardock March 21, 2019 at 1:23 am

    Can you do a video on DIY RF amplifier circuit?

  • Reply Atharva Phadke March 21, 2019 at 7:57 am

    Great as always.I will also use it to control my home lights.Anyways thanks for improving my knowledge about this subject. Thanks a lot.

  • Reply air putih March 21, 2019 at 11:29 am

    Next project is making diy powerwall with lion battery like 18650

  • Reply CooperDuper3000 March 21, 2019 at 3:43 pm

    All of that is explained rather confusing this time, but if it works for you it's ok i guess.

  • Reply Hefty614 March 21, 2019 at 5:07 pm

    Why not trying to RGH a Xbox 360?

  • Reply Goblin 01 March 21, 2019 at 7:37 pm

    Hey GreatScott, did you try to build a transformerless 220-240VAC to 5VDC converter before? Using a transformer is making my creation too heavy. And, I do not really trust the Web when working with the mains. And no, I am not looking for a switching mode power supply.

  • Reply iemand met een naam March 21, 2019 at 9:03 pm

    could you make a power bank with the use of li-ion polymer batteries?

  • Reply jjdpg March 21, 2019 at 11:37 pm

    How do you change to te color that you took for the lights

  • Reply Flint Lockwood March 22, 2019 at 12:35 pm

    Can you please make a hdmi on off switch please?

  • Reply listepikster March 22, 2019 at 12:40 pm

    Why would you go to all that trouble with hacking a reciever? an arduino can do this just fine by itself with just an infrared recieving diode. Edit aah it seems it is RF and not IR, then it makes more sense 🙂

  • Reply Nikhil Gadhari March 22, 2019 at 5:21 pm

    How to build 4-20mA simulator

  • Reply Adesh Kumar March 22, 2019 at 9:29 pm

    Hey just wanted to suggest u to make a video on the series and parallel connection of atx power supply from pc. For higher voltage and higher amperage respectively.. It is my utmost request to please make one.

  • Reply Louay Mo March 23, 2019 at 1:31 pm

    inspiring, thanks

  • Reply CEzik Maj March 23, 2019 at 5:51 pm

    Top 10 most iconic sounds in the world:
    SSSSSSSSSSSSTAy creative, and I willllll seeeee youuuuuuu nextimeee

  • Reply BashemGamingTV March 24, 2019 at 3:14 am

    @GreatScott! Can you do a tutorial on how a transistor works please? I really want to learn but I can’t find any tutorials that explain it well.

  • Reply Akhil Jose March 24, 2019 at 7:48 am

    hey can you make an Arduino display letters on a VGA monitor using a GameDuino

  • Reply u.c.m. Rich March 25, 2019 at 12:46 am

    Thank you pal 😀 I feel your pain on having to use something you didn't want to use after a while in the end. That happen to me now and again too.

  • Reply Kill_Ä_IH TV March 26, 2019 at 11:53 am


  • Reply Nevell Greenough March 26, 2019 at 9:20 pm

    After attaching a proper antenna as others have said, it also will help to tune the receiver by adjusting the brass slug in the small coil for best range. Most of the ones I've bought have been significantly off-frequency (typically 3-5MHz high). Also watch out for mis-assembled ones. They've screwed up the biasing of the first transistor, saturating it hard. Good receivers can achieve about -100dBm detection sensitivity or better. Bad ones barely make -80dBm. Nice video.

  • Reply The Leader March 27, 2019 at 7:01 am

    simple solution, have the rgb always powered (to switch it off use the remote) and the GU10 LEDs connected to the switch that way you can have the rgb without the downlighting or both on.

  • Reply Ben Terry April 2, 2019 at 9:54 am

    Your videos are great, and so is your accent! Respect.

  • Reply norm1124 April 8, 2019 at 2:46 pm

    Gerade zwei Fernbedienung vor zwei Wochen gekauft.

    Danke für die Lösung.

  • Reply VirusWar April 23, 2019 at 4:38 pm

    Protocol 1? Link with Pilot

  • Reply Aaryan Jadhav May 13, 2019 at 6:20 pm


  • Reply Praveen Kumar May 26, 2019 at 11:41 am

    WTH is going on Here 😲


  • Reply Hossam Ebrahim June 2, 2019 at 2:18 pm

    You have a 3 method to extend the 433 receiver first make 17 cm antenna one fourth of the wave length second use more powerful Arduino like uno connect with 12 volt the Arduino will convert it to 5 volt and connect the receiver with 5 volt from Arduino … Or you can adjust the screw on the receiver …this will give you the maximum ringe for the future projects

  • Reply kathy Martin June 6, 2019 at 9:58 am

    im sore your brain is 10 times the mass of your body :}

  • Reply WALLE1 Doctor1WHO June 23, 2019 at 1:04 am

    This reminded me of my LED remote, which natively worked with a cheep heater without modification.

  • Reply Pekka July 22, 2019 at 3:23 am

    Do I have to build this too? Like I dont have enough projects already, lol

  • Reply Nick's Stuff August 12, 2019 at 11:50 am

    Aren't your failing relays switching DC?

  • Leave a Reply