Тёмный

DIY Smart Switch - Part 1 how to use a relay 

byte sized engineering
Подписаться 107 тыс.
Просмотров 642 тыс.
50% 1

In this video series I'm going to show you how to get started in home automation with a simple project that will allow you to control your lights and other devices in your house.
One popular home automation project that many people start with is controlling their lights. There is a great satisfaction that comes from being able to control a light using your own electronics and code. However a major roadblock for many people is the realization that they have to work with mains voltage which can be dangerous if you don't know what your doing. In reality learning how to safely work with the high voltage an high current electricity in your house is not as difficult as you may think. If you aren't comfortable with how the electricity in your house works, I encourage you to spend a few minutes researching the topic on the internet. Make sure you are getting your information from reputable sources. In a future video I'll show you how to control lights and appliances in your house without having to mess with high voltage electricity. It's a pretty neat little trick and I'm excited to share it with you.
There are several ways you could tackle the problem of controlling a light in your house. The first, and definitely most popular approach to this problem is using a relay to switch the voltage on and off. The lights in your house are connected to a mechanical switch on the wall that you have to toggle on/off with your hand. A relay does the same thing as the switch on the wall, except that instead of toggling the switch on/off with your hand, you can do it with low voltage and low current electricity. You can buy relays from places like Amazon, eBay, Adafruit, or sparkfun. If you don't mind waiting a few weeks, eBay is by far the cheapest place to get them. I recommend getting one that's soldered to a breakout board. You can get them with single relays, or some come with 2, 4 and even 8 channels of relays. I'm going to use this board with 2 relays, even though I'm only going to be using one of the channels.

Опубликовано:

 

