Push Button and LED with Arduino(code explained) | Control LED with push button | Arduino Tutorial 3

  Рет қаралды 77,961

Tech at Home

Tech at Home

Күн бұрын

Пікірлер: 35
@farwakhan878
@farwakhan878 Жыл бұрын
Sir what if the push button have four terminals then how will i connect that. In your video it had only two terminals but the push button i got having four terminals
@techathome
@techathome Жыл бұрын
There is no difference in the functionality. 4 pin buttons are used to control two devices together, but you can still use the same in this case. Keeping the button pressed, check which two pins are getting connected used continuity tester(on multimeter)
@farwakhan878
@farwakhan878 Жыл бұрын
​@@techathome thanku sir😊
@sewingmachinesindetail
@sewingmachinesindetail Жыл бұрын
Thank you for this tutorial. I like to ask you about the types of the parameters used. When You use PinMode(6,INPUT). Could it have been PinMode(s,INPUT) ? Cound s have been declared as a constant instead of an integer? Do digitalRead(s) require, that you use an integer as parameter?
@techathome
@techathome Жыл бұрын
Welcome! Not necessarily int. You can also use byte as datatype. Since the value(6) is small and accommodate within 255(max size of byte). But Const is a keyword. You can use this for pin declarations since the pin number is fixed. Ex: const int s= 6; or const byte s= 6;
@sewingmachinesindetail
@sewingmachinesindetail Жыл бұрын
@@techathome Thank you. 🙂
@nakshff1705
@nakshff1705 Жыл бұрын
The link you have provided for code and circuits is not open for any video.pleaee help
@techathome
@techathome Жыл бұрын
That is compressed file. Install winRaR software on your computer and extract using it.
@tinmihalic6618
@tinmihalic6618 Жыл бұрын
How to make simulink model to make it work instead of coding
@techathome
@techathome Жыл бұрын
I have not tried it.
@JyotshnasriBonda
@JyotshnasriBonda 19 күн бұрын
Can we use 13 pin ?
@techathome
@techathome 18 күн бұрын
Yes
@electronicsideas1361
@electronicsideas1361 Жыл бұрын
If button is pressed 3 times with then..LED ON HOW TO DO HELP ME
@techathome
@techathome Жыл бұрын
You have to keep a counter and monitor the value until 3 count. Can you send request on mail: deepakhd20@gmail.com
@sriumeshsandala7674
@sriumeshsandala7674 2 жыл бұрын
Can we use 1k resistor?
@techathome
@techathome 2 жыл бұрын
You can use
@novideos9144
@novideos9144 3 жыл бұрын
Starting and ending circuit are different
@sojunkchandra
@sojunkchandra Жыл бұрын
Wonderful❤
@techathome
@techathome Жыл бұрын
Thanks 🤗
@sarimabdullah3606
@sarimabdullah3606 2 жыл бұрын
it is not working
@adilabusafa
@adilabusafa Жыл бұрын
أهلاً وسهلاً ومرحباً بك-شكراً لك-يتعذر التعليق-لا أعلم .
@kemaketseforkssebitiela3089
@kemaketseforkssebitiela3089 Жыл бұрын
I thought he was suppose to use analogRead instead of digitalRead since he is using an input device.
@techathome
@techathome Жыл бұрын
analogRead and digitalRead are two different functions to be used depending on the type of input device. Here I am using push button which is digital, so digitalRead. In case of analog inputs like potentiometer, sensors you have to use analogRead.
@sukhWins
@sukhWins 2 жыл бұрын
Greatly explained
@techathome
@techathome 2 жыл бұрын
Thank you!
@rohanshiragaonkar917
@rohanshiragaonkar917 6 ай бұрын
Thank u sir
@theslog69
@theslog69 2 жыл бұрын
best tutorials love it .
@techathome
@techathome 2 жыл бұрын
Thank you
@wiambekkal7663
@wiambekkal7663 11 ай бұрын
it doesn't work!!!!!!!!
@techathome
@techathome 11 ай бұрын
Check the connection.
@tusharankushpetkar5360
@tusharankushpetkar5360 2 жыл бұрын
Circuite diagram are not open
@techathome
@techathome 2 жыл бұрын
Download complete rar file and extract
@dvgelectrician1605
@dvgelectrician1605 3 жыл бұрын
super
@techathome
@techathome 3 жыл бұрын
Thanks
How to Use a Button with an Arduino (Lesson #5)
20:57
Science Buddies
Рет қаралды 114 М.
Enceinte et en Bazard: Les Chroniques du Nettoyage ! 🚽✨
00:21
Two More French
Рет қаралды 42 МЛН
99.9% IMPOSSIBLE
00:24
STORROR
Рет қаралды 31 МЛН
Arduino - Turn LED On and Off With Push Button
23:33
Robotics Back-End
Рет қаралды 143 М.
Arduino Tutorial 28: Using a Pushbutton as a Toggle Switch
21:58
Paul McWhorter
Рет қаралды 301 М.
How To Wire It! Buttons & Switches
9:52
ItKindaWorks
Рет қаралды 146 М.
Arduino Uno R4 Wifi LESSON 3: Blink an LED With the Arduino
22:53
Paul McWhorter
Рет қаралды 14 М.
You can learn Arduino in 15 minutes.
16:34
Afrotechmods
Рет қаралды 10 МЛН
Mechanical  Switches are Obsolete?! Switch to a Latch Circuit! EB#53
10:36
Arduino Tutorials: Control a LED with a push Button || tinkercad
13:42
SBS online classes
Рет қаралды 97 М.
The BEST Mechanical Display You've EVER Seen!!!
13:51
Tin Foil Hat
Рет қаралды 551 М.
Enceinte et en Bazard: Les Chroniques du Nettoyage ! 🚽✨
00:21
Two More French
Рет қаралды 42 МЛН