Hello Ahmad, thank you again for your EXCELLENT videos! This video is going to help me immensely very soon. I will be having buttons in a steering wheel control several accessories. Since i am limited on how many wire traces can be in the clockspring device in the ateering wheel (sometimes called the airbag spiral cable), this will help to consolidate all my buttons into one wire for each group of 8 buttons (2 wires total for 16 buttons). As well as an illumination wire for the leds in the buttons (from my headlight signal), a 5v wires from my 5v supply, and then a ground wire which might be able to bypass and take a ground from the steering wheel itself as it is grounded. That is amazing because I have 6 wire traces available in my clock spring. Just wanted to again express my appreciation to your excellent , well made videos. Very easy to follow and understand most reasoning behind the project as an inexperienced arduino beginner. Cheers my friend
Hello @hammer7338, I am glad you ound it useful. Actually this was requested by more than 2 persons and then I made the video. I have offered it two versions. you are looking at V2. There is V1 czcams.com/video/MeWgnt0YLj8/video.html without the relay and might have some differences. Good luck with your project. Cheers
Can the pushbuttons be replaced with a keypad? I am designing an LED stairwell lighting system with a PIR sensor but would like to implement a keypad that would allow one to activate various different light patterns depending on the button pressed on keypad, ie. 1 = cascading effect, 2 = chasing LED, 3= comet effect etc. I find your videos extremely educational and truly appreciate that you explain the code line by line as it aids me in learning it instead of just assembling things.
I am not sure how your project works, but I have explained it that the push buttons are connecting the circuit so the voltage is divided, now if you replace it with something else to do the same, I should work.
Hi, you made me watch the video. I have explained it. This video is Version 2. there is Version 1. But in both I have clearly explained it if you don' t skip and watch it fully. it could not be done better than this.
I can make this. I can only follow and copy and paste the code. So please make it. Greetings, I'm from Indonesia I want a power sequencer like the Ashlly brand dbx tool name is power squencer@@robojax
MIN AND MAX VOLTAGES ON THE VOLTAGE DIVIDER Suppose we need 10 buttons We need 10 resistors in the voltage divider Suppose we use +/- 10% tolerance resistors The voltage on the first tap closest to ground will nominally be 0.1 of the Vcc However the maximum voltage that can be present on the 1st tap is when the first resistor is the biggest ie 1100 ohms and the other 9 resistors are the smallest ie 900 Ohms each The total resistance of above situation will be 9200 ohms and hence the maximum voltage on the first tap will be 1100/9200 of the Vcc ie 0.1196 of the Vcc So we see that 10 resistors of 10% tolerance can lead to almost 20% deviation on the first tap. If we use 10% voltage window in the Arduino code, there is a possibility that there will be troubles in reading the resistors that are closest to ground. I mean, suppose we program that the allowed voltage on first tap is (0.1 of Vcc +/- 10%), but the mathematics say that 10% tolerance resistors can lead to 20% deviation on the first few taps, and we therefore receive a voltage of (0.1 of Vcc + 20%), then the program will not be able to allocate this voltage reading to a button and that key press will therefore be ignored. The way to solve this issue is that for 10 resistors in the voltage divider, the first 4 or 5 resistors of voltage divider closest to ground should be 1% tolerance and the rest can be 10% tolerance. This makes sure that the voltages at each tap are within +/- 10% of the nominal value or better still, all resistors should be +/- 1% tolerance.
Hi Ahmad, Hi Ahmad, I would like you to make a very simple video with as simple programming as possible that by pressing a simple push button an LED lights up but only goes out after a certain period of time. predetermined time. (OFF DELAY). Thank you very much Ahmad.
what is the name of control module before the relay module?? can i replace this to the bottons of amplipier converting into differend functions instedad of valve??
which module? the Microcontroller? that is Arduino and the whole video is about Arduino. I have two or three courses on that. One of them starts from this video bit.ly/sunfouder
Supose I just want one output on each time when I trigger a pushbutton (upper) and other pushbutton triggering to down in reverse sequence. Additionally no matter you try to trigger in extreme positions the output doesn't change keeping allways on. Something like that sequence (0000/0001/0010/0100/1000). Can you give me a clue how to handling this chalange? tks in advance
hello my name is israel hailu, am trying to build a DIY force feed back steering wheel and I want to include 8 or more buttons with three output like this, the code (firmware) uploaded on the arduino leonardo support buttons on the digital pin when 1 wire of the button connected to one digital pin and the other to the ground. but since I don't have enough digital pin to incorporate 8 buttons. so can I use this button circute configuration without the code in my project
Thank you for letting me know. I just added the link to Version 1 and Version 2 of this video. You could have searched. I tested the search and it worked if you typed push button or 10 push button. By the way you are watching V2, here is Version 1 czcams.com/video/MeWgnt0YLj8/video.html
Hi I also have another question. I would you add in the code to have a specific button to turn on a specific led or relay to turn on and but then automatically off for a couple of seconds?
Hi, this could be done in two ways. add delay right after turning the relay on like delay (3000); 3000ms = 3 seconds then turn it OFF and add delay . but this will keep the system waiting until the time is over. the other way would be to use millis() which will not keep waiting . here is the video on millis() czcams.com/video/obBX9hyH5mM/video.html . all my codes and videos are free. but if you need specific project, you can pay me to wrote code for you. contact me via robojax.com contact page. minimum cost if $100. Thanks
Hello Sir, I'm just beginner and stared Arduino programing 2 months before...….While complying this code, I'm getting error as 'analogReadResolution' was not declared in this scope....Please advise....Thank you so much for great educational video.
Hello, if you've watched the video and read the line in the code, analogReadResolution(BIT_SOLUTION);//for Due, MKR only is says as comment //for Due, MKR only it means if your Arduino board is Due and MKR, then use this line. else, comment it out. meaning put // at the beginning of line so it doesn't belong part of the code. Learn Arduino in 30 Minutes (video): robojax.com/L/?id=135
Hi there, I was able to get the six relays to turn on but I'm having trouble with the last two on. I first test out with 8 led lights and it works fine then I tired the relays. I was wondering if the adruino board supply limited amount of current depending how many pins is being use or if the adruino board is not receiving enough power or should I consider getting a new 8 channel relay?
Hi, I am not sure which version of Arduino you have and also how you powered it up. So first measure the current of one relay when it is ON and multiply it by 8 if for example each relay needs 70mAx8=560mA is the total. if you are powering it from USB, then most USBs can supply to max of 2000mA and there should not be any issue. but if you are powering it up via power adapter like 9V or 12V, then the converter on the Arduino board determines how much current is passing at 5V power. Check that 5V converter chip. The best way would be to supply independent 5V directly to the relay module. Search my channel for 8 or 16 channel relay. Good luck
Thanks Blondie ! Please guide me to time code in video where Ahmad showed noisy switches and where he added debounce code. Ahmad's code is slow since he calculated some values over and over again in his loop instead of once in his setup. Also he added some 100ms delays. Are these delays sufficient to debounce ?
wow. yes possible. 4 project together. You should have posted this comment either under 4 channel touch , or 4 channel relay, or ultrasonic or OLEd. get them and combine them. I've explained each fully so you watch, learn and combine. Good luck.
Walaikum Salam, Search my channel for the touch sensor and connect the output to this. It should be simple. I have explained it fully, you gotta learn and so it, you can’t blindly do it.
Would it be possible to trigger multiple pins and or send out rs232 commands? I need seven buttons each will trigger up to four relays with one relay being turned off then on again about 3 seconds later. Also need to have it send out rs232 commands on three ports (Arduino Mega). I can only have one button active at a time. Am I going down the right path using this example?
No sure what you are doing. But you gotta break it down into sending command via RS232, then controlling relay, then timing management. first find a way to send commands and be able to print it on serial monitor. This video is not helping.
@@robojax Thank you for your response. I really like the idea of using analog input and tracking the voltages. I have a code now that I am using, but one of the seven buttons is acting up, and I can't find the reason why. I would be happy to show you the code if you can tell me where to send it.
this is Version 2 of the same idea. but the first V1 does not have relay. your issue might be the wiring or wrong value of resistor if your code is okay.
Thank you sir !! I wanted ask you, are there lots of code in the loop which actually should have been executed only once in the setup , like the calculations of the expected voltages and tolerances in those voltages ? Would it have been better to calculate all those variables only once in the setup, put in an array and access the variables from the loop without repeated re-computation ?
Hello ., anything that is not needed repeated calculation, would be good idea to have inside the setup. I don't remember what I did in this video. but if there is such thing, move them inside the setup. You are welcome. Please subscribe. I appreciate it and helps my channel grow. Thank you
making 10 push buttons from one input was a revolution that I made. now 45 is extreme but possible with multiple inputs. I used it one Analog input A0 , you define all variables for A1 which adds 10 more and the the same for A2, A3, A4 and A5 which you can get total of 50. Just watch the code section of the video 2, 3, 5 or 10 times so you know how it works and write it. it is very easy. Why easy? because I have explained everything . This is I learn when I want to learn something. Of course if there is proper tutorial or document which in this case there is . Good luck.
Hello although the Arduino board is 5v. Is there a way to allow incoming voltage to be 12v. I would like to make a program or code so that when I deliver 12 V somehow to the Arduino board but it runs Some code to turn an LED on. Ultimately I would like to have three options. I would like to have three inputs that are each 12 vaults each. but somehow separate them so the Arduino board can detect the difference between them. And I would like these inputs to be able to operate three leds. Can you help me
@@robojax Following possibilities also exist A) you press 2 buttons, the voltage that is read corresponds to another button that was not pressed, so the action associated with a non pressed button is done. B) it's also possible that the voltage generated by pressing multiple buttons does not get recognised as corresponding to any single button, then the program does nothing.
Hi I'm new to Arduino programming I'm trying out the code but I keep getting errors missing terminating character and void control output if you can help thanks
Hello sir, is there a way to make the output happen after a combination of the buttons? Like you push button 1, then 3, then 2 and the output happens. Please help.
Hello, not possible because the cviltage is equally calculated and some of any switch is equal to voltage of a switch. Watch fully as I have explained it fully.
Yo accomplish what? To control multiple relay with push buttons? I have so many videos on relay . How’re is how to find a video in a CZcams channel czcams.com/video/OhkUceBWcHs/video.html
Assalamualikum, Hope you are well. You are very experienced regarding arduino/ESP boards and I need your guidance/assistance that is Do you tell me Is it possible to control AC FAN dimmer (with zero cross detection) both By two Physical push BUttons (for speed increasing and decreasing) manually and also By Blynk app slider button for controlling speed through wifi.only zero cross detected esp8266 family board and blynk app slider button based AC fan dimmer code is available in internet but those are not manually controllable at all when wifi is not available. I ask the question because facing very difficulties to write the code for integrating push button function with only wifi controlled code (By blunk app slider button) . do you know is it possible or not ?
Walaikum salaam, my only experience with dimmer is this czcams.com/video/zJQf6bNodhE/video.html and have no experience with any other board. the comment should have been posted under a dimmer. I don't know why you posted here.
وعلیکم السلام ، خوب باید یا آرایه از محاسبه تمام حالات ممکنه دکمه ها که منجر به ایجاد یک ولتاژ خاصی میشود را ایجاد کرد و هرزمانی که همان ولتاژ خوانده شد میشود فهمید که کدام دو دکمه فشرده شده اند. اما ضریب دقت شاید ۵۰ تا ۶۰ فیصد باشد. این گفتارم بدون مخاسبه ابراز شده . شاید هم نتیجه ای غیر ازین گرفت. اما پروژهٔ جالبی خواهد بود .
Hello Ahmed! I want to ask, do you accept suggestions for art reno projects? Or is there a way I can pay you to create a solution for me using arduino? I I'm hoping to create a Project with artino which involves pressing a momentary Button one time to turn on an output, But if the same button is pressed twice within one second, it will turn on a different output. So one button to turn on Different Outputs depending on if the button is pressed one time or 2 times within 1 second. Please let me know if you can help me to create this project. I am willing to pay you for your help. If this is at all possible. thank you again for your wonderful videos. They help me so much. Richard from San Diego
Hi, you could hire me, I am on vacation for 3 weeks starting today. If you needed me after that contact me via Robojax.com contact page from the link at the bottom of page. I can help you.
THANK YOU!! I will be in contact after your vacation! Do you have a rough, general idea of what your service would cost for designing such a project? I understand if this is best said through another form of contact. Cant wait to chat further! I am excited for what can be done with Arduino!! @robojax
Please subscribe 🛎 and thumb up 👍. Thanks
I've subscribed
It was a useful and educational video. I watched it with pleasure.
Glad you enjoyed it!
Hello Ahmad, thank you again for your EXCELLENT videos!
This video is going to help me immensely very soon.
I will be having buttons in a steering wheel control several accessories. Since i am limited on how many wire traces can be in the clockspring device in the ateering wheel (sometimes called the airbag spiral cable), this will help to consolidate all my buttons into one wire for each group of 8 buttons (2 wires total for 16 buttons). As well as an illumination wire for the leds in the buttons (from my headlight signal), a 5v wires from my 5v supply, and then a ground wire which might be able to bypass and take a ground from the steering wheel itself as it is grounded. That is amazing because I have 6 wire traces available in my clock spring.
Just wanted to again express my appreciation to your excellent , well made videos. Very easy to follow and understand most reasoning behind the project as an inexperienced arduino beginner.
Cheers my friend
Hello @hammer7338, I am glad you ound it useful. Actually this was requested by more than 2 persons and then I made the video. I have offered it two versions. you are looking at V2. There is V1 czcams.com/video/MeWgnt0YLj8/video.html without the relay and might have some differences. Good luck with your project. Cheers
just superb, thanks for explaining the code line by line,very educational vid indeed.
You are very welcome. I am pleased that you liked Stay safe.
فوق العاده ممنون از اموزش های خوبتان ایا می توان از همین روش برای سنسور های IR هم استفاده کرد برای تشخیص فاصله
سلام علیکم. مجرا (کانال) فارسی علم و فن را راه اندازی کردم: لطفا به دوستان تان خبردهید و حمایتم کنید.
www.youtube.com/@ilmofan
Thanks for posting this helpful video. The code is very elegant and well explained.
Glad you like it
Can the pushbuttons be replaced with a keypad? I am designing an LED stairwell lighting system with a PIR sensor but would like to implement a keypad that would allow one to activate various different light patterns depending on the button pressed on keypad, ie. 1 = cascading effect, 2 = chasing LED, 3= comet effect etc. I find your videos extremely educational and truly appreciate that you explain the code line by line as it aids me in learning it instead of just assembling things.
I am not sure how your project works, but I have explained it that the push buttons are connecting the circuit so the voltage is divided, now if you replace it with something else to do the same, I should work.
Nice content and well explained
How did you calculate the voltage after you calculate the resisters in parallel?
Hi, you made me watch the video. I have explained it. This video is Version 2. there is Version 1. But in both I have clearly explained it if you don' t skip and watch it fully. it could not be done better than this.
سلام بر استاد عزیز . تشکر بابت آموزش مفیدتان .
وعلیکم السلام. خواهش میکنم. سلامت باشید. .
سلام علیکم. مجرا (کانال) فارسی علم و فن را راه اندازی کردم: لطفا به دوستان تان خبردهید و حمایتم کنید.
www.youtube.com/@ilmofan
Hello and thank you for your tutorial, your work, Ahmad
As allways, very good video!
Glad you enjoyed it!
Great work👍👍,up up up
Appreciated
@@robojax 👏👏👏👏
Hi Sir, My question is little off topic.
I wanted to know whether to use anti-static bands while working with arduino boards, modules and sensors?
Hello, no you don't need it. I've been using for years and nothing bad has happened.
MERRY CHRISTMAS FROM USA
Merry Christmas.
Very good, excelent.
Thank you! Cheers!
เป็นความคิดที่ดี ทำแบบนี้ได้หลายร้อยปุ่มกดเลยใช่ไหม
สูงสุด 10 พร้อม 1 อินพุต ดูเหมือนว่าคุณจะไม่ได้ดูวิดีโออย่างเต็มที่ เชิญชมครับ. คุณจะได้เรียนรู้สิ่งต่างๆมากมาย ฉันใช้เวลาประมาณ 4 หรือ 5 วันในการสร้างวิดีโอนี้
@@robojax อยากให้ทำ 7 segment temp display size A4 แสดงอุณหภูมิ แบบเรียลไทม์บ้างครับ
This circuit is good. Can you add 1 more button to make it an on and off button in sequence, similar to a power sequencer, please make a method
Put seem you may have not watched the video fully. You can do as many as you like as long as it helps voltage values so not overlap. Just try
I can make this. I can only follow and copy and paste the code. So please make it. Greetings, I'm from Indonesia
I want a power sequencer like the Ashlly brand
dbx tool name is power squencer@@robojax
MIN AND MAX VOLTAGES ON THE VOLTAGE DIVIDER
Suppose we need 10 buttons
We need 10 resistors in the voltage divider
Suppose we use +/- 10% tolerance resistors
The voltage on the first tap closest to ground will nominally be 0.1 of the Vcc
However the maximum voltage that can be present on the 1st tap is when the first resistor is the biggest ie 1100 ohms and the other 9 resistors are the smallest ie 900 Ohms each
The total resistance of above situation will be 9200 ohms and hence the maximum voltage on the first tap will be 1100/9200 of the Vcc ie 0.1196 of the Vcc
So we see that 10 resistors of 10% tolerance can lead to almost 20% deviation on the first tap.
If we use 10% voltage window in the Arduino code, there is a possibility that there will be troubles in reading the resistors that are closest to ground. I mean, suppose we program that the allowed voltage on first tap is (0.1 of Vcc +/- 10%), but the mathematics say that 10% tolerance resistors can lead to 20% deviation on the first few taps, and we therefore receive a voltage of (0.1 of Vcc + 20%), then the program will not be able to allocate this voltage reading to a button and that key press will therefore be ignored.
The way to solve this issue is that for 10 resistors in the voltage divider, the first 4 or 5 resistors of voltage divider closest to ground should be 1% tolerance and the rest can be 10% tolerance. This makes sure that the voltages at each tap are within +/- 10% of the nominal value
or better still, all resistors should be +/- 1% tolerance.
this video has two versions. watch the other version of this too.
Thank you brother Ahmad
Please be kind to inform me the link to the other version of this video.
I learnt a lot from your video. Thank you
good job, thank you for sharing.
Thank you too!
Hi Ahmad, Hi Ahmad, I would like you to make a very simple video with as simple programming as possible that by pressing a simple push button an LED lights up but only goes out after a certain period of time. predetermined time. (OFF DELAY). Thank you very much Ahmad.
I have the video czcams.com/video/2WwedCRwmgA/video.html always search my channel
Here my friend. I just made the video when you asked for it: czcams.com/video/7xTHaFdCyaI/video.html
Excellent stuff as always!
Thank you! Cheers!
Nice 👍👍 i like this.
Thank you! Cheers!
what is the name of control module before the relay module?? can i replace this to the bottons of amplipier converting into differend functions instedad of valve??
which module? the Microcontroller? that is Arduino and the whole video is about Arduino. I have two or three courses on that. One of them starts from this video bit.ly/sunfouder
Nice and detailed sir,...will this works on esp32? Thanks Sir!
This code won’t work.,You are welcome. The best thank you for me is to subscribe to my channel. Thank you.
Supose I just want one output on each time when I trigger a pushbutton (upper) and other pushbutton triggering to down in reverse sequence.
Additionally no matter you try to trigger in extreme positions the output doesn't change keeping allways on. Something like that sequence (0000/0001/0010/0100/1000).
Can you give me a clue how to handling this chalange? tks in advance
hello my name is israel hailu, am trying to build a DIY force feed back steering wheel and I want to include 8 or more buttons with three output like this, the code (firmware) uploaded on the arduino leonardo support buttons on the digital pin when 1 wire of the button connected to one digital pin and the other to the ground. but since I don't have enough digital pin to incorporate 8 buttons. so can I use this button circute configuration without the code in my project
The code referenced in the video is different to the code linked in the description. The linked code doesn't work.
Thank you for letting me know. I just added the link to Version 1 and Version 2 of this video. You could have searched. I tested the search and it worked if you typed push button or 10 push button. By the way you are watching V2, here is Version 1 czcams.com/video/MeWgnt0YLj8/video.html
Hi I also have another question. I would you add in the code to have a specific button to turn on a specific led or relay to turn on and but then automatically off for a couple of seconds?
Hi, this could be done in two ways. add delay right after turning the relay on like delay (3000); 3000ms = 3 seconds then turn it OFF and add delay . but this will keep the system waiting until the time is over. the other way would be to use millis() which will not keep waiting . here is the video on millis() czcams.com/video/obBX9hyH5mM/video.html . all my codes and videos are free. but if you need specific project, you can pay me to wrote code for you. contact me via robojax.com contact page. minimum cost if $100. Thanks
Hello Sir,
I'm just beginner and stared Arduino programing 2 months before...….While complying this code, I'm getting error as 'analogReadResolution' was not declared in this scope....Please advise....Thank you so much for great educational video.
Hello, if you've watched the video and read the line in the code,
analogReadResolution(BIT_SOLUTION);//for Due, MKR only
is says as comment //for Due, MKR only it means if your Arduino board is Due and MKR, then use this line. else, comment it out. meaning put // at the beginning of line so it doesn't belong part of the code. Learn Arduino in 30 Minutes (video): robojax.com/L/?id=135
@@robojax Thank you so much.....You are a great instructor....
I like! Can I add SD card player for Arduino and active tex 20 button with 20 sounds??
sorry I did not understand what you are trying to do .
Hi there, I was able to get the six relays to turn on but I'm having trouble with the last two on. I first test out with 8 led lights and it works fine then I tired the relays. I was wondering if the adruino board supply limited amount of current depending how many pins is being use or if the adruino board is not receiving enough power or should I consider getting a new 8 channel relay?
Hi, I am not sure which version of Arduino you have and also how you powered it up. So first measure the current of one relay when it is ON and multiply it by 8 if for example each relay needs 70mAx8=560mA is the total. if you are powering it from USB, then most USBs can supply to max of 2000mA and there should not be any issue. but if you are powering it up via power adapter like 9V or 12V, then the converter on the Arduino board determines how much current is passing at 5V power. Check that 5V converter chip. The best way would be to supply independent 5V directly to the relay module. Search my channel for 8 or 16 channel relay. Good luck
Dear Ahmad, was there any need to debounce the switches ?
Were there any glitches due to no debouncing code ?
Thanks Blondie !
Please guide me to time code in video where Ahmad showed noisy switches and where he added debounce code.
Ahmad's code is slow since he calculated some values over and over again in his loop instead of once in his setup. Also he added some 100ms delays. Are these delays sufficient to debounce ?
Sir. Make water level with float sensor and seven segment display and 9 level and tenk is full motor auto off and inqulod buzzer alarm
Thanks
sure the video is coming in 1 or two months. I have the components.
@@robojax ok sir👍👍
Is it possible Arduino Nano can handle 4 Relay, 4 Touch Sensor, one Ultrasonic Sensor, one OLED & one buzzer (all in one circuit)
wow. yes possible. 4 project together. You should have posted this comment either under 4 channel touch , or 4 channel relay, or ultrasonic or OLEd. get them and combine them. I've explained each fully so you watch, learn and combine. Good luck.
Assalamualaikum! Can i make it so the button makes sound when pressed and how would i
Walaikum Salam, yes search for buzzer in my channel
Assalamualaikum, how to make it if I want to use ttp223 sensor for replace the button?
Walaikum Salam, Search my channel for the touch sensor and connect the output to this. It should be simple. I have explained it fully, you gotta learn and so it, you can’t blindly do it.
Would it be possible to trigger multiple pins and or send out rs232 commands? I need seven buttons each will trigger up to four relays with one relay being turned off then on again about 3 seconds later. Also need to have it send out rs232 commands on three ports (Arduino Mega). I can only have one button active at a time. Am I going down the right path using this example?
No sure what you are doing. But you gotta break it down into sending command via RS232, then controlling relay, then timing management. first find a way to send commands and be able to print it on serial monitor. This video is not helping.
@@robojax Thank you for your response. I really like the idea of using analog input and tracking the voltages. I have a code now that I am using, but one of the seven buttons is acting up, and I can't find the reason why. I would be happy to show you the code if you can tell me where to send it.
this is Version 2 of the same idea. but the first V1 does not have relay. your issue might be the wiring or wrong value of resistor if your code is okay.
can you create a code for 1 button to turn on all 1 - 10 led's one by one until all 10 led's are lighted on?
you should have searched my channel. here is the Ultimatge LED video czcams.com/video/OSwleCBlkuI/video.html
Can you show us how you did the 10-button?
That is exactly why I made the video. It has been explained fully
Thank you sir !!
I wanted ask you, are there lots of code in the loop which actually should have been executed only once in the setup , like the calculations of the expected voltages and tolerances in those voltages ?
Would it have been better to calculate all those variables only once in the setup, put in an array and access the variables from the loop without repeated re-computation ?
Hello ., anything that is not needed repeated calculation, would be good idea to have inside the setup. I don't remember what I did in this video. but if there is such thing, move them inside the setup. You are welcome. Please subscribe. I appreciate it and helps my channel grow. Thank you
sir ... please help .. i need more push button and relay about 45 pcs . how to do using arduino ..
thankyou ..
making 10 push buttons from one input was a revolution that I made. now 45 is extreme but possible with multiple inputs. I used it one Analog input A0 , you define all variables for A1 which adds 10 more and the the same for A2, A3, A4 and A5 which you can get total of 50. Just watch the code section of the video 2, 3, 5 or 10 times so you know how it works and write it. it is very easy. Why easy? because I have explained everything . This is I learn when I want to learn something. Of course if there is proper tutorial or document which in this case there is . Good luck.
Hello although the Arduino board is 5v. Is there a way to allow incoming voltage to be 12v.
I would like to make a program or code so that when I deliver 12 V somehow to the Arduino board but it runs Some code to turn an LED on.
Ultimately I would like to have three options.
I would like to have three inputs that are each 12 vaults each. but somehow separate them so the Arduino board can detect the difference between them.
And I would like these inputs to be able to operate three leds.
Can you help me
Here you can measure any voltage with arduino czcams.com/video/t8xwrVj2aFs/video.html
@@robojax thanks what country are you in
What happened if you will press an hold for a while two or three buttons at the same time?
you will always get ONE voltage which fits to value of a push button and that value will be displayed. no harm.
@@robojax
Following possibilities also exist
A) you press 2 buttons, the voltage that is read corresponds to another button that was not pressed, so the action associated with a non pressed button is done.
B) it's also possible that the voltage generated by pressing multiple buttons does not get recognised as corresponding to any single button, then the program does nothing.
How i can disable the input button while other button pressed
It is already disabled. You can’t read all the switches at once
press button 1 the relay is on if i press the button 2 the relay 1 connect to button 1 if possible turning off i press only the button 2
Hi I'm new to Arduino programming I'm trying out the code but I keep getting errors missing terminating character and void control output if you can help thanks
It means you have changed the code or have not copied it properly
Hello sir, is there a way to make the output happen after a combination of the buttons? Like you push button 1, then 3, then 2 and the output happens. Please help.
Hello, not possible because the cviltage is equally calculated and some of any switch is equal to voltage of a switch. Watch fully as I have explained it fully.
Thank you for the reply sir, do you have a video on how to accomplish what I am trying to do? Or any idea how to
Yo accomplish what? To control multiple relay with push buttons? I have so many videos on relay . How’re is how to find a video in a CZcams channel czcams.com/video/OhkUceBWcHs/video.html
Assalamualikum, Hope you are well. You are very experienced regarding arduino/ESP boards and I need your guidance/assistance that is Do you tell me Is it possible to control AC FAN dimmer (with zero cross detection) both By two Physical push BUttons (for speed increasing and decreasing) manually and also By Blynk app slider button for controlling speed through wifi.only zero cross detected esp8266 family board and blynk app slider button based AC fan dimmer code is available in internet but those are not manually controllable at all when wifi is not available. I ask the question because facing very difficulties to write the code for integrating push button function with only wifi controlled code (By blunk app slider button) . do you know is it possible or not ?
Walaikum salaam, my only experience with dimmer is this czcams.com/video/zJQf6bNodhE/video.html and have no experience with any other board. the comment should have been posted under a dimmer. I don't know why you posted here.
10 push button and 10 LED between two arduino serial communication make video
have you subscribed?
سلام علیکم
چطوری همزمان ۳ دکمه ازین ۱۰ دکمه را فشار بدیم متوجه بشیم؟؟؟
وعلیکم السلام ، خوب باید یا آرایه از محاسبه تمام حالات ممکنه دکمه ها که منجر به ایجاد یک ولتاژ خاصی میشود را ایجاد کرد و هرزمانی که همان ولتاژ خوانده شد میشود فهمید که کدام دو دکمه فشرده شده اند. اما ضریب دقت شاید ۵۰ تا ۶۰ فیصد باشد. این گفتارم بدون مخاسبه ابراز شده . شاید هم نتیجه ای غیر ازین گرفت. اما پروژهٔ جالبی خواهد بود .
Hello Ahmed! I want to ask, do you accept suggestions for art reno projects? Or is there a way I can pay you to create a solution for me using arduino?
I I'm hoping to create a Project with artino which involves pressing a momentary Button one time to turn on an output, But if the same button is pressed twice within one second, it will turn on a different output. So one button to turn on Different Outputs depending on if the button is pressed one time or 2 times within 1 second.
Please let me know if you can help me to create this project. I am willing to pay you for your help. If this is at all possible. thank you again for your wonderful videos. They help me so much.
Richard from San Diego
Hi, you could hire me, I am on vacation for 3 weeks starting today. If you needed me after that contact me via Robojax.com contact page from the link at the bottom of page. I can help you.
THANK YOU!! I will be in contact after your vacation!
Do you have a rough, general idea of what your service would cost for designing such a project? I understand if this is best said through another form of contact.
Cant wait to chat further! I am excited for what can be done with Arduino!! @robojax
👍👍👍👍👍👍👍
😊 👍 🔔
up
THX
10 output 1 input by 1 push button
Bu that is very easy and doesn’t need any resistor.
Here you can learn it from this video czcams.com/video/OSwleCBlkuI/video.html