Have tried other sketches that were supposed to work for the same application and spent a lot of time with them to no avail. I downloaded your sketch and it worked instantly first try. Thank you so much!!!
@robojax Жыл бұрын
Good to know! Just search my channel. you will be surprised
@Andy-zs3jb4 жыл бұрын
Oh WOW, this is perfect! I have been looking for something like this for over a week. You have earned yourself a subscription! Well done, thank you for the easy to follow video without the unnecessary fluff.
@robojax4 жыл бұрын
Awesome, thank you!
@mystreteacher Жыл бұрын
Thanks for posting this. Going to be put to good use for a student with severe disabilities.
@mystreteacher Жыл бұрын
I'm have a 4 relay module (5 volts) going with 4 TPP223s. I'm getting some Relay chatter when multiple TTPs are activated. It's an Elegoo Uno R3 with a single 9 volt power supply. Any simple solution?
@mystreteacher Жыл бұрын
Capacitor switch to Control Hori Flex vid. kzbin.info1U4gEi6YNfw?feature=share
wow. excellent. I just watched. keep working and add more features. (the video that you touch one touch sensor)
@robojax Жыл бұрын
I watcheded and did not understand what it does. (the video that you touch TWO touch sensor)
@brezel645 жыл бұрын
Thanks for your very well explained relay circuit. have already tested other codes from your channel, all super documented and just for beginners very helpful. please definitely continue.
@robojax5 жыл бұрын
You are welcome. I am glad you learned from it. I have just launched my udemy course, you can see it here bit.ly/rj-udemy
@Kangmasanas3 жыл бұрын
Thank you. Love it
@robojax3 жыл бұрын
Our pleasure!
@justinherdman87 Жыл бұрын
this is what i need too do, but i want too use a 4x axis joystick (wii numchuck) to activate 4x relays, for 4 directions. or ie: UP -DOWN -LEFT-RIGHT. I know how too wire the relays, but not were too put the wires on Arduino NANO, or the, numchuck/4 axis joystick.. And need help for the code.
@மனுநீதிசோழன்-ன8ழ4 жыл бұрын
You are so good, I have improved my learning ability by your videos and more dependent by your videos
@robojax4 жыл бұрын
I am glad you are learning. But it shows you have not subscribed yet. :-(
@adamelkoumy51416 жыл бұрын
Great Video. I love it. Thanks Jax
@robojax6 жыл бұрын
You are welcome.
@MrTrany1 Жыл бұрын
Hi Thank you for this code is great but i have a problem if i power down the uno r3 and power back on all the relays come back on un till i press the buttons to turn them off is there a way stop the relays coming on after on powering down and powering back up. meny thanks Andrew
@robojax Жыл бұрын
No we provided default state inside the setup. Change it the way you want
@MrTrany1 Жыл бұрын
Thank you done great@@robojax
@Coolhand99au5 жыл бұрын
Fantastic ! Thanks mate for you informative video. It was just what I was looking for
@robojax5 жыл бұрын
You are welcome. Good to hear that. I am glad you found it useful.
@Coolhand99au5 жыл бұрын
@@robojax I'm building a vapour blast cabinet to clean motorcycle parts I have 3 micro switch foot pedals to bring on; water, air and wind screen wiper I had to hold my foot on the pedal all the time to keep the air on. Now I can press once air come on press again air goes off I am trying to add a on, off delay into the wiper circuit so that when I press the wiper foot pedal the wiper will cycle e.g. on 5 sec off 5 sec then when I press the pedal again it stops Finding this to be a challenge
@ozigreen113 жыл бұрын
Hi Mate i am brand new to Arduino I have setup my uno board to switch an 8 channel rely module by modifying your 6 channel code very helpful so far thank you. i was also needing my number 6 rely to come on for 3-4 seconds when rely 5 is energized on. would you kindly show me the code to make this work it would help me finish my windscreen wiper with timed water spray project please. warm regards Gordon
@OffDutyBumbero Жыл бұрын
Do you have a tutorial with this video adding a coin acceptor
@ballardtech8275 жыл бұрын
how would i add auto off after an hour or so. I have it controlling some led lighting and i usually forget to turn them off. or maybe wire in a PIR motion sensor to turn off when motion goes away. any help would be great. awesome project thanks
@robojax5 жыл бұрын
see my video on timer kzbin.infosearch?query=timer
@trekRobertoCarlos4 жыл бұрын
thank you for this Great video.
@robojax4 жыл бұрын
You are welcome.
@linasyazana983 жыл бұрын
@@robojax can i use this for movement ? Left Right forward reverse ?
@kinaromotovlog95975 жыл бұрын
Hi, is it posible to add micro switch As a limit switch to Turn Off also the Relay when it Reach The Maximum Position of the mechanical ? If ever i use it on Motor in some robotics Or mechatronics movement .
@robojax5 жыл бұрын
Hi, yes possible. You would have to define a pin for the micro switch as output. Then turn it OFF when switch is connected. here I have videos explaining the push button with relay. You can use your micro switch instead kzbin.infosearch?query=push
@madhukeshnp6 жыл бұрын
I had tried the same with the nodemcu -12E . But during the bootup process there will be a short burst of high pulse on all the pins, thus triggering all the relays for a fraction of a sec. SO is there anyway to prevent during the reboot process ? I read on the internet someone stating the using a Attiny85 to buffer 1 sec during the startup will prevent the false trigger. Is that really possible ?
@davidkinuthia10524 жыл бұрын
robojax hallo sir i like your work and explaination is on point good
@robojax4 жыл бұрын
Hello David, Thank you. I am glad you found it useful. Here is my video Learn Arduino in 30 Minutes (video): robojax.com/L/?id=135
@rufustoad19 ай бұрын
Hope this doesn't sound crazy but what in this code could be changed if you want 2 outputs turned on with a single switch. So if you have pushButton 2 pushed and you want relayPin 10, 8 HIGH how would that be changed in this code?
@robojax9 ай бұрын
I explaine ever line of code. if you wanched the video, then you would know it. simply at the line where it turns ON a relay, just add one more line for 2nd or 3rd relay. the same way when it turns OFF and also take dare of any variable that is changed when the button is pressed. just watch it one, twice or 10 times until you get what it does. This is what I do to learn.
@rufustoad19 ай бұрын
Sorry I don’t see that but thanks for posting
@carveras14 жыл бұрын
Hi, how many relays can be hooked up to the arduino uno? Can a rotary switch or latching switch be used ?
@robojax4 жыл бұрын
Up to 16. See it here kzbin.info/www/bejne/h2rEc3xqerF-eZY
@pterichard22863 жыл бұрын
is there any way that if you press one button it automatically set the other (any) relay back to OFF state? Goal is to have only 1 relay working at a time. I am trying to use the four relay in your example as a speed variable control for an AC. cheers
@robojax3 жыл бұрын
I have fully explained the code. If you watch it few times and draw it on paper and see what it does, you can modify the code. Or if you don't want to learn post your question on Arduino forum forum.arduino.cc/
@mahlonkarpaiya2523 жыл бұрын
Used your code today, Im using one button and 4 relays. working well so far. I just want to know one thing, im firing off 4 Flash bulbs in a scatter pattern so they go off one by one. I want to change the code to make the relay go on after holding the button for 3secs and foo when i let go. , could you help me out with a lil info on how to go about this plz.
@robojax3 жыл бұрын
Hello, that is totally different code and it needs to be rewritten. please watch the code section of video 2, 3 or more times so you know how it work. And watch this video on timing kzbin.info/www/bejne/qIbXdZmXmctrgM0 if you watch them multiple times, you will learn and write your own code. good luck.
@tufankartal2085 Жыл бұрын
hi.can we check this project with nextion screen.aurdino code and shematic ,hmi files help me
@erkangovce3 жыл бұрын
Hi how will the push button and bluetooth be at the same time, I'll be glad if you help
@robojax3 жыл бұрын
Hi, you learn from this kzbin.info/www/bejne/Y3ace2x7rcmNaJI as what you look , needs full rewriting of new code. But I you pay attention and learn from the code of both video , you should be able to make it work
@OcenaSoft5 жыл бұрын
I have too confess, your amazing and teach so well. I have learnt so much from your videos and can now cope with even altering your code to suit my own conditions. Please keep up the great work. I do have one question: Would it be possible to do a video on how to achieve this same outcome using just one analog pin and to use resistors in a network and read the values? I need to use 4 switches that can be toggled like you have here and only have one analog pin left with m project. I have looked at others videos and they are not toggle. Many thanks Dave
@robojax5 жыл бұрын
Hi Dave, that is very kind of you. I am pleased that you my tutorials are useful to you. I never thought that such thing will be needed. Yes it is possible and I just put it on my "to do" list.
@OcenaSoft5 жыл бұрын
Robojax - thank you for that - I appreciate that very much. I have managed to get 4 push buttons switches to work independently by cascading 2k resistors along with the switches and that then alters the analog read value depending on the button pushed - the issue I have is more to do with the way in which trey are toggled - I give up on that one today but will look forward to your next video and see how this one can be achieved. Thanks again for making such great videos with such in-depth explanations that enable us to achieve our goals in the Arduino of things. I love my Arduinos and never know what to build next. I put one of your videos on and I am inspired - THANKS
@robojax4 жыл бұрын
You are welcome.
@mattglandorf90774 жыл бұрын
Im looking for some help I am looking to control a motor with Arduino and a relay card, Im wanting to use a power window switch and move the motor up for a 4 seconds when the switch is tapped up, and down 4 seconds when the switch is tapped down. I tried to use your code and wiring to control the relays with 2 simple switches first, but cant get the switches to turn the relays on and off. If i change the High or Low in the Loop after else it turns them on or off, but seems the inputs are not working. Any help would be greatly appreciated
@robojax4 жыл бұрын
Hi, yours is a full project. Let's see if anyone offer help. I can't because it is not just simply one or two line comment. Good luck.
@mattglandorf90774 жыл бұрын
Robojax, what if I’m trying to use 2 switches identical to yours and all I am trying to do is trigger 2 relays with those push buttons, with your code, I thought that would work and it didn’t
@ferdinandofa25455 жыл бұрын
Dear Robojax Thank you for your Arduino Project with four buttons, which turn on and off four relays. Now I like to add a fifth button to turn off all the relays at the same time. Can you please indicate how to change the program? Thank you
@robojax5 жыл бұрын
You are very welcome. Just watch the video and pay attention on code I explained. You can turn it to unlimited relay.
@ajitdhatrak14775 жыл бұрын
it was nice to watch this video as it is somewhat similar I wanted. I am controlling an 8 channel relay and I am having only five momentary switches. I want to control three relays at a time. I want to activate and keep on three (say 135) relays when I push a button, whilst other relays low. I also need a reset button by which all the relays should go low. Please help me build code as I can not handle the programming part but I can do circuits well.
@robojax5 жыл бұрын
You can change this to 8 channel very easily. Just define more more pins. You would have to watch the video. Other than your project is very specific. I have other videos on 8 and 16 channel relays. search my channel.
@sathyansat71635 жыл бұрын
This video looks great, how to make a positive trigger button , what changes required for the code ? Please explain.
@robojax5 жыл бұрын
You are welcome. This is video so you can play it again and again.
@sathyansat71635 жыл бұрын
@@robojax I think you are not understand my request.
@robojax5 жыл бұрын
Sorry, If you meant to change the trigger type from LOW to HIGH (low is negative, high is positive), see this code and watch video robojax.com/learn/arduino/?vid=robojax_16ch_relay
@mcavalcantesouza3 жыл бұрын
thank you for the video. Imagine that I have a switch button in one device, for example, a "X" or "O" button of a Video Game controller. What would be the best solution in order to press this button using an actuator? I imagine this actuator would short circuit the controller button. I think the Relay AC would not be a elegant solution for this, would it be?
@cyrusemanuel14053 жыл бұрын
i realize Im kinda off topic but do anybody know a good place to stream newly released movies online?
@mcavalcantesouza3 жыл бұрын
@@cyrusemanuel1405 ??
@patrixpksr2 жыл бұрын
Hi Mr. Robojax! Thank you for your wonderful reviews, these have helped me to finally get started with programming and control using Arduino. But one thing I do not get control of is that when I use the switch to control the relay, the relay does not react until I have released the switch. This means that if I want a switch to change the direction of a DC motor, it does not happen because the relay does not react when the switch is activated. What do I miss or simply do not understand? Many thanks for your inspiration and your great lessons. Sincerely Patrik Strömer Sweden
@robojax2 жыл бұрын
Hi, please watch latest video kzbin.info/www/bejne/ZoG6Y2WGeZ1sq5I which is part of my Arduino Step By Step Course kzbin.info/www/bejne/ZoG6Y2WGeZ1sq5I but to control DC motor using relay, here is Lesson 52 kzbin.info/www/bejne/aJ-Tp4iXZciNhas and if you wan to learn from beginning then Arduino Step by Step course that starts here kzbin.info/www/bejne/Y2fUhKV6iqZol5o
@patrixpksr2 жыл бұрын
@@robojax Hello and thanks for the quick response to my question. I have seen the videos and lessons about controlling DC motors that you refer to and they are really good and I make it work as you show and teach in them. But as you connect and program, nothing happens to the relay when you press your button, the relay reacts when you release the button and it works if I have to handle it manually. But my project is for a slip disc to travel from right to left and back to the right with the help of 2 switches in the end positions that will affect the relays that you show in your video lesson no: 52. My thought is that Video 52 is perfect for my project if I add 2 switches to change the direction of rotation. If I connect and program a switch and diode, the diode reacts as soon as I press the button, but if I connect a relay, it does NOT react when I press the button, the relay reacts when the button is released. Sorry if I'm bad at explaining my problem and I appreciate your knowledge and your way of sharing it. Sincerely Patrik Strömer Sweden
@khaledsy44814 жыл бұрын
Thank you.. this is very helpfull Can you please add main putton that make the all on and the all off at tha same time?
@robojax4 жыл бұрын
if you watch the video fully and pay attention at the points where I explain the code you can change it very easily. Or simply connect input of all 4 relay into one relay like relay1 and when you press PB1, all will turn ON and OFF without changing the code.
@khaledsy44814 жыл бұрын
If I make it like this , then I can not change it from the others buttons!
@maxvanpoll5 жыл бұрын
Hi Robojax, is it difficult to change the code in order to accomplish that only one button (and thus the relay) can be active? So when relay 1 is on and you push button # 2 --> relay 1 goes OFF (also for the other buttons)
@robojax5 жыл бұрын
Hi, Yes doable. so you don't 2 push buttons for each relay. ONE to turn OFF and one to turn ON? It seems you don't need 4 channel, may be just 1 channel relay with 2 push button. It need a little code change which at the moments I have no time for. but if you watch the video again you should be able to understand and do it.
@listrikb68854 жыл бұрын
How to set the on off relay based on a certain temperature using a push button? Can you making a video? Please
@robojax4 жыл бұрын
I didn't get it. if there is temperature, then what is the job of push button switch?
@listrikb68854 жыл бұрын
@@robojax push button functions to determine a certain temperature limit so that the relay is on
@listrikb68854 жыл бұрын
@@robojax I mean push button limits the readout at a certain temperature to command the relay on. Do you know climate control Temptron from Agrologic? Like that's how it works
@abdullahsohail3653 жыл бұрын
if i want to keep light on as long as i kept pressing button and turn it off as soon as i release it. what changes should i have to incorporate in code.
@robojax3 жыл бұрын
change this line if(pushed[i] == HIGH){ to if(val== HIGH){ Please subscribe. I appreciate it and helps my channel grow. Thank you
@robojax3 жыл бұрын
Abdullah, I have created a full code page. the link is on the same page as the main code. salaam. Ahmad from Khurasan
@abdullahsohail3653 жыл бұрын
@@robojax w.salam Ahmed. May Allah bless you more. Thank you for your time. But i have figured it on my own. I'll surely subscribe. Love and support from Pakistan
@abokhatab13834 жыл бұрын
hi i want to ask you question if i want to press button but other button disable how i do that
@robojax4 жыл бұрын
Hi, If you watch the video, I have explained every line and what they do. Watch it multiple time, take note and you will understand. So to disable push buttons for example push buttons 2, 3,4 while 1 is pressed, because when you push the button, it takes the input low, you will make 2, 3 and 4 always HIGH.
@kjshoot2ill3 жыл бұрын
hi robojax, thank you for sharing this. but i have a question. how to code if button1 will be pushed ON, others will be disabled? unless if button1 will be pushed OFF, the other buttons can now function. my point is, only one button will function at same time.
@robojax3 жыл бұрын
Hi, I spent so much time to write this code because this is the most logical way to use it .I know people have different project but it needs total rewriting of the code. I have fully explained it. so watch is many times until you learn. but your application seems very unusual. so relay1 is ON, then you have to turn OFF in order to be able to turn relay2 or other ON.
@kjshoot2ill3 жыл бұрын
@@robojax its okay..its true that you and i have diff projects. i will watch and watch your vids in order to understand, and later apply to my project. thanks for answering.really appreciate it..👍
@Acorama6 жыл бұрын
good review
@robojax6 жыл бұрын
Thank you.
@AAdnaanmtl5 жыл бұрын
Sir very well explained can you please guide me how I can display the same circuit on and off status on LCD and if I am using IR remote with this how can I sync both status mean on and off in sync ?
@robojax5 жыл бұрын
It can't be explained using few lines of text. Combine the rely code with LCD from this video kzbin.info/www/bejne/p2q8dJJ9i62sa6M and display text when relay turned ON or OFF.
@pictoescultura4 жыл бұрын
Hi, congratulations on your professionalism. I would like to ask you how to make the 4 lelay work with an arduino YK04 radio frequency remote control. Thank you, subscribed and like !!
@robojax4 жыл бұрын
thank you. there are modules such NRF24L01 or use RC remote .
@Jus10aaron6 жыл бұрын
hello, i have a project with voice control relays. how can i add push buttons to control my relay with push button and voice command using a single arduino
@alipmiyanto13 жыл бұрын
how to connect push buttons to Analog, because I'll be use 8 channel relay module. Thanks.
@robojax3 жыл бұрын
You look at this video kzbin.info/www/bejne/d3qQq62jiL-JnNk always search my channel. You will be surprised what I have .
@viveksingh-ey5hl3 жыл бұрын
Hii sir please help me I AM making a project ti read diffrent voltage with the help of diffrent push push, relay and potential Divider circuit on lcd i2c module but programing Code Dosen't run
@robojax3 жыл бұрын
Hello, here kzbin.info/www/bejne/d3qQq62jiL-JnNk always search my channel here is how find a video in a channel kzbin.info/www/bejne/hZnOhpabd7yWftU
@michielvanophuizen54896 жыл бұрын
verry nice code....i am just learning Ardruino....i need it for my dust colletion in my shop.....thiis code is perfect for what i need to do....BUT ......can you make the code so : push is on....and push is off....but can the OFF be delayed with 5000 miliseconds, while the on stil is at 0 ? AND i need a 5th Relays the 5 the relay needs to be activated by 1 2 3 or 4 ? so just a fifth relay, that goes on bley switching 1or 2 or 3 or 4? hope this is a "simple" chainge in the code ....or a adding....but I dont get it...becouse is started with ardruino 2 days ago ;) woul you pleasse so kind to help me with this ?
@robojax6 жыл бұрын
I am glad you found it interesting. For delay, watch this video to learn how to delay. Adding more buttons would need a little work which can't be just typing. It should be tested. I might get time to do it in the future.
@michielvanophuizen54896 жыл бұрын
@@robojax that would be great...i played around with the code...so i already got some changes, like delay....but it words both ways.....the delays is when its activated, and when its shut down....i just woul like to delay the shutdown, and an extra relay that is triggerd by triggerering 1, 2 , 3 or 4 indipendent....thats the relay that would power my shop vacuum......the 4 ports there already are, power um my machines...and the push butten wil give power to my machines....instead of a lamp ;) so i hope what i meen....and i hope you can help me with that code :D
@DjRewesH5 жыл бұрын
I want to replace the on/off button with music midi 88 keyboard and assign every key in it to switch AC power on or off wirelessly long range separated devices please
@robojax5 жыл бұрын
I am sorry I have no experience with MIDI . Anyone else?
@bophatintin4 жыл бұрын
thanks
@robojax4 жыл бұрын
you are welcome.
@saribarif1893 жыл бұрын
I am confused about the code. I understand the light will be ON if the val is HIGH and relaystatus will be HIGH. But what will happen if the val is LOW. How will the light stay ON if the val is LOW? You should add a line about val being LOW and relaystatus being HIGH, after that the relaystatus will become LOW and the upper if loop will start again with making the pushed 0, thus making the light OFF.
@robojax3 жыл бұрын
Hello, perhaps you skipped the video, please watch and I can assure you to get the answer.
@saribarif1893 жыл бұрын
@@robojax How will the condition run, when the pushbutton value becomes zero? If I press the button, the light will turn ON, but when I remove the finger, the light should stay ON, until I press the button again.
@robojax3 жыл бұрын
That’s exactly why I said . I have explained this when I explained the code section
@vvjworld095 жыл бұрын
hi thanks for this video can you in i have 3 speed ac motor can u guide how to connect this function 4 Chanel watting reply
@robojax5 жыл бұрын
see my other videos on relay kzbin.infosearch?query=relay
@miles97295 жыл бұрын
I cant seem to get the relay to switch 12V. Is the relay only for 240V/110V? Really good tutorial thankyou!
@miles97295 жыл бұрын
Ive gotten it to work but only in reverse (when i connect the relay as ON and use the switch to trigger it off) I cant get it to trigger ON :(
@robojax5 жыл бұрын
Connect your load to different pins. In video is showed connection to COMMON and NO, (NO=normally open) you connect it to COMMON and NC, (NC=Normally closed). Watch the video again when I explained the module and then watch the wiring.
@miles97295 жыл бұрын
@@robojax Thankyou so much ROBOJAX! What made things more confusing was that relay number 1 is faulty! LED turns on and off but no click! 2,3 and 4 work perfect! THanks!!
@yawarsaeed64994 жыл бұрын
Thanks for sharing such an Awesome project. Can you please do another video using Nodemcu with Android wifi & also the same physical push button switches with status feedback on Android phone button interface.
@robojax4 жыл бұрын
You are welcome. I have just add it to my "to do" list. When time permits, I will make the requested video.
@yawarsaeed64994 жыл бұрын
@@robojax Thanks for your positive response.
@robojax4 жыл бұрын
video for single Relay for NodeMCU is added kzbin.info/www/bejne/rZXKiJeui5tjmsk and on ESP32 is coming. So subscribe to get notified and leave the 🔔 on. I will have videos on relay with ESP8266 and ESP32 coming soon.
@TojoBasheer5 жыл бұрын
nice presentation , is it possible to make once pressed push button automatically off after specific time
@robojax5 жыл бұрын
I have another video for that kzbin.info/www/bejne/bHWqgpuHnNdqd80 and this with display to show the time kzbin.info/www/bejne/eJmoenmwe7iAq6c
@gregusadam25254 жыл бұрын
Hi.I love your videos. Can i ask a question ? How can I set the relayPin to LOW at the start of the program ? i didnt hear it in the video. Thanks for your reply : :D
@robojax4 жыл бұрын
Hi, Thank you. I have mentioned it in code at 7:00 the initial status you set it either HIGH or LOW.
@yogeshitaliya4736 жыл бұрын
Nice sir
@oqbamohammad44306 жыл бұрын
thank you for this Great video. If I want to control these relays by using the buttons and blynk or another app do I have to change the code.?
@robojax6 жыл бұрын
If any app involved, you would have to have a bluetooth module so Arduino can receive command from the app. Here is my other video showing you to control AC bulb using app and phone kzbin.info/www/bejne/Y3ace2x7rcmNaJI
@oqbamohammad44306 жыл бұрын
Thanks for your answer But I need to control the relays with the bottons and with blynk app ( via ethernet) at the same time.
@vote84473 жыл бұрын
Can I use just 1 button to control all 4?
@robojax3 жыл бұрын
that would be the easiest. you don't all this missy code. use the code in this video kzbin.info/www/bejne/bXSmhIWpasepfpI to turn 1 relay and then put digitalWrite () for all 4 relay. Of course you can't skip the videos. you have to watch and learn because my videos are unlike you have ever seen. I explain it so viewer learn.
@romilaranas8652 жыл бұрын
if possible add code switch case
@faizeri49504 жыл бұрын
Mas mohon bantuannya, buatkan video bagai mana rangkaian & sourceCode nya jika menggunakan 5 push Button & 5 relay? Tambahannya " jika salah satu push button d tekan (status ON), maka yang lainnya mati ", (Hanya 1 tombol yg ON, otomatis mematikan yg lain OFF), Terimakasih mas
@robojax4 жыл бұрын
permintaan Anda sangat spesifik dan tidak ada orang lain yang membutuhkannya. Jadi, Anda harus memodifikasi kode ini untuk kebutuhan Anda. ini memiliki 4 relay dan Anda hanya membuat satu lagi 5. Tetapi untuk menjaga HANYA salah satu dari mereka AKTIF pada satu waktu, yang memerlukan perubahan mendasar dari kode dan perlu banyak waktu. Saya tidak punya waktu seperti itu.
@logeshp34406 жыл бұрын
Good video.. can you make one using basic on off wall switch ?
@robojax6 жыл бұрын
do you want to turn ON home light bulb? or something else? This relay is SWITCH.
@logeshp34406 жыл бұрын
@@robojax i want to turn on ac bulb via phone as well as basic wall switch
@robojax6 жыл бұрын
here is my video with the code to turn ON or OFF AC bulb with phone kzbin.info/www/bejne/Y3ace2x7rcmNaJI
@F_Tandel5 жыл бұрын
Hi. Plz provide code to controll 4 channel relay module with micro switch as well as IR remote.
@robojax5 жыл бұрын
Here is 4 channel relay control kzbin.info/www/bejne/jZPQZIB5gsyAldU and watch my videos on Infrared Remote and you should be able to do it here kzbin.infosearch?query=remote
@zibajoe68785 жыл бұрын
hello. i have a project designed to control 8 relays with 8 push buttons and a display the actuated circuit e.g lamp. please help me with a code for such
@robojax5 жыл бұрын
Hi, did you search my channel for keyword "8 channel" ?
@nonamej9095 жыл бұрын
hi sir can you help me I want to push 1 switch 1 time 1 relay on and 3 relays automatic off
@robojax5 жыл бұрын
Hi, I have a lot of videos on push buttons with relay. Watch and you should be able to do it. I have a course on Udemy where you can learn Arduino from beginner to advanced here is the link bit.ly/rj-udemy
@viveksingh-ey5hl3 жыл бұрын
Sir how can I control these relay through voice command please help me
@robojax3 жыл бұрын
Yes you can. I have a video on voice control. Watch that and replace the push buttons with output from voice . Here is how to find a video in a KZbin channel bit.ly/findKZbinVideo
@viveksingh-ey5hl3 жыл бұрын
@@robojax sir the link which you have provided me is unavailable and Thankyou for the reply sir
@மனுநீதிசோழன்-ன8ழ4 жыл бұрын
int val = digitalRead(pushButton[i]); // initially val=HIgh becuse of pullup register right sir? if(val == HIGH && relayStatus[i] == LOW){ // Here if function cant perfom becuse of comparision faild initially right sir? pushed[i] = 1-pushed[i]; // so here 1-0 =1 but the loop consider the intial value int pushed[] ={0,0,0,0}; delay(100); } relayStatus[i] = val; // relaystatus is = 1 correct sir ? Sir, please explain to me the above process 😒😒😒😒 Thanks, a lot for your reply
@robojax4 жыл бұрын
initial value is what you want. You can set anything you like. For explanation you have to watch the video. I can't explain it better than what is in the video.
@md.robiulislam46664 жыл бұрын
Please give me. 4 realy Four button sw control with time up/ doun code
@robojax4 жыл бұрын
Please see all relay related videos kzbin.infosearch?query=relay
@sureshkumarm7384 жыл бұрын
when two button is pressed at same timeany one relay only working
@robojax4 жыл бұрын
yes. they are independent. I have set some delay in the loop, so if you keep it longer, it will turn on and but keeping it very long will turn it off. I have not tested but this how I understand it.
@romilaranas8652 жыл бұрын
How to make 1 function only ...if i press button 1 ang press buttons 2 na buttons 1 automatic turn off and press 3 or 4 buttons 2 off .
@robojax2 жыл бұрын
Hi, I answer this to someone else. Find it in the comments
@romilaranas8652 жыл бұрын
do you have a short tutorial ☺️
@pedalankakalyan65144 жыл бұрын
What are you saying about.?🤔🤔🤔
@robojax4 жыл бұрын
? not fore then. is is about Arduino and programming.
@mobster69695 жыл бұрын
it only works for 3
@robojax5 жыл бұрын
what do you mean? check the code or your wiring.
@HarbansSingh-ce2tm4 жыл бұрын
Ttp 229 , 16 channal on & off arduino with 433mhz transmitor and Reciver code & daigram with video
@robojax4 жыл бұрын
wow. This is huge project. Wiring diagram is not available. You have to use fritzing (free) to do it. but the project is too custom. Here are my videos on 16 channel relay kzbin.info/door/kcBSig_Iu4ZnAIeCeG1TVgsearch?query=16+channel+relay