Repurposing an LED RF Remote to control "anything"!
HTML-код
- Опубликовано: 10 фев 2025
- $2 for 10 PCBs with any color: jlcpcb.com/quote
Previous video: • How safe is contactles...
Make your own Modern LED Ceiling Lamp: • Make your own Modern L...
Electronic Basics #32: Relays & Optocouplers: • Electronic Basics #32:...
Solid State Relay || DIY or Buy: • Solid State Relay || D...
Facebook: / greatscottlab
Twitter: / greatscottlab
Support me for more videos: www.patreon.co...
More project information on Instructables: www.instructab...
Parts list (incomplete, see Instructables for more, affiliate links):
Aliexpress:
1x Arduino Nano: s.click.aliexp...
1x SSR: s.click.aliexp...
1x 433MHz receiver: s.click.aliexp...
1x PCB Terminal: s.click.aliexp...
1x 5V Power Supply: s.click.aliexp...
Ebay:
1x Arduino Nano: rover.ebay.com/...
1x SSR: rover.ebay.com/...
1x 433MHz receiver: rover.ebay.com/...
1x PCB Terminal: rover.ebay.com/...
1x 5V Power Supply: rover.ebay.com/...
In this project I will show you how to repurpose an LED RF remote in order to control pretty much anything you want with it. That means we will have a closer look at the transmission process of the RF remote, read in the sent data with an Arduino µC and use it to control a solid state relay. This way I switch on/off LED lamps, but you can use this technique for other appliances.
Websites which were shown during the video:
github.com/sui...
github.com/sui...
Thanks to JLCPCB for sponsoring this video
Visit jlcpcb.com to get professional PCBs for low prices
Music:
2011 Lookalike by Bartlebeats
Just one minor correction for the terminology at 6:40 or so, the data is encoded, not encrypted... minor difference in words, but huge difference in meaning.
^ this
"Encoding is for maintaining data usability and can be reversed by employing the same algorithm that encoded the content.
Encryption is for maintaining data confidentiality and requires the use of a key (kept secret) in order to return to plaintext."
Yeah so true.
to some the encoded signal would be cryptic :P
I came here to say just that :)
Joonas Loppi me too 😁
New drinking game.
Each addition person who suggests an antenna, drink.
Great video.
I didn't see an antenna on your "el cheapo" receiver. I use these all the time and with a coil antenna, they work fine anywhere in the house.
@@rich1051414 Actually, that isn't an antenna, just an inductor. You need to connect an antenna to the ANT via, which can be a 15 cm wire if you don't have a coil antenna.
Thank you so much, for ripping appart one of these rf remotes. I'm also working on a project using them but didn't want to spend the money/ or time to test it out my self... Thank you!
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.
--N2GX
“G3MB-202P”: we pronounce the “minus” as “dash”. Love your videos. Keep them coming.
Searched for this comment, was not disappointed. The hyphen can be called a minus sign, but only in a mathematical context. In chip nomenclature (and general typography?) it's most commonly refered to as a dash.
Technically both are correct, however "dash" is used especially in model numbers, protocols, etc.
Nowedon't
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.
a great idea
I was impressed with the use of the solid state relay with main power. give me hope for a couple of ideas I had. Thanks 👍
Thanks a lot for this videos. I always wanted to demodulate and use my rf remote for some of my project and you helped me out today with this video. All your videos are inspiring and useful to me thanks man keep it up.
Top 10 most iconic sounds in the world:
SSSSSSSSSSSSTAy creative, and I willllll seeeee youuuuuuu nextimeee
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.
GR8T, Scott. You are the "spin" in our electrons. Thank you.
was going to do something like this but with the RF receiver from an automotive remote starter for a car to basically run a preset weekly schedule in the winter to warm the car before setting off to work, based on an ATmega88, RTC module (for schedule keeping), and a few high powered mosfets for controlling the high current wires from the ignition switch.
Thanks for documenting your good thinking here!
Your videos are great, and so is your accent! Respect.
Brilliant! (pun unintended). Definitely one of my favorite videos.
This was AWESOME! Elctronics are so fascinating to me, I wish I had an ability like yours my friend.
Congrats on 1 million subs. Your content is great!
I see, now you are becoming a real technician and master of yourself! Playtime off mode, serious stuff is coming! 😊
Great video always enjoy watching your videos 😀👍👍
I have some motion controlled outdoor LED lights that have a feature where if you flip them off and right back on within about 2 seconds, it turns the lights on continuously and overrides the motion control. If you turn it off for more that 2 seconds, the motion controls are re-enabled. I think I would have tried something like that in your situation. Flip on the switch - both come one. Flip it off shortly and back on and the white leds go out but the colored ones stay on. Up-side - no remote to misplace. Down-side - remote will allow additional controls like picking the color of the leds.
Gerade zwei Fernbedienung vor zwei Wochen gekauft.
Danke für die Lösung.
You are good teacher.
Thank you :-)
I love that you're still using Windows 7!!!
LOL he won't be able to for much longer
@@cyborgsheep6077 I know. It's so sad
Uhm.... You do know, that you forgot to solder an antenna to the cheap 433MHz receiver, don't you?
They don't come with one most of the time so you have to cut a wire to the right length and solder it on yourself, or buy a 433MHz coil antenna from ebay too (they are like 50ct)
This reminded me of my LED remote, which natively worked with a cheep heater without modification.
Thank you pal :-D 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.
You are so inventive with electronics. How long have you been working with electronics?
Such a great idea to reuse the existing remote. I think it would be better to have "On, On" as well as "Off, Off" toggle the output. That way you can switch it on and off without also changing the RGB LED colour.
Congratulations bro for 1M subscription
good video.
btw, you can avoid relay sparks/arcs by connecting a 1uf ceramic capacitor in series with a 10-100 ohm resistor, between relay contacts.
or a 1uf electrolytic capacitor and a schottky in parallel
the solid state triac also has a snubber circuit. No idea why he would skip it for the relay. Still triac one should be more reliable.
The amount of time setting up lights for someone who already has all these electronics skills...don't even want to think how long it would take me since I know very little. I might figure out how to view the signal with an oscilloscope after about a week of messing around. You know, after I order an oscilloscope.
What can be done with any old smartphone lying around or it’s motherboard. (Übrigens bewundere ich Ihr Wissen😊).
Reverse engineer it's display port to be able to connect to digital displays and build Android boxes
Please make ultrasonic microphone jammer..
Thx for ur great explanation
This is such a cool idea
I am definitely going to try something like this on my next project
I think I might use it for lights too
Because I really like radio controlled lights, but they’re so expensive
If the vids were not all sponsored, I’d subscribe with Patreon.
Awesome video!!! I love videos like this!!!
Thanks for this video :)
Well done and very very good. Superrrrr
keep up the good work bud! - not many negative voltage videos on the youtube
Nice video 👍👌 Great Scott
Video uploaded 3 minutes ago, your comment 2 minutes ago, video is 11 minutes long. So where disapered 10 minutes? Watch the whole video before commenting dumbass.
@@jakubfrgal7112 bro i have watched full video from my another account
@@_DarkKnight so you watched 10 min video in 1 minute and THEN commented with second account. Ok... I get it
You are excellent with electricity!
Thank you
@@greatscottlab You are welcome!
I've been playing around with the Nano for some time doing lighting and effects for scale models. Since reading about decoding remotes with an arduino, I've been wanting to try it. I've uploaded the ReceiveDemo_Advanced example to my Nano and made sure it worked by inserting the Serial.println("Hello World!"); into the code. It works, as the serial monitor shows me a continuous stream of "Hello World!" on its screen. Next I purchased a 433Mhz RF Module Receiver and Transmitter Remote Control using the supported EV1527 chipset, hooked up ground, Vcc, and a connection from data pin 0 on the receiver to pin 2 of the Nano. Finally I paired the remote with the receiver and have confirmation by the receiver led blinking every time I press the remote button. Everything looks fine and compatible, yet when I press the remote, I get nothing other than "Hello World! on the serial monitor window. By all accounts I should be getting data from the receiver on pin 2 on the Nano appearing on the serial monitor, but I am not. Not sure what I may be missing. Do you have any suggestions? Thanks
Ludic Science also advertises JLCPCB. He called it GLCPCB for years, until I corrected his English.
I'd love to see a book (in actual paper. preferrably withlaminated white-board-marker-friendly pages) of all your schematics! You could even multi-laminate tiny bendable circuits that has audio where you give short hints/tips/commentary when reader drags their finger over a capacitive portion of the page. YOU CAN DO IT! :D It will be awesome. Like surfing your channel IRL. You can even make actual hyperlinks on the pages which energizes shape-memory strips which forms the corners of eevery page/chapter: so an input or even path of learning/creating lifts corners of pages behind/after that other page reader needs!! Is this a brilliant plan or what? xD
Fantastic ideas - thanks for sharing!
Very good 👍
Thanks Scott
Great project !
then hook it to a raspberry with something like domoticz and homebridge and you've got a perfect system !
A pi running mqtt broker, with Homebridge ( for Siri and Apple app) and gbridge (for google home app and assistant) is my favourite setup 👍
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!.
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
Well done
Interesting project 😀👍
Thanks for sharing👍😀
Hi, nice job. I didn't understand how did u wire up the SSR with switch to control the LED individually. Is it possible to turn ON using switch and turn off using RF remote. Thanks for the video.
You should revisit this project controlling both GU10 spotlights and RGBW led strip with an esp32 and Home Assistant!
Nice vide as always! I was hoping why aren't you using a SSR while watching. It turned out you used it :) Nice!
Fascinating... That’s thinking outside the box, so to speak!
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.
you could use high gain antenna for rf reciever.
I don't trust ssr's either because whenever a bulb fails it can take out the triac which is very common in dimming circuits.
Wow your soldering skills are too good mine is crap 😀
To be honest, this guy's electronics knowledge is amazing, but his soldering skills are mediocre at best. It seems that he has lot more engineering practice than actual bench-work practice. Compared to some of my collagues I'm not considering myself to be good at soldering, but I would argue that even most of my solder-jobs looks better... Maybe simply soldering is not his thing, who knows. After all - everybody has his own thing - I bet that it would took me five times the amount of time to design the circuit than he does, so for everyone his own.
@@zusurs I agree. He is formally trained in power electronics so i think it makes sense for him to have more theoretical knowledge..
@Usama Khan noted ! Thanks
@GreatScott! Please next project do this with a old tv remote and keyboard to control a computer connected to your tv. Have some way to customize keyboard shortcuts for each button on the remote. There are tutorials on how to do this but it’s difficult to follow and there are much easier ways to get this working with new technology.
Nevermind Flirc does this already.
Take the RXB14 receiver for long distances!
rxb6 is better
Really nice project but why do you use microcontroller with so many pins when you need only 2, cant you use attiny85 instead?
Thank you very much. Good explanation.
Wifi controller would be much easier ...... but props to you for taking this projekt to a good end
Imo Wi-Fi for lights is stupid when RF is an option. Sure it's nice to have sometimes so you can use your phone but for switches or door locks that I use it on I find it better to have RF because 1) wifi has some noticable delay if the signal is not perfect and 2) in case of internet outage, stuff stops working.
I was wondering if you could do something on zero voltage switching
That was fun! Thanks.
i was having the same problem with my ceil but could fix this by buying a 3 color led lamb which changes it,s color by turning it on / off and took it,s circuit and connect each stage with relay and hooked each relay with the light source I want . like that I could turn of/off any light or even both for around 10 $ :) hope this solution help
Amazing videos. One question though, you always seem to be able to identify IC's on commercial PCB's but most IC's don't list a part number anymore. How do you ID chips just by the manufacturer's markings?
Nice, a new Video!
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.
Great video, if you don't mind me asking what happened last weekend?
So I am not very keen on electronics and have to ask. Can you turn this into a remote control for a TV? Not many functions needed just on and off. I understand that there are a lot of dependencies on type of tv and remote. Would this be possible at all?
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?
You forgot the antenna on the receiver. A wire of a certain length is sufficient. At a frequency of 433 MHz the wavelength is approximately 70 cm, so an antenna approximately 35 cm long would be the most efficient. A wire with a length of 17.5cm is also possible. (1/2 or 1/4 λ)
Try RF receiver with superheterodyne for longest range
Hi Great Scott,
Great videos, you have become a reference point for me and my friends: “great Scott certified statement”, when discussing electronics.
But I have a question, Ive tried to figure out how these mass produced RF controllers are set up. Do they all (or at least a large quantity) have different codes? 24bit should give us ~16 possible integers, which gives us a large variety of different codes. So it is fully plausible.
What would your gut feeling say?
Thanks!
Great video as always from GreatScott
Do you consider to replace arduino with esp8266 or esp32 and add WiFi control to the lights? Web server on esp or mqtt approach maybe?
Good video. Been wondering how i can controll something with old remotes i have. Thanks!
Really nice! I look in to upgrading our halogen setup(wired). I was impressed with the dimming. Never thougth there were 60€ inwall dimmer. I hope to get low voltage wireing in my home! Still abit unsure about the rf thing: my ungerstanding is that anyone could control my light, if in rf range and some time to sniff the signals
Are you kidding? LED PWM wall-mounted dimmers (even decent quality ones) are dirty cheap these days - you can get some even from amazon for like 15$ and half that cost from Aliexpress/Ebay.
Yeah, that would work. But I think your neighbors are not such bad persons :D
@@zusurs I know, but i don't understand how to control them. ATM we have phase control dimmers, with a dail at the wall. This goes to a transformer at the ceiling. Somtime there are one dimmer and some switches in series.
@@alex0kai I know :P nobody is as bad as i am ;) but can't install something that trusts on obscurity as identification. Same as hand signature as identification.
@@tobiasfellmann7692 then simply use a wlan connection
Thats a good touch to your project, are you finished with it or are you going to keep improving it over time.
Now it is done.
@@greatscottlab hi sir I have one question what if chipset ic on the remote is not the one is listed in the rc switch Library,then how can I decode is there any other Library which can decode that RF module?
Please do a tutorial to control everything by WiFi and module ESP32
I know you have video about it, but i don't understand it so well...
There should be plenty of videos to search. That is quite a popular topic
Agree. I to dont understand to well either but have one sitting around that Id like to use.
@@R3MIXMODZ I was hoping it would become popular but been a year since I bought mine.
R3MIX MODZ I know but no one teaches better that GreatScott
Rickyssound :
github.com/thehookup/ESP32_Ceiling_Light
Also requires a mqtt broker to be setup. And home assistant, or gbridge and or home bridge.. I could post more links to tutorials if you like..
A hyphen “-“, when in the name of something, is said “dash”
:)
RM03 dash C
Geometry -
*_-Geometry Dash-_*
Ha ha ha ha ha 😂😛😛
Technically both are correct, however "dash" is used especially in model numbers, protocols, etc.
First of, great Video!
I wanted to build something similar with an RF remote I got from some cheap lamps, because I liked the design of it. My problem now is that the arduino doesn't show me that he is receiving anything, although the oscilloscope shows me a data pattern. What could be the reason for that?
👌nice video
Can you do a DIY or BUY on a HackRF ? It's open-source and the cost of DIY vs BUY I think is pretty drastic.
I can put it on my to do list
@@greatscottlab Thanks looking forward to it!
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.
i’ve done a similar thing to control my whole room’s electrical devices and it’s been working with a mechanical relays for over 3 years now (: .. so i don’t think the SSR is necessary .. anyway, good job Scot
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)
Really nice job, dude! 😊
Too bad the receiver module you got wasn't that good. 😕
Can You do diy or buy project on garage door remote control? Ty
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?
There are different IR wavelengths so it could be that they are not matched properly (though that might be unlikely). What you could do is modify how fast or slow your IR transmitter sends a 1 or 0 and check it on the receiver to see which speed works best.
extremely interesting!
Can u do a video with caliope and abbozza?
Is it possible by using only one button for one Lamp?
Button 1 pushed one time = Lamp on
Button 1 pushed again = Lamp off
Would be cool, if you can make a video about it...
Will you be also looking at EnOcean 866MHz wireless electric smart home switches? German Eltako have great variety of them (though they are expensive)
Can you do a video on DIY RF amplifier circuit?
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???
I think the remote does both, but yes it did look a bit confusing with the LED on the remote.
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)
Very awesome.
Hy scott i did simular thing to my end thasis but i wirted all the code and was atmel studio Put PID in the light to sense the room how much light is in the room i used 4 sensors (you set a light value and the lamp trys to light the room that value)