How to use relay with arduino - Turn on and off 220V AC lamp

  Рет қаралды 29,808

miliohm

miliohm

Күн бұрын

Пікірлер: 32
@Dbfatherinfo
@Dbfatherinfo 4 жыл бұрын
i like your way and style to teach us thanks.. i got it really fast cause you have teach us very nice
@miliohm
@miliohm 4 жыл бұрын
Thanks, really apreciate it
@deepsaha5096
@deepsaha5096 3 жыл бұрын
Can we connect any terminal of the load with the relay. Or we have to connect any specific terminal??
@rudraryabiswas6446
@rudraryabiswas6446 3 жыл бұрын
i love you brother , my project worked
@camotobe
@camotobe Ай бұрын
Is there a way to power arduino from that relay???. It would be fine if i have only one power source instead of two.
@miliohm
@miliohm Ай бұрын
Juat use some AC to DC adapter. Like 5V power supply
@camotobe
@camotobe Ай бұрын
@miliohm yes but thats two.
@miliohm
@miliohm Ай бұрын
@@camotobe and the first is?
@adamwalter2573
@adamwalter2573 4 жыл бұрын
And what if I have a random layout in sockets, when in some of them ground is on left and in others on the irght ? It would mean that relay would be on LOW side and lamp would be always on PLUS side so under voltage ! btw, you did not mention about 3-wire 230v setup...
@miliohm
@miliohm 4 жыл бұрын
Closed circuit means a lamp should connected to V+ and GND or in AC it means phase and neutral. Any of wire opened it would turn the lights off. No matter which wire. Sorry about three wire setup. In my country only has two wire. But for three wire you can either cut the phase or neutral cable.
@adamwalter2573
@adamwalter2573 4 жыл бұрын
@@miliohm no problem. I've just solved my problem. I also have 2-wires in sockets, so I connected gnd to neutral and set up my relays, but before I connect my relays to any socket, I need to make sure it has power on left on left side, because this is the line where my relay is. If I forget about it, relay will be on low side. I know, sounds weird, but this is - I guess - the only proper way to set it up. Oh, I need gnd, because I connect also 3-wire tools to this relay. BTW, For some reason my relay does not go into low state when no signal is passed to it. It's still on (!). It's happy to work with even 3.3V signal, but for sometimes it's not enough. Did you also face this problem ?
@99199678
@99199678 4 жыл бұрын
Good job 👏 Thank you 🙏
@miliohm
@miliohm 4 жыл бұрын
You are welcome
@naufal6560
@naufal6560 2 жыл бұрын
Does it works with water pump 220v too?
@miliohm
@miliohm 2 жыл бұрын
Sure
@AzizMelb
@AzizMelb 4 жыл бұрын
Does it matter if I cut the black wire and connect it to the relay instead of the white wire?
@miliohm
@miliohm 4 жыл бұрын
Nope, that would works too
@tiagorodrigues3425
@tiagorodrigues3425 2 жыл бұрын
Anyone know how what cables to connect if using the germany cables? brown, blue and yellow/green
@moussaab8292
@moussaab8292 3 жыл бұрын
Please, I have a problem when writing pineMode (7,OUTPUT) The relay works directly without typing HIGH
@miliohm
@miliohm 3 жыл бұрын
Try LOW instead of HIGH
@moussaab8292
@moussaab8292 3 жыл бұрын
@@miliohm Yes, it works on the contrary, where is the problem?
@botanahmed3527
@botanahmed3527 3 жыл бұрын
Nice demo
@anythingyoulove2385
@anythingyoulove2385 2 жыл бұрын
Thankyou
@02herogamer44
@02herogamer44 3 жыл бұрын
Sir really nice but give me the link of the code
@wisnuindrawan6496
@wisnuindrawan6496 4 жыл бұрын
ganbatee :D, keep inspiring
@miliohm
@miliohm 4 жыл бұрын
Thank you, keep comment : )
@imranali-po7bl
@imranali-po7bl 3 жыл бұрын
Mobile technology
@AleZakko
@AleZakko 2 жыл бұрын
your accent... LOL
@miliohm
@miliohm 2 жыл бұрын
you definitely can't guess where I am from
@AleZakko
@AleZakko 2 жыл бұрын
@@miliohm probably not England or USA and your accent it's just meh 😂
@jonasdriemel
@jonasdriemel 3 жыл бұрын
halts maul
Connecting a Relay Module to a Microcontroller
11:41
Brad Henson
Рет қаралды 269 М.
How PIR modules work and using them to control LED strings.
15:24
bigclivedotcom
Рет қаралды 329 М.
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 7 МЛН
Мен атып көрмегенмін ! | Qalam | 5 серия
25:41
How Strong Is Tape?
00:24
Stokes Twins
Рет қаралды 96 МЛН
Things you can make from old, dead laptops
19:03
DIY Perks
Рет қаралды 13 МЛН
Comparing Linear Servos & Linear Actuators - with Kyle and Jason
11:30
#207 Why most Arduino Soil Moisture Sensors suck (incl. solution)
10:59
ESP8266 + Arduino + database - Control Anything from Anywhere
13:51
Electronoobs
Рет қаралды 647 М.
Mechanical  Switches are Obsolete?! Switch to a Latch Circuit! EB#53
10:36
Stepper Motors with Arduino - Controlling Bipolar & Unipolar stepper motors
50:22
How to use an Arduino Relay Module
4:41
Tinker & Build
Рет қаралды 158 М.
Electronically controlled LED lamps glowing when off.
9:30
bigclivedotcom
Рет қаралды 208 М.
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 7 МЛН