DIY Smart Switch - Part 1 how to use a relay

Поделиться
HTML-код
  • Опубликовано: 28 ноя 2024

Комментарии • 432

  • @bytesizedengineering
    @bytesizedengineering  2 года назад +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 RUclips.

    • @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.

  • @Poolboy28560
    @Poolboy28560 6 лет назад +3

    Everyone on RUclips 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.

  • @TheReviewologists
    @TheReviewologists 7 лет назад +56

    I saw about 5 videos on RUclips 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 : ruclips.net/video/uniaiJmSch0/видео.html

  • @vigi86
    @vigi86 6 лет назад +31

    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 6 лет назад

      Victor Fernandez did

    • @miniwarrior7
      @miniwarrior7 5 лет назад +3

      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 лет назад +1

      Being a electrical engineer and a electrician are different fields. Smart people though

  • @galacticsurvivorvainamoine5823
    @galacticsurvivorvainamoine5823 3 года назад +1

    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.

  • @AllanKobelansky
    @AllanKobelansky 6 лет назад +17

    “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 4 года назад

      ME? - I JUST USE GUM!!! :P

    • @psammons
      @psammons 3 года назад +1

      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.

  • @Extra_Mental
    @Extra_Mental 6 лет назад +143

    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

    • @therealb888
      @therealb888 6 лет назад +7

      exactly my thought!

    • @___aZa___
      @___aZa___ 6 лет назад +3

      @@therealb888 ^

    • @gene_Code
      @gene_Code 6 лет назад +6

      4:38 in case somebody is wondering. but yeah, that is super dangerous!!

    • @therealb888
      @therealb888 6 лет назад +1

      @@gene_Code ur the man!

    • @miniwarrior7
      @miniwarrior7 5 лет назад +1

      Good lord yes XD literally the worst thing to show people that exposed copper is okay!

  • @boomwithpeter623
    @boomwithpeter623 5 лет назад +1

    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

  • @colorpanda8409
    @colorpanda8409 6 лет назад +7

    Great video! How do you make the 5-volt source in your box?

  • @donyoung954
    @donyoung954 5 лет назад +11

    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 лет назад +2

      Thanks for the feedback! I'm still learning how to make/edit these videos.

  • @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....

  • @KaewSaBa
    @KaewSaBa 6 лет назад

    This video is probably the best explanation you can find on RUclips. Clear and straight forward. Million likes!!

    • @bytesizedengineering
      @bytesizedengineering  6 лет назад

      Thank you! That means a lot! I appreciate your feedback!

    • @Dailymailnewz
      @Dailymailnewz 2 года назад

      @@bytesizedengineering is it possible to connect the two relays in such a way that when powered the Normally open will close and the other one will open which is normally closed? What I am saying let us suppose we have two power connected to two relays from two different sources, How can they be connected or wired in such a way if possible that when one power is on the other one is off? Think about it , seems a good project if it can be done?

  • @zigavojska1672
    @zigavojska1672 5 месяцев назад

    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

  • @kabandajamir9844
    @kabandajamir9844 3 года назад +1

    The world's best teacher

  • @3210datta
    @3210datta 6 лет назад +12

    As a student taking ECET, I HIGHLY recommend not to use a cord to connect to the lamp like in the video. Some of the copper wires could still be exposed and when touched can be very fatal. I suggest buying a GFCI outlet, then encasing the outlet and the relay in an outlet box.

    • @bytesizedengineering
      @bytesizedengineering  6 лет назад +2

      Thanks for the tips!

    • @waltermessines5181
      @waltermessines5181 6 лет назад +4

      Makes sense... btw what's the difference between fatal and very fatal? One kills you and the other? Is it like being pregnant and very pregnant? (just pulling your leg a bit...)

    • @mmca2
      @mmca2 6 лет назад +6

      look at it from this angle - you can be pregnant with one fetus and you can be pregnant with 3 of them. then you are "very pregnant" , especially at later stages :)

    • @therealb888
      @therealb888 6 лет назад

      @@mmca2 lol

  • @misterspot3470
    @misterspot3470 4 года назад

    Best explanation found so far. Any good reply would be appreciated for the following questions in regards to connections.
    For the load, or black wires, I presume the connections on the module for the current would enter on the NO, and feed the lamp through the COM. Or does it matter?
    So to properly connect the active magnet, I would presume COM would connect to DC-, while NO would go to IN on the module.
    I already connected 12V LED lights using relays and now trying to use this different type of relay for a closet light triggered by magnets.
    In the 12V schematics for LED strips, the NO on the module loops back to DC-, which becomes impossible with 120 volts.
    As for the exposed wires. If they would touch, then the module would be defeated and the lamp would stay on. The issue is that if they barely touch, arcing could happen and this is considered a very serious issue.

  • @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?

  • @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?

  • @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?

  • @mihakrsevan
    @mihakrsevan 3 года назад

    Hi, what kind of switch can you use for signal? Push button switch works?

  • @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

  • @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

  • @scarlaxx
    @scarlaxx 4 года назад

    This video is ok but your t-shirt is the best!

  • @YoungGrizzly
    @YoungGrizzly 6 лет назад +1

    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.

  • @luqmanibrahim2606
    @luqmanibrahim2606 4 года назад

    Thank you for your video
    I have one qustion please
    why you didn't connected the signal to the positive 5 volt?

  • @spawn666reaper
    @spawn666reaper 3 года назад

    If you split the signal wire and place them in the twee middle pins. Would that switch both relays at the same time?

  • @msindisimtengwane9456
    @msindisimtengwane9456 5 лет назад +4

    Awesome video man. Thank you so much. Taking your time to explain to this level of detail is highly appreciated.

    • @bytesizedengineering
      @bytesizedengineering  5 лет назад +2

      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.

  • @alvinlum123
    @alvinlum123 3 года назад +1

    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 🤦🏻‍♂️

    • @areyoutryingtosay
      @areyoutryingtosay Год назад

      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

  • @huhocheung15
    @huhocheung15 6 лет назад

    Clear to understand. Great compared with many others.

  • @sirmaverickrock
    @sirmaverickrock 4 года назад

    I love the way you explained everything. The cameras were perfect. If you ever have time to do the same with your auto switch, that would be awesome.

  • @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!

  • @jeranrai645
    @jeranrai645 4 года назад +1

    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 года назад +1

      That's pushing it too close. They make relays rated for much higher current.

  • @FluorescentApe
    @FluorescentApe 3 года назад +1

    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 года назад +1

      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

  • @piyushjaininventor
    @piyushjaininventor 3 года назад

    Question: should i control neutral wire or the live wire with relay?

  • @KompletterGeist
    @KompletterGeist 5 месяцев назад

    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!

  • @stspringer2003
    @stspringer2003 4 года назад

    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.

  • @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

  • @gagank9199
    @gagank9199 4 года назад

    Sir can u help me to complete my fun home project please the topic is very relevant to your understandings and expertise

  • @miguelfloriano9039
    @miguelfloriano9039 4 года назад +1

    Im confuse how do you control it then ? Do you have to keep turning it on manually?

    • @dotgrid
      @dotgrid Год назад +2

      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).

  • @jason1682
    @jason1682 5 лет назад

    I really wonder if it replace 110acv with 12dcv battery then is it possible to control 12volt electronic devices?

  • @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.

  • @garys.1932
    @garys.1932 6 лет назад

    Could you tell me if there is a "touch activated" relay available? I'm talking like a bug touching it. It's something fairly unique I am inventing and can't seem to find something like this. Great video also! I enjoyed watching them.

  • @aboulfoof
    @aboulfoof 2 года назад

    Well done!! Excellent easy explanation, was looking forever for a simple explanation of using the SRD-05VDC-SL-C 1 relay module with a push button without arduino, was finally able to understand the input connection of the relay thanks to your explanation and video, thank you!!

  • @themurphrees3795
    @themurphrees3795 5 лет назад

    Thank you, I was looking for information on how to connect the AC side of the relay, and you covered it perfectly.

  • @trilight3597
    @trilight3597 3 года назад

    I have a question. Why cut the other two cables if we were going to reconnect them regardless?

  • @soumyakulkarni5378
    @soumyakulkarni5378 5 лет назад

    Hello , this vedio was very helpful , thank you. However what is the equipment connected to lower end ofyour breadboard?

  • @rohansapkal3317
    @rohansapkal3317 6 лет назад +2

    Good explanation, easy to understand. Thanks

  • @AntoniaWarren
    @AntoniaWarren 7 лет назад +5

    A really good video here. Very clear and easy to understand.

  • @aglan
    @aglan 6 лет назад

    Which end of black wires connected to the common and normally open terminal. The one to the wall is normally open and to the lamp is common? Thank you

    • @bytesizedengineering
      @bytesizedengineering  6 лет назад

      In this configuration it doesn't really matter. Since the wall wire is the one we're switching, I would connect that to common, and the lamp to normally open. It will work just fine if you have them the other way.

  • @jaywhited1174
    @jaywhited1174 4 года назад

    Thanks for the video. I have an emylo relay, but I was afraid to hook up 120v to the small terminals. I'm good to go now. Thanks again!

  • @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?

  • @JasonWee
    @JasonWee 4 года назад

    the relay has this rating
    10a 30vdc 10a
    does this rating can apply on dc load too?

  • @cottondai
    @cottondai 4 года назад

    Awesome tip and clear tutorial. Thank you.

  • @MultiPlaymaker10
    @MultiPlaymaker10 4 года назад

    Why do you connect neutral and ground together?

  • @rasoolmazrueesebdani8442
    @rasoolmazrueesebdani8442 5 лет назад

    Man, I did not understand it why the signal connector should be ground to get the relay activated? To activate the relay, shouldn't we apply 5 VDC to activate its coil? Your clarification is much appreciated... Thanks for your very helpful and useful training videos

    • @bytesizedengineering
      @bytesizedengineering  5 лет назад

      There is usually a transistor that drives the coil. Depending on what type of transistor (N channel, P channel, NPN, PNP) will determine which logic level turns on the relay. This particular module has active low logic which means you ground the control signal to turn on the relay. Hope this helps!

  • @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 лет назад +1

      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.

  • @utrutr6013
    @utrutr6013 4 года назад

    Great explanation and also showing.. well done

  • @videoaccount5676
    @videoaccount5676 6 лет назад +9

    Triacs are another solution to home automation and controlling AC loads

  • @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😁😁

  • @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.

  • @geofox9484
    @geofox9484 5 лет назад +2

    Thank you so much! You’re a great teacher wish I could have you for ever question

  • @waswestkan
    @waswestkan 4 года назад

    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.

  • @DegustoDelSol
    @DegustoDelSol 4 года назад

    very detailed info, thasnks a lot! this is what i was searching

  • @danieldanger5539
    @danieldanger5539 6 лет назад

    Would a relay work for smaller voltages. If I was needing 12 volts in and a smaller voltage out could I put a resistor for the amount of voltage that I need coming out? Is there an easier way of doing that that or would a relay work? Also how would I go about hooking a toggle switch like a light switch to make it to where if I turn it on or off it turns the device on and off. Any help would be appreciated. Thanks

    • @bytesizedengineering
      @bytesizedengineering  6 лет назад

      I'm unclear on what you are trying to do. A little more information would be helpful.

  • @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!

  • @gr8bkset-524
    @gr8bkset-524 6 лет назад +33

    Why not just avoid cutting the ground and neutral wires in the first place?

    • @cerhewer67
      @cerhewer67 6 лет назад +2

      Hmm good point.

    • @therealb888
      @therealb888 6 лет назад +2

      lol ikr

    • @CreamyShroom
      @CreamyShroom 5 лет назад +4

      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 лет назад +2

      So.. Black is live there?

    • @drummaguyhixy
      @drummaguyhixy 5 лет назад +1

      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

  • @dmitrys.4741
    @dmitrys.4741 4 года назад

    What that yellow jumper does?

  • @msalman373
    @msalman373 Год назад

    Please share the link in which you electronically activate the relay

  • @sayedur
    @sayedur 6 лет назад +10

    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 лет назад +3

      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

  • @Vishal-nx1ic
    @Vishal-nx1ic 5 лет назад

    im corrently working on a related project,and i have just one doubt. instead of the breadboard power supply,can i use a 9v battery,if yes how? please respond asap

  • @dan2thi
    @dan2thi 4 года назад

    Very clear explanation! Thank you!

  • @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 лет назад +2

      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!

  • @syedhaniraza
    @syedhaniraza 6 лет назад

    What kind of control signal you gave to the breadboard. I didn't get that? WHat you did on the bread board side?

    • @bytesizedengineering
      @bytesizedengineering  6 лет назад

      I was swapping the relay's input pin between 5V and Ground to turn on/off the relay

  • @leanderpereira5257
    @leanderpereira5257 4 года назад

    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

  • @RyanThompsonrthomp
    @RyanThompsonrthomp 6 лет назад +11

    God I love the outdoor scenes haha. Thanks for making an awesome video

    • @bytesizedengineering
      @bytesizedengineering  6 лет назад +1

      Yeah, I get tired of filming indoors. I think it's more interesting to watch a video shot in different places. Thanks for watching!

  • @vinamravashishth9255
    @vinamravashishth9255 3 года назад

    Very nice video, helped a lot!

  • @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?

  • @amritansumitra
    @amritansumitra 6 лет назад

    How reliable would you say these relays are? How long will each last you reckon?

    • @bytesizedengineering
      @bytesizedengineering  6 лет назад +1

      I'm not sure. If you find a datasheet for the relay you'll probably find the number of lifetime cycles it's rated for.

    • @1_HighDuke
      @1_HighDuke 6 лет назад

      The relay itself (the little blue boxes) is probably fairly reliable -- and can handle those 10A as written on them. However, there might be other components on that board that will not last long/fail at those loads.

    • @1_HighDuke
      @1_HighDuke 6 лет назад

      Also, although it SEEMS like the Arduino is isolated in this circuit, it really is not. You should use a separate 5V power supply on the JDVcc pin to fully isolate the Arduino from the electromagnet in the relay. Otherwise, if something goes wrong with the relay, you might damage your Arduino board.

  • @WVelasco9977
    @WVelasco9977 6 лет назад +3

    Thank you! I’ve just found your Chanel and I’m ready to learn more from you.

  • @c.j2527
    @c.j2527 6 лет назад

    can a 5 volts power supply work as well and a breadboard power supply? you know. the kind you use to charge a cell phone? or better yet , a usb 2.0 connected to a pc?

  • @moek8924
    @moek8924 6 лет назад +5

    Very humble with that t-shirt

  • @ritugoel2187
    @ritugoel2187 6 лет назад

    Very nicely explained

  • @davidchang5862
    @davidchang5862 3 года назад

    Has any of the relay ever short or malfunction while you get the wires connected ?

    • @GeneralRozcoe
      @GeneralRozcoe 3 года назад

      Shouldn’t be powered while working on it

    • @davidchang5862
      @davidchang5862 3 года назад

      @@GeneralRozcoe Thanks. Just curious as I almost got my fingers burnt at one time (with the power on) 😓

  • @michaelkasede1489
    @michaelkasede1489 6 лет назад

    Hi I like this innovation and how well you create your videos. So easy to learn from them. Question. How secure is this setup? Can any1 with the app just come within a distance of 50M to my house and turn on my lights, turn on my blender and turn my TV off while I am watching Black Panther?

    • @bytesizedengineering
      @bytesizedengineering  6 лет назад

      I think you might be referring to my sonoff switch video? The device is connected to your wifi router which should have some sort of encryption. You would need to look into that more though.

  • @smileykneez
    @smileykneez 5 лет назад

    Very organized and well-presented information. Very useful. Great job!

  • @shakilhaider5352
    @shakilhaider5352 6 лет назад

    Question for you. I’m trying ontrol a linear actuator so I can just retract the actuator when turned off and then extend the actuator when turned off? I am trying to control a door to open and close. Can I use a relay and can I make it wireless with Alexa or Google? Thanks.

    • @bytesizedengineering
      @bytesizedengineering  6 лет назад

      Sounds like a great project, I believe I answered your personal message in my inbox.

  • @garyharyett5776
    @garyharyett5776 6 лет назад

    It is quite clear that you know what you are talking about and your explanation was first rate. Unfortunately, your choice of background music was not pleasant. I hope you take this bit of criticism in the same spirit I am giving it. thanks.

  • @devilnickwbs
    @devilnickwbs 4 года назад

    Hey, i have question, can i use this to wire the intercom indoor unit, in order to open the gate of the building?

  • @bailey125
    @bailey125 4 года назад

    Can you set it to turn on using 5V instead of ground if you change the position of that yellow jumper so that it connects Vcc and Gnd instead of VCC and JDVcc?

  • @KvarkLt
    @KvarkLt 2 года назад

    How schematic will be look like if I still want control light by switch and relay?

  • @yz8302
    @yz8302 5 лет назад

    I will recommend using wire ferrules on the end of wires. be safe and happy when u r playing with high voltage

  • @georgevellanikkaran7079
    @georgevellanikkaran7079 6 лет назад

    Hi, can you not use neutral to the relay for control?

  • @smartlife77
    @smartlife77 6 лет назад

    Great video! Do you have a video on how to use a relay to open/close an electric DC 12V valve? I assume you need a two-channel relay to set the reverse polarity? Thanks again for the video

  • @diyshoptools9157
    @diyshoptools9157 6 лет назад +2

    In fairness, your experience as an electrician years ago is a far greater indication of your knowledge in this subject. My dad is an extraordinarily accomplished principal electrical engineer and probably the smartest person I know... but probably couldn't use a multimeter if his life depended on it

  • @microk7648
    @microk7648 5 лет назад

    Nice video! What are those blue caps you use at 3:10?

    • @bytesizedengineering
      @bytesizedengineering  5 лет назад

      I call them wire nuts, there might be other names for them elsewhere. They are used to connect two or more wires together. Just make sure you get the right size for the gauge of wire and how many you'll be tying together.

  • @micha-42
    @micha-42 6 лет назад +2

    Great video, cheers mate! Also, 10amps seems *plenty* for a fridge :-)

    • @jimbrownza
      @jimbrownza 6 лет назад

      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 🤔

  • @matthewwildrick9643
    @matthewwildrick9643 7 лет назад +1

    Could you add the relay directly to the lamp (cut the lamp cord and add that to your relay)?

    • @Roblazed
      @Roblazed 6 лет назад +1

      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.

  • @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.

  • @jonerasmus9399
    @jonerasmus9399 Год назад

    Is the output dc ?