2 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 432   
@bytesizedengineering
@bytesizedengineering 2 года назад
Huge thanks to my *channel members* who make these videos possible. If you want to support what I do and get access to free project files, an awesome discord community, and much more, head over to *www.patreon.com/bytesizedengineering* or click the *join* button here on RU-vid.
@felixyoghurt3291
@felixyoghurt3291 Год назад
Just one issue, as seen at @4:35 those black wire leads have too much insulation removed, either not in far enough or need trimming so that bare copper is not exposed.
@TheReviewologists
@TheReviewologists 6 лет назад
I saw about 5 videos on RU-vid about relays and understood nothing! But, this video helped me understand relays completely! It's so easy for me now! Thanks for all the info!
@sparshdhiman72
@sparshdhiman72 4 года назад
The Reviewologists should have watched greatscott’s video
@dan2thi
@dan2thi 4 года назад
Exactly!
@gametabulas
@gametabulas 3 года назад
Watch this then : ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-uniaiJmSch0.html
@vigi86
@vigi86 6 лет назад
So humble... "I'm not claiming to be an expert in this topic [...] but I did work as an electritian and I do have a degree in electrical engineering". Dude, you're a PRO... lol
@xspeed7434
@xspeed7434 5 лет назад
Victor Fernandez did
@miniwarrior7
@miniwarrior7 5 лет назад
He's not very professional for being a pro he has stripped way too much wire going into the relay leaving high voltage exposed ...
@justadude336
@justadude336 5 лет назад
Being a electrical engineer and a electrician are different fields. Smart people though
@Extra_Mental
@Extra_Mental 6 лет назад
You shouldnt have so much of the bare copper sitting out of the relay, if they only slightly touch all current will flow through the small surface area making it heat up and most likely cause a fire, and the circuit breaker will not trip to prevent it
@AllanKobelansky
@AllanKobelansky 6 лет назад
“wire nuts” -> marrettes. Also the live wire and the neutral were really close together attached to the relay. Use heat-shrink tubing as a best practice.
@MEANASSJAMSTER
@MEANASSJAMSTER 3 года назад
ME? - I JUST USE GUM!!! :P
@psammons
@psammons 3 года назад
maybe do it properly with wire bootlaces. The way you have shown is just not safe.
@AllanKobelansky
@AllanKobelansky 3 года назад
It’s 2 years later. Your video was well done. And you could have complicated matters by following my advice. But keeping it simple was the right direction.
@rohansapkal3317
@rohansapkal3317 6 лет назад
Good explanation, easy to understand. Thanks
@colorpanda8409
@colorpanda8409 6 лет назад
Great video! How do you make the 5-volt source in your box?
@Poolboy28560
@Poolboy28560 6 лет назад
Everyone on RU-vid talked about "the signal". I kept thinking it was 5V+, which of course didn't work at all. THANK YOU for the minor detail about it being COMMON or GROUND! NOW MY CIRCUIT WORKS!!!! Thanks again. Now subscribed and I will be back.
@micha-42
@micha-42 6 лет назад
Great video, cheers mate! Also, 10amps seems *plenty* for a fridge :-)
@jimbrownza
@jimbrownza 5 лет назад
My 6' tall Bosch fridge is 90W, which at the 220V we have here, and with P=VI, is half an amp.
@everyhandletaken
@everyhandletaken 4 года назад
Yup. Mind you, I can’t see why you would want to turn off the fridge with a switch, sensor, wifi etc 🤔
@colt4667
@colt4667 Год назад
"I am an engineer. To save time let's just assume I am never wrong." I knew a Civil Engineer who insisted that 220 volts was the same as three phase. He absolutely INSISTED that he was right because he had a CE degree. Sometimes I wondered if he really did have a degree or if he lied about it.
@bytesizedengineering
@bytesizedengineering Год назад
Engineers are wrong all the time! Myself included!
@donyoung954
@donyoung954 5 лет назад
Thanks for the video. Good stuff. One minor suggestion; ditch the music or turn it down. It is really distracting and got pretty annoying pretty quick.
@bytesizedengineering
@bytesizedengineering 5 лет назад
Thanks for the feedback! I'm still learning how to make/edit these videos.
@martinanderson1860
@martinanderson1860 2 года назад
Hi Zach, how can I get one of those ‘I’m an engineer’ T-shirt’s like your wearing? I’m always saying that exact phrase to my wife, a T-shirt like yours would say it even better!
@bytesizedengineering
@bytesizedengineering 2 года назад
I'm not sure. My sister got it for me when I graduated from school
@boomwithpeter623
@boomwithpeter623 4 года назад
So i ordered the one with 4 relays, connected it to my centralised electric space heater, one is for a water pump and other 3 are for heaters, every heater is 8 KW, i was not sure how powerful these relays out so i used theme to activate and deactiate existing 40KW relays inside the heater, i used the rpi4 1gb bc it has a poe gigabit port, slapped in a 16GB U10 card, i brought the poe enabled gigabit cat6 cable to the heater, tempreture dial was already connected to the main home server, installed Pihole on that pi to and just ordered the case with a fan from aliexpress, i made a quick app (i am a java developer) and voila now i dont need to go down to the basement to turn on or of the heater, although on all of the pcs i have made a small java gui for that, i am planing to make my whole house smart using raspberry pis
@georgedennison3338
@georgedennison3338 5 лет назад
I have a power supply for the DC motor on my Sherline miniature lathe with a relay like this. I overloaded the motor the other day turning some difficult material, and it shut down the power supply. It happened a couple more times, before I could get finished with the piece, and now the motor doesn't run. I could hear a relay click when this happened, and thought it was a circuit breaker in the power supply. Now, I have it open, and can't find a circuit breaker. I do find a Songle SRD-05vdc-SL-C relay. It is obviously not clicking, as it should. I've read about relays with overload protection, but it doesn't appear this is such a relay. Could it still have functioned as an overload? And could it have died in my 'adventures'? Thanks, for any help. I know enough to get me in over my head, but not enough to dig myself out. GeoD
@ChiDraconis
@ChiDraconis 4 года назад
Typical safety factor should be 3:1 or 5:1 so a relay rated at 10 amps should only pull 2 amps
@tinkmarshino
@tinkmarshino 5 лет назад
your leaving a lot of copper showing there slick.. Dangerous! you scare me my friend.. if you all follow his example do not let the extra copper show like he did.. cut your wire the length it needs to be to fit into the relay with no copper showing.. It is the safer way.. the electricians way..
@YoungGrizzly
@YoungGrizzly 6 лет назад
If you want to control the power of higher voltage equipment like servers and even lights I like using an Intelligent APC (7800 or 7900) PDU over a network with fence_apc installed on a Linux device. That's for anyone who might actually have a need for that. That way you can use your GPIO pins for things like sensors, etc, etc.
@calvinbarajas5144
@calvinbarajas5144 5 лет назад
Awesome video Zach, thanks very much. I need to power a simple electromagnet with 12v and would like to use one of the GPIO pins on my Raspberry Pi to control the relay. Can I use one of the Pi's 3.3v GPIO pins? Also, do I need a diode to protect the microcontroller from voltage backfeed/backpower created by the collapsing magnetic field (when I turn it off)?
@bytesizedengineering
@bytesizedengineering 5 лет назад
Calvin, you are right on track! You absolutely can use the pi for something like this. The relay module you see in this video has back emf voltage protection built in. It has a diode (like you mentioned) as well as an opto-coupler. There are a million tutorials online (adafruit, sparkfun, etc) on this topic. A quick google search should provide what you need. Good luck!
@NghiaNguyen-ek3cm
@NghiaNguyen-ek3cm 5 лет назад
"I don't claim to be an expert, but the only people better at this stuff than I am have PhDs...."
@gr8bkset-524
@gr8bkset-524 6 лет назад
Why not just avoid cutting the ground and neutral wires in the first place?
@cerhewer67
@cerhewer67 6 лет назад
Hmm good point.
@therealb888
@therealb888 5 лет назад
lol ikr
@CreamyShroom
@CreamyShroom 5 лет назад
The idea would be to connect something more than just a simple light with a simple switch. Like connect the relay to a blue tooth controller and you can control the light from your phone. You can build this for extremely cheap, or buy one for a lot more. You can modify this exact setup to control basically anything from pumps to LEDs. He is just showing how to do it. Not that this specific setup is useful at all.
@lostspace5811
@lostspace5811 5 лет назад
So.. Black is live there?
@drummaguyhixy
@drummaguyhixy 5 лет назад
looking at how he's wired this particular project, my thoughts would be that splitting the outer insulation off and not cutting the Neutral and Ground would save fatigue on the 2 wires in question because the bend would cause a weak point. safer to avoid that fatigue this way. the amount of exposed copper on the live wires in the relay terminals did make me cringe though
@videoaccount5676
@videoaccount5676 6 лет назад
Triacs are another solution to home automation and controlling AC loads
@sparshdhiman72
@sparshdhiman72 4 года назад
There’s SSR too!
@Berghiker
@Berghiker 3 года назад
How do I modify a 12V 433MHz wireless remote control switch relay receiver and transmitter? Someone in the area (neighbor) is using the same frequency.
@bytesizedengineering
@bytesizedengineering 3 года назад
I'm not sure I can help. Sorry.
@sayedur
@sayedur 6 лет назад
Good video, thanks. However, the background music is kinda annoying, particularly when you ask us to hear that relay "click" sound ... Not that I did not hear that, but it is still annoying to be distracted by some ding-dong-dings over someone talking to me.
@whoisme678
@whoisme678 6 лет назад
The music bugs me. It's like having the TV switched on while talking to a visitor...ding-dong-dings dong dong ding...jeeesh. "PLEASE...turn off the frickin ding-dongs.!!!1
@FixitFrank
@FixitFrank 2 года назад
Why are you connecting ground and neutral together? They should just be passed through. You are eliminating the safety ability of the wiring.
@Kimchi_Studios
@Kimchi_Studios 5 лет назад
This was a great job. Don't mind the nitpickers. I'm not an engineer but we both know other engineers can't help but bitch and complain...haha
@bytesizedengineering
@bytesizedengineering 5 лет назад
Thanks Kimchi Sammich! (Now I'm just hungry)
@miguelfloriano9039
@miguelfloriano9039 4 года назад
Im confuse how do you control it then ? Do you have to keep turning it on manually?
@dotgrid
@dotgrid Год назад
Using the jumper cable on the breadboard. You connect the small cable when illumination is required. Note: If you have children I would recommend they ask an adult to make the connection(s) when needed (you may also provide a battery-powered torch nearby - affix torch to the lamp base using #18 twine,or similar).
@alvinlum123
@alvinlum123 3 года назад
Hi Zach, there is an issue that is worth exploring. It is cool to have a relay but if you have other people using the appliance can we have 2 switching options? This mean a person can either switch it on using the normal unmodified way and also an option to use a relay that is triggered by electronics. Otherwise it will be annoying to people who is standing next to the appliance who could just flip a normal switch but you will tell them to do some other routine 🤦🏻‍♂️
@numerouno2532
@numerouno2532 Год назад
Yes you could easily do this by having a manual switch in parallel with a relay, however the manual switch would act as a relay override switch, the relay would not function again until the manual override switch had been turned off. A solution could be to use impulse/rocker switch connected to a latching relay
@leytonjay
@leytonjay 4 года назад
Your t-shirt annoys me greatly because the small text is centre aligned and the large is left aligned. As a designer I'm actually twitching. But none the less great video, thank you.
@stevenleber1485
@stevenleber1485 4 года назад
So, when I come home all I have to do is plug a wire into a hole on a bread board and my light will come on. Hmmm. I think I'll stick with the wall switch.
@masonkrause4319
@masonkrause4319 3 месяца назад
Or, use the raspberry pi and a motion sensor to automatically turn on the light when you walk in, and turn the light off after some period of no motion. Projects can be as arbitrary and useless as you want, but a little creativity and it can be as practical as you want.
@alfredotello1334
@alfredotello1334 Год назад
I have a question I would like to ask you..I certainly hope you will respond. Every one talk about relays and 12 volt or 5 volts DC current , but no one talks about AC current. ...Question: i have an eletric front door lock in my house..it is actually a patio metal door to the street. The intercom connected to it is about 40 meters away upstairs on the 3rd floor apt. I purchased a cheap kit. one phone one front door bell...It comes with the transfomer inside the phone unit. 110 AC to 12 volts AC, The 12 volt AC output has to travel the 40 meter span to the lock. It drops tension...and the lock fails to open..is erratic, sometimes it work and others dont...By the way the cable used is CAT5. i found out there are 2 ways of correcting this issue; 1) is to replace the cable with a twin pair gauge 16 for the lock ..and keep using cat5 for the bell communicator. 2) is to add a relay and another transformer near the door..Here is the tricky part.. the relays on the input part operate at 5 and 12 volts DC and can output 10A 125 volts AC..CORRECT ?? I need to basically design a circuit that would behave the way i want it.. So how you i go about doing this...Should I use one of those modules with a rectifier bridge so i can convert ac to Dc on the input side...and have the 12 volts AC on the out put side ??....Your ideas will be greatly appreciated..Thanks in advance....
@jeranrai645
@jeranrai645 4 года назад
hi sir, normally the refrigerator draws 6A amps to 9A so will it be safe to use this relay if the device draws maximum of 9A given that relay has a rating of 10A.
@bytesizedengineering
@bytesizedengineering 4 года назад
That's pushing it too close. They make relays rated for much higher current.
@fullpushmetals6711
@fullpushmetals6711 4 года назад
This will not work in todays smart breaker homes... gfci.. ground and neutral kick em as soon as they touch. Keep Pushin!
@mikelunsford7462
@mikelunsford7462 2 года назад
I have 1 of the 5dcv to 110 relays. I'm trying to create a Poe using Bluetooth. I was hoping that my signal lead would come from my BT signal as my connection is made to the BT Device?? Your saying ground is signal. So do you know a a way to make the relay activate from a BT receiver board?
@thesad9214
@thesad9214 4 года назад
f you can please solve this problem. i have a toy. at the time of starting o or opening it flash light 3 time. now, my ask is. how to get that 3 or 4 or 5 time flash? i want to make a thing where i need that system.
@akanobody5622
@akanobody5622 4 года назад
THX, just working with a 2 realy module and I was doing something wrong, you told me what :D
@waswestkan
@waswestkan 3 года назад
While impossible to predict,how someone will hear instructions, but at least one though you neat to connect the ends safety ground, and together when slicing that extention cord. When you meant to reconnect green to green, and reconnect white, white. I suggest eliminating the background music. Respectfully adds no value your production, and could interfere with your talk through. The only time I could hear the relay with you con controllin the tesk lamp. This would have been good place to inform your veiwers that low voltage conductors should be separated from the high voltage conductors, in a real world installation. BTW; this video found it's way to Facebook after someone link to it in a technical forum. I will subscribe, and keep an eye out for your follow up vids in your series.
@nilsfrahm1323
@nilsfrahm1323 4 года назад
This is very dangerous, you basically didn't take your own advice from beginning of video. Small board connected to mains, no gloves, using both hands on the control wires, main wires connected loosely with plastic, which may get free at any time and cause a short or touch you hand, black wires exposed next to relay, may touch metal on board, it's like a disaster waiting to happen. At least wear some gloves and use only one hand when connecting the control wire, assume everything is compromised and at 220V until proven otherwise. Relay on board could be bd or get bad and internally conduct current between input and output.
@KageShi
@KageShi 4 года назад
Dude you stripped Way to damn much off of that mains voltage wires.. No Reason should you be able to see let alone touch bare 110/220vAC.....
@KompletterGeist
@KompletterGeist 3 месяца назад
When handling your signal wire like shown @6:40 make sure you are isolated and have no connection to ground. Otherwise you will close the circuit by just touching the exposed part of the signal wire and potentially hurt yourself. I recommend to use a button on the breadboard to test your relay and not do what is shown in this video!
@mindyabiznarc
@mindyabiznarc 4 года назад
Home Depot Lowes & Amazon sells iot outlets that connect to Alexa and Bixby and Siri why would you risk your life when you can buy a pre-manufactured switch that will communicate with your whole house?
@zigavojska1672
@zigavojska1672 3 месяца назад
I didnt understand this video very good, so what kind of relay do you need to use for a wired magnetic window switch, to turn off and on the air conditioner when window opens or closes. AC 3000w. Thank you, best regards
@omairbinenam6337
@omairbinenam6337 4 года назад
I think that the extension cord shouldn't have been cut in half. the black wire only, this would have save you time to reconnect the other two at later point.
@user-zt2wc3uh1l
@user-zt2wc3uh1l 3 года назад
Replaces switch with a wire you plug in or take out to turn a light on or off... This seems totally unremarkable. Am I missing something?
@numerouno2532
@numerouno2532 Год назад
I know only an idiot like me could interpret it in this way, but in the hope this comment helps someone. At 03:02 he says connect the ground and neutral wires together - and I know if you watch closely he shown ground to ground and neutral to neutral in the video but just for clarity he means ground to ground and neutral to neutral - not as could potentially be interpreted as connecting ground and neutral together!
@therealb888
@therealb888 5 лет назад
Worst wiring, made me puke. There's a reason why an electrician doesn't do an electrical engineer's job & an electrical engineer shouldn't do an electrician's job!
@msindisimtengwane9456
@msindisimtengwane9456 5 лет назад
Awesome video man. Thank you so much. Taking your time to explain to this level of detail is highly appreciated.
@bytesizedengineering
@bytesizedengineering 5 лет назад
Thank you! And Thank you for taking the time to comment!
@tnamen1307
@tnamen1307 5 лет назад
@@bytesizedengineering Can I control load of max 15 amps under 12 volt DC as along as it maintains the same output power rating?? Example Say, 20 Amp, under 12 v dc, power 240 watt as against the rated 10 Amp X 24 v of same 240 watt, or 15 amp, 12 volt....!!??? I'm really confused with these power and current. Awaiting clear concept. Thanks.
@brechtdhuyvetters
@brechtdhuyvetters 7 лет назад
Good video, very informative!
@bytesizedengineering
@bytesizedengineering 7 лет назад
Brecht Dhuyvetters thanks! I appreciate your feedback!
@tobotdolce9556
@tobotdolce9556 5 лет назад
sir i have my high power relay 30A 250VAC/30VDC how many watts my relay can hold? thank you sir
@bytesizedengineering
@bytesizedengineering 5 лет назад
Read the datasheet of your relay.
@shortcircuit48
@shortcircuit48 2 года назад
Your mains power switch wires to the realy are dreadful, there should be no copper showing. If you trained as an electrician then you did not learn the basic
@tnamen1307
@tnamen1307 5 лет назад
Can I control load of max 15 amps under 12 volt DC as along as it maintains the same output power rating?? Example Say, 20 Amp, under 12 v dc, power 240 watt as against the rated 10 Amp X 24 v of same 240 watt, or 15 amp, 12 volt....!!??? I'm really confused with these power and current. Awaiting clear concept. Thanks.
@bytesizedengineering
@bytesizedengineering 5 лет назад
I would read the datasheet of the relay you have. If you don't have the datasheet find something similar on Digi-Key and read through the datasheet.
@shreyasmathuria732
@shreyasmathuria732 5 лет назад
Bro tell me one thing when wall switch is already given to turn on & off, why did you use relay to do this job & extra work?
@jorellevelasco7500
@jorellevelasco7500 5 лет назад
This is just the foundation. Part 2 of this video will show other control possibilities ie motion sensor. Cheers.
@FluorescentApe
@FluorescentApe 3 года назад
Just to remind you, HIGH voltage is voltages above 999 volts. LOW voltage is 999 and below. Here in Sweden we also have something called "Klenspänning" which is a specific voltage below 50 volts which is suitable for toys because it's safer.
@bytesizedengineering
@bytesizedengineering 3 года назад
Nice. For me high voltage is anything I'm afraid of touching for fear of getting zapped!
@FluorescentApe
@FluorescentApe 3 года назад
@@bytesizedengineering hahah good answer! It's a correct way to treat electricity
@AntoniaWarren
@AntoniaWarren 6 лет назад
A really good video here. Very clear and easy to understand.
@bytesizedengineering
@bytesizedengineering 6 лет назад
Thanks +Antonia Warren
@QuintenMellish
@QuintenMellish 5 лет назад
Hey can anyone answer this for me? He mentions that by using a relay we can control high voltage circuits with a low voltage, yet he continues to run his relay directly from a wall socket with no use of resistors.. can someone explain?
@bytesizedengineering
@bytesizedengineering 5 лет назад
That's a great question! I'm not "running" the relay from the wall outlet. I can connect the relay to a control circuit (microcontroller like the Arduino) which is run off 5V DC. That control circuit can open and close the switch inside the relay. If you connect a mains voltage appliance to the relay you can control whether or not the appliance gets power from the wall outlet. The wall outlet is completely independent from the relay and control circuit. I hope that clears things up a little
@rndmcnflct
@rndmcnflct 4 года назад
The iron is ready, Five inches away, so helpful, No, wire nuts for dummy.
@bjpastoor
@bjpastoor 4 года назад
Whats more worrying than the bare wires at the relay, is that the relay unit is laying bare on his desk, if he accidentally picks up the relay and touches the pins underneath, he’s gonna have a bad time.
@bytesizedengineering
@bytesizedengineering 4 года назад
I use lots of caution when working with power grid electricity. I suggest everyone else do the same
@leanderpereira5257
@leanderpereira5257 3 года назад
I have a two channel relay and i am using it with the arudino board for my project when i give a low signal the relay starts and when i give a high signal the realy turns off why is that so need help
@KvarkLt
@KvarkLt 2 года назад
How schematic will be look like if I still want control light by switch and relay?
@RyanThompsonrthomp
@RyanThompsonrthomp 6 лет назад
God I love the outdoor scenes haha. Thanks for making an awesome video
@bytesizedengineering
@bytesizedengineering 6 лет назад
Yeah, I get tired of filming indoors. I think it's more interesting to watch a video shot in different places. Thanks for watching!
@gagank9199
@gagank9199 3 года назад
Sir can u help me to complete my fun home project please the topic is very relevant to your understandings and expertise
@evilmode100
@evilmode100 2 года назад
since you have a 2 switch releay was safer to use both at L and N your never sure if the l is connected to the l on the board and the n at the n. safety always first. :)
@wiredelectrosphere
@wiredelectrosphere 5 лет назад
Also if the thing that you've connected to a relay is connected to the plug, you shall never touch the relay, aspecially the bottom of it. I lifted my relay to plug one more pin and got myslef electrocuted. Now i have 2 burn marks on my finger like i was hit with a very powerful taser gun and it hurts badly. Don't be an idiot like me and be extra cautious when working with AC
@bytesizedengineering
@bytesizedengineering 5 лет назад
Yes, very good point. Don't touch the solder joints on the bottom of the board when they're carrying AC!
@WVelasco9977
@WVelasco9977 5 лет назад
Thank you! I’ve just found your Chanel and I’m ready to learn more from you.
@snackameck
@snackameck 3 года назад
How you work with the black Elektrik cord is very dangerous.
@PresentedByBailey
@PresentedByBailey 4 года назад
i have an electronic device that has a 56 volt battery with max of 20 amps. I am trying to add a second battery to the equation so that I can switch between battery 1 and battery 2. i would like the switch to be as small as possible. it could be manual or Bluetooth. any suggestions?
@bytesizedengineering
@bytesizedengineering 4 года назад
no suggestions, sorry
@DavidRitko
@DavidRitko 4 года назад
but what if someone uses the switch on the lamp? isn't the relay useless then?
@lostspace5811
@lostspace5811 5 лет назад
Hey can you help me. I want to make a tv that turns off when people come over to look at it.. Do i use normally closed? Will.it.open when coms? I want it so people in a gallery see a screen with a video feed and come over but a motion sensor turns it off when they are near. Thanks if you can put me on the right tracking without using arduino
@bytesizedengineering
@bytesizedengineering 5 лет назад
That sounds like a cool project! I see that you found my other video showing the PIR motion sensor. I would start with something like that and connect it to the normally closed terminal. Good luck!
@shinchiwarrior
@shinchiwarrior 6 лет назад
great vid.. easy to understand
@heyderaliyev8976
@heyderaliyev8976 3 года назад
what if I apply 10vdc instead of 5vdc to this relay ...???
@eddiet3026
@eddiet3026 3 года назад
I want to control several 12v lighting circuits and I'm looking at multi channel relay boards. They all have only one power input. Does that put all my devices on one power supply, because you could get up to 10 amps pretty quickly!
@galacticsurvivorvainamoine5823
@galacticsurvivorvainamoine5823 3 года назад
Thank you so much. There are a ton of videos, when you search for pi relay, that cover the "connecting it to the pi and writing code to control it" angle, but this (after tons of searching) is the first one that actually covered the other side of things.
@stevenmo1180
@stevenmo1180 5 лет назад
Hello, I have seen the instructions and was a bit shocked. Are there no sleeves for the cables? that's literally screaming for short circuit and fire. Please, if you already give instructions, please do it professionally and safely. if that replicates one who does not know the dangers, so plays with his life.
@matthewwildrick9643
@matthewwildrick9643 6 лет назад
Could you add the relay directly to the lamp (cut the lamp cord and add that to your relay)?
@Roblazed
@Roblazed 6 лет назад
Yes you can, just replace the live wire on the extension cord with the live wire on the lamp cord. This was designed to save you from ruining the cord though. That and you could potentially put a snazzy box around it.
@ldt_
@ldt_ 3 года назад
Why is it every video shows powering the arduino using USB? What about powering the arduino with the 120v input??!! Where is a relay that can be controlled without two different power sources??
@alanrobbo6980
@alanrobbo6980 Год назад
interesting, where is Part 2 ?
@stspringer2003
@stspringer2003 2 года назад
While connecting the neutral of a smart switch to ground might work, never do this! The reason it will work is that ground is often connected to neutral in the electrical panel, meaning it will be at a very similar voltage allowing current to flow from hot to ground.
@geofox9484
@geofox9484 5 лет назад
Thank you so much! You’re a great teacher wish I could have you for ever question
@bytesizedengineering
@bytesizedengineering 5 лет назад
Thanks for watching! Good luck!
@joebarbs00
@joebarbs00 3 года назад
Will this same process work to turn off a dehumidifier should a little giant condensation pump fail? I’m assuming a larger relay would be needed, but the process would be the same?
@havefun8962
@havefun8962 Год назад
Hi, i have 4channel 12v relay. I upload the code from arduino, The light is running in relay,but the relay has no Click.. 😪 so that the 12v motor is not running🥺
@raymondborges
@raymondborges 6 лет назад
The wire is stripped too much and they could touch...
@pratapdesai9172
@pratapdesai9172 3 года назад
I need your help regarding relay. I want to rotate motor one cycle clock wise and one cycle anti clockwise. Yousing 24 volt/4amps adaptor.
@aarijsyyed
@aarijsyyed 4 года назад
Thanks for the video , please tell which relay should be used for 15amp appliances like gizzer fridge, please give the detailed name of relay,, thank you
@mrfidodido3812
@mrfidodido3812 5 лет назад
Hi, can you show how to make it automatically switch on with LDR as a sensor, tq in advance
@bytesizedengineering
@bytesizedengineering 4 года назад
I don't think I'd have time to make a video just to show that. It would be pretty similar though.
@billray1785
@billray1785 5 лет назад
I know it's been said many times but your termination is rather dodgy, get some ferrules and make it neat or just trim your ends to 5mm and not 15mm. although I have seen only this vid of yours but are you really a engineer and if so what type.
@konaing6873
@konaing6873 4 года назад
This video helped me clearly to understand about relays. Thank you bro...I like this video.So,Shared,Subscribed&Notifications bell allowed.
@rstckz
@rstckz 4 года назад
Hi I've got a question when you connect the 2 black wires why don't you use the other port. And what the other port for Sorry I'm new to this
@xAckarax
@xAckarax 4 года назад
I see the light come on but there is no click. Is my relay broken?
@overdrive39
@overdrive39 2 года назад
So you turn the light on and off by plugging it in wow.
@stspringer2003
@stspringer2003 3 года назад
I am not an electrician, but from what I understand you should never connect the ground and the neutral together except at the main service panel. The neutral has a returning current and if the ground is connected to the neutral the ground wire will be live too.
@NoRoads2AllRoads
@NoRoads2AllRoads 6 лет назад
actually... refrigerator should be enough. My refrigerator and its a very very old one... whenever ON I think it draws about 350 W ...fridges are pretty efficient things!
@markbishop2541
@markbishop2541 6 лет назад
For slightly larger scale products, if you are looking for a panel, Lyntec has a pretty good selection: lyntec.com/pds-10-retrofit-relay-panel-for-power-sequencing/
@msalman373
@msalman373 Год назад
Please share the link in which you electronically activate the relay
@jason1682
@jason1682 4 года назад
I really wonder if it replace 110acv with 12dcv battery then is it possible to control 12volt electronic devices?
@alfredotello1334
@alfredotello1334 Год назад
Are you still doing videos ...Are you still active in you tube...
@TheLifeOfMarcus
@TheLifeOfMarcus 6 лет назад
Isn’t it possible to just use the relay in the outlet instead of buying an extender and if so isn’t it dangerous that right?
@victorhugogomezgomez4804
@victorhugogomezgomez4804 3 года назад
Hi! What is the circuit already connected to the board in minute 5:00? and You mentioned that do no t connect to a fridge or vacuum cleaner, but can I connect it to my automatic door motor?
@jeranrai645
@jeranrai645 4 года назад
is it possible to control the brightness of the light ? !
@bytesizedengineering
@bytesizedengineering 4 года назад
Not with a relay unfortunately.
@JasonWee
@JasonWee 4 года назад
the relay has this rating 10a 30vdc 10a does this rating can apply on dc load too?
@mswingkie
@mswingkie 6 лет назад
Hello I have a question. I have the sonoff 4ch pro 2 and have connected to my garage door. now I want a back report via a switch on my phone app that is possible. I can't see if the door is open or closed on my phone
@adamiskandar7845
@adamiskandar7845 3 года назад
Can you send link where you buy the multimeter😁😁
Далее
DIY Smart Switch - Part 2 Motion Activated Relay
10:43
Using smart relays in your home
8:43
Просмотров 167 тыс.
Connecting a Relay Module to a Microcontroller
11:41
Просмотров 237 тыс.
Everything you need to know about RELAYS
22:48
Просмотров 55 тыс.
Smart Meter Disaster!!
16:33
Просмотров 444 тыс.
Hacking a weird TV censoring device
20:59
Просмотров 3,1 млн
ESP8266 wifi relay review
16:37
Просмотров 227 тыс.