How To Wire It! Buttons & Switches

  Рет қаралды 139,993

ItKindaWorks

ItKindaWorks

Күн бұрын

Пікірлер: 78
@brandonterrell4639
@brandonterrell4639 6 жыл бұрын
Exactly what I needed, no idea why it was so hard to find a quick little tutorial on how to get these buttons hooked up. Thanks a ton!
@andrejstefanovski
@andrejstefanovski 5 жыл бұрын
Your explanation was simple and clear, exactly what I needed to understand what truly is a dead simple circuit. I read through dozens of forum posts and watched a few other videos; everyone was trying to help but their explanations made it seem so much more complicated than it is. You helped me nail down *exactly* what I needed to wire up and code my ON-NONE-ON SPDT toggle switch. Thank you :)
@armanhojjat9242
@armanhojjat9242 3 жыл бұрын
You were able to explain this to me much more clearly and briefly than my professor. I didn't even learn that the button needed a resistor going to ground. Thank you
@LukeMlsna
@LukeMlsna Жыл бұрын
So you’re saying it’s like redstone?
@alpmuratkayfeci6300
@alpmuratkayfeci6300 16 күн бұрын
Ah a man of culture I see
@550stanley
@550stanley 2 жыл бұрын
Oh man, thank you so much. I'm a complete electronics noob, only now just getting into Arduino and electronics in general, and it wasn't clicking with me the whole floating pin and why we need transistors on it, until your explanation, even though I've watched already a number of tutorial and lessons online. This finally clicked. Thank you.
@armanigenes
@armanigenes Жыл бұрын
*resistors
@simontereszko2335
@simontereszko2335 3 жыл бұрын
I've got to say. Thank you. This helped me a lot in understanding where I was making my mistakes while hooking up almost anything on the switch to Arduino.! Great job!
@reneklassen3831
@reneklassen3831 Жыл бұрын
Deserves more likes and subs… really healped me out rn. Thx🙏
@stivbennett670
@stivbennett670 4 жыл бұрын
loved the simplicity of the explanation - excellent
@DaleDix
@DaleDix 4 жыл бұрын
Why doesn't everyone else explain it like you do? Took me 10 minute! Thanks heaps.
@_g_520
@_g_520 4 жыл бұрын
I was struggling not k owing what to do and in the middle of the video I just put the components in a random spot because idk you said something like that but I didn’t know that was what you meant by it i was thinking.. yeah it’s not gonna work. I push the button and the LED glows. So you kinda didn’t help me but you gave my brain a major understanding of using the switch and I definitely never would’ve known that if you didn’t post this video. Thank you
@schlotdoglaser
@schlotdoglaser 6 ай бұрын
Extremely easy to follow. Thanks for the tutorial
@Dog_Awesome21
@Dog_Awesome21 Жыл бұрын
Thank you so much. This was so helpful and not to long either you are truly amazing. I really hope you can keep making these videos. I am teaching myself circuits so any help I can get is truly amazing. Thanks.
@sergiofurini6127
@sergiofurini6127 4 жыл бұрын
just great! so difficult to find a simple tutorial on switch button connection thanks!
@shvideo1
@shvideo1 5 жыл бұрын
Switch bounces to digital inputs are a big concern. I wish you had mentioned them. Great video on stateful buttons, though. Thank you.
@Iqwar
@Iqwar 6 жыл бұрын
Thx man, I was searching for this kind of basic tutorial on buttons for hours ;-)
@matthew_natividad
@matthew_natividad 2 жыл бұрын
would this still work if you use a bigger switch?
@stephenmwick
@stephenmwick 5 жыл бұрын
very helpful. thank you. One question. When the button is pressed, positive electricity flows through the button, then it splits between going through the wire to the pin on the arduino and through the resister to the ground pin on the arduino. Does that path through the resister have a negative effect on the circuit?
@jeqfragmento
@jeqfragmento 4 жыл бұрын
I also have the same question🤔
@akaikiseki9346
@akaikiseki9346 3 жыл бұрын
That's why the "pull down" resistor is high value : à 1K Ohm with same voltage, your current is U / R so say 5V / 1000 Ohm : 5 mA... that's fairly low.
@json_n
@json_n 7 ай бұрын
wouldn't it short the output if the button is pressed and the output is connected to low at the same time
@muhammedb7232
@muhammedb7232 9 ай бұрын
Can I weld wires to these buttons to use them for any application? (One hot wire 12v & one ground) just like those normal push buttons in cars
@lumimobb
@lumimobb 6 ай бұрын
I would like to know as well
@daemon3spade
@daemon3spade 3 жыл бұрын
How to you choose what resistor, wire gauge and tip/pin connector sizes to use?
@lookupverazhou8599
@lookupverazhou8599 Жыл бұрын
What size switch to ensure it fits in a breadboard?
@maxbot9976
@maxbot9976 5 жыл бұрын
exactly what I needed thanks!
@raphaelmorgan2307
@raphaelmorgan2307 3 жыл бұрын
so if I were to be using wires in something other than a breadboard, would I have one side of the button connected to power and then the other side have like, a forked wire? where one side goes to ground through a resistor and one side goes to the pin?
@yadiacho5043
@yadiacho5043 3 жыл бұрын
Nice explains, how to control 1 relay with switch and push button. I'm struggled with it.
@solidstatejake
@solidstatejake 4 жыл бұрын
When you add the transistor to assure a logical value on the circuit, is that called a pull-up resistor?
@ItKindaWorks
@ItKindaWorks 4 жыл бұрын
Yes, either pull-up or pull-down depending on whether you connect to vcc or gnd
@rekhan4788
@rekhan4788 4 жыл бұрын
i need help i ordered a kit and i have the blue wires he has but it didnt come with the really tiny wires please help im confused
@martyyoung598
@martyyoung598 2 жыл бұрын
How about just: pinMode(pin, INPUT_PULLUP) in the setup loop and wiring the switch across the pin and GND? No resistor required. The only difference is that doing a digitalRead(pin) will return a false or zero when pressed and a true or one when in-pressed.
@user-zs5pl7oo1d
@user-zs5pl7oo1d Жыл бұрын
thanks I didnt have a 1K resistor :D
@martyyoung598
@martyyoung598 2 жыл бұрын
If I’m not doing anything unusual with button or switch inputs
@TheGreenOps
@TheGreenOps 5 жыл бұрын
Hey, I don’t suppose to could give advice on how to wire an buttons onto an vesc? Instead of using a wireless remote?
@3rutu5
@3rutu5 4 жыл бұрын
would you need the resistor on the tactile if you were wiring up the volume\play buttons on a bluetooth amplifier circuit?
@ItKindaWorks
@ItKindaWorks 4 жыл бұрын
probably not... your question is too vague to give a complete answer but if the existing circuit had a button in it and you were just trying to modify it then no you wouldnt have to add anything. If you're wiring a completely new circuit then yes you would likely need to add the pull-up/down resistor
@joaquinbrasher3722
@joaquinbrasher3722 4 ай бұрын
i am looking to mod a VCR's buttons to switches
@solidstatejake
@solidstatejake 4 жыл бұрын
I like your channel name, a lot.
@ItKindaWorks
@ItKindaWorks 4 жыл бұрын
Thanks! It's been a phrase given to most of my projects throughout my life.
@teddyruxpin3811
@teddyruxpin3811 2 жыл бұрын
I wired up my switch exactly as you've shown, but my script will not execute if the switch is in the OFF position when it boots up. But if I flip my switch to the ON position, it boots up and the code runs fine. My code is very simple. I've removed everything except a basic Serial.println("test") in the loop function. Any ideas what could be wrong?
@Willy_Tepes
@Willy_Tepes 11 ай бұрын
Are you using a pull-up or pull-down resistor?
@LostInLeiden
@LostInLeiden 6 жыл бұрын
If you were just lighting an LED (with resistor in series) with no arduino, would you still need a pull down resistor? An open circuit would be fine if you're not trying to read a specific state, right?
@ItKindaWorks
@ItKindaWorks 6 жыл бұрын
You are correct! :) In the situation where you are just using a button or switch to directly control an LED you would not need any pulldown resistor.
@LostInLeiden
@LostInLeiden 6 жыл бұрын
@@ItKindaWorks Thanks again for the help :-)
@terrencefish7284
@terrencefish7284 5 жыл бұрын
I am a newbie but I did it without the pull down resistor and it worked, but with the pull down resistor, the LED was much brighter.
@bude8234
@bude8234 6 жыл бұрын
The resistor on the negative side of the switch is necessary, because, without it you would just short the power supply? Thanks.
@ItKindaWorks
@ItKindaWorks 6 жыл бұрын
The resistor is there to give the switch a "state" when it is in the "off" position. You cant just wire it to gnd directly because as you pointed out it would be a short otherwise.
@informediatech-bruno5766
@informediatech-bruno5766 4 жыл бұрын
i just want to swap a rotary encoder to 2 push buttons to modify my 900m tips soldering station to take a t12 tip but the station pannel is push buton and the t12 controler is rotary, im on a dead end
@l33tpvpness
@l33tpvpness 4 жыл бұрын
Hey there I came across your videos looking into how to wire a greeting system for a car. Basically I am trying to pull a prank on my friend by installing a “build a bear” type voice recording system that has a button you press to play the file. What I want to do is tap an in-line fuse for accessory from the car and trigger the button on the recording device to play my sound file. I am trying to figure out basically how to jump the button to only activate it when the key is turned on. Any advice helps thanks !!!
@andrewnavarro8016
@andrewnavarro8016 5 жыл бұрын
Is there a way to replace a button with a switch?
@user-wy2iv2vr7t
@user-wy2iv2vr7t 6 жыл бұрын
This was very helpful. Thank you
@D-Khaz
@D-Khaz 8 жыл бұрын
Can you go over a dial that can turn with no limit? I know pots are a cheap and easy way to do this, but you will eventually hit the limit of turning it in one direction. I don't know what the component would be, more like an encoder of sorts.
@ItKindaWorks
@ItKindaWorks 8 жыл бұрын
+poldim It's on my list of videos to make. I'm not the best with coding rotary encoders as I rarely use them, but I will be getting to them soon.
@cvalenx
@cvalenx 3 жыл бұрын
Ok for some of you that might be confused on what a floating pin is, its like if there was nothing connected to it, the arduino thinks Theres nothing there.
@LostInLeiden
@LostInLeiden 6 жыл бұрын
So why does the button switch have four pins if you only use two?
@ItKindaWorks
@ItKindaWorks 6 жыл бұрын
The main reason for 4 pins is for extra support. Buttons are subject to a lot of physical abuse so they have extra pins to help secure them to the board. If you use a multimeter you can also check and you'll see that the unused pins are actually connected to the other "used" pins.
@LostInLeiden
@LostInLeiden 6 жыл бұрын
@@ItKindaWorks great thanks so much for the speedy response. It's a really good tutorial!
@treposillo
@treposillo 5 жыл бұрын
pretty good explanation. Thank you
@ApexMark2002
@ApexMark2002 4 жыл бұрын
Perfectly done, thank you
@johnabiog9574
@johnabiog9574 23 күн бұрын
Thank you!🎉
@samtree99
@samtree99 5 жыл бұрын
Simple and clear.
@naderhumood
@naderhumood 3 жыл бұрын
V informative......thanks v much. SIR
@C0llinsW0rth.
@C0llinsW0rth. 4 жыл бұрын
Nice Pebble Steel :D
@Dzz-GUYSTRIVIA
@Dzz-GUYSTRIVIA Жыл бұрын
People can see what side has legs coming out and obviously what side doesn't and you ?
@h7opolo
@h7opolo Жыл бұрын
meh, now you just have a constant drain from the power source via your "pull down" resistors.
@trevorjames5493
@trevorjames5493 3 ай бұрын
Maybe it's just me but this doesn't really show how to wire up anything at all... you're explaining how it works but you're not actually showing where to connect it, I don't know anything about a breadboard I just want to know how to solder it up physically from the power source to the button not inserting pins in a euchre board lol
@wherami
@wherami Жыл бұрын
thank you
@paulalmquist5683
@paulalmquist5683 10 ай бұрын
Buttons ARE switches, SPST
@tarikamer3703
@tarikamer3703 6 жыл бұрын
nice vid thanks
@bestamerica
@bestamerica 5 жыл бұрын
' that push switch is a always noise click click.. not good... better rather use a quiet silent push switch than noise sound click click
@ItKindaWorks
@ItKindaWorks 5 жыл бұрын
But click click is fun fun!
5 жыл бұрын
The sound is feedback to confirm your action.
@vrguy7337
@vrguy7337 4 жыл бұрын
Get to the point
@ItKindaWorks
@ItKindaWorks 4 жыл бұрын
I will just let me finish with my monologue! I worked on it all week
How to Use a Breadboard
12:21
Science Buddies
Рет қаралды 3,1 МЛН
Trick-or-Treating in a Rush. Part 2
00:37
Daniel LaBelle
Рет қаралды 38 МЛН
Человек паук уже не тот
00:32
Miracle
Рет қаралды 3,6 МЛН
When u fight over the armrest
00:41
Adam W
Рет қаралды 21 МЛН
You can learn Arduino in 15 minutes.
16:34
Afrotechmods
Рет қаралды 10 МЛН
I tried the Cheapest Arduino Alternative (that Nobody heard of)
13:31
Arduino Tutorials: Control a LED with a Button
8:14
HackTheWorld
Рет қаралды 408 М.
3 ways to wire push button latching 12v switch with LED
11:07
KootenayBoy DIY
Рет қаралды 168 М.
How to Build a Button Box
34:21
Wim
Рет қаралды 251 М.
How to use a BreadBoard - Electronics Basics 10
7:22
Simply Electronics
Рет қаралды 940 М.
How to wire up and use LEDs (explained for beginners)
12:31
Painless360
Рет қаралды 102 М.
MAKE THIS BUTTON BOX | 32 FUNCTION w ENCODERS
7:38
amstudio
Рет қаралды 2,1 МЛН
. "Smart Home Automation: Gadgets for Maximum Comfort!"#short
0:15
EB Shorts
Рет қаралды 4,6 МЛН
Other smartphones vs Nokia #shorts
0:37
ItsDoom Editz
Рет қаралды 38 МЛН
Мучительная смерть  HUAWEI Mate XT
0:58
Кик Обзор
Рет қаралды 3,3 МЛН
Lightning + Apple + Pencil
0:14
Ideas 1+1
Рет қаралды 14 МЛН
iPhone or Samsung?
0:18
ARSTANOTT
Рет қаралды 4,1 МЛН