Тёмный

How to Use a Potentiometer with Arduino analogRead (Lesson #7) 

Science Buddies
Подписаться 320 тыс.
Просмотров 47 тыс.
50% 1

Опубликовано:

 

17 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 36   
@Nova_tvreal
@Nova_tvreal 8 месяцев назад
for those who gets stuck on not turning on the LED make surethe resistors is put on the short leg of the LED and the wire plugged on the longer leg of LED or else it doesn’t turn on
@bluecoppervalve
@bluecoppervalve 2 месяца назад
Just positive and negative terminal ,what’s the diferent?
@Bro_Bubby
@Bro_Bubby Год назад
I say this from my heart. God bless you
@Bro_Bubby
@Bro_Bubby Год назад
I'll definitely recommend this channel to anyone
@Underscore_M
@Underscore_M 6 месяцев назад
thanks, needed this for school
@Studs_Studio
@Studs_Studio 8 месяцев назад
These lessons are so good! Also i just spent like 10 minutes trying to figure out why my circut and code isnt working. after you showed the code mine looked like it should do the same thing. it did. i just put the resistor in the wrong place XD
@Science.Buddies
@Science.Buddies 8 месяцев назад
We have a "troubleshooting" video earlier in this playlist - many times it's just a single misplaced wire on the breadboard that can prevent things from working.
@noahhusaunndee3783
@noahhusaunndee3783 3 месяца назад
Well explained 👍
@Nick-ef1ms
@Nick-ef1ms 2 месяца назад
My potentiometer has 2 pins on one side and 1 pin across which takes up all the space on the breadboard leaving none for the wires. Is there a way to make this work without getting a new potentiometer?
@Science.Buddies
@Science.Buddies 2 месяца назад
Usually you can put one set of pins in a column on the edge of the breadboard and have room to squeeze wires in on the opposite side, even if one edge of the potentiometer's plastic case is hanging over the edge slightly.
@DJB1ack0u7
@DJB1ack0u7 4 месяца назад
Can't lie, thought you were going somewhere different with "you might find that strange" when you mentioned the 0-1023 range and that it ends on 1023 instead of 1024 because it starts at 0 instead of 1. Edit: I unpaused and you got into it a little lol
@ben-zz2rm
@ben-zz2rm 5 месяцев назад
Great informative video. Have a question. Always understood that a resistor comes before the led to ensure not too much current passes into the led. Your video shows the resistor after the led. Bit confused!!
@Science.Buddies
@Science.Buddies 5 месяцев назад
This is a very common misunderstanding, we made a separate video just to explain it! ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-NUKD9qESO58.htmlsi=0QTgCqc-OiFZn89-
@picknikbasket
@picknikbasket Год назад
Very useful, thank you!
@Science.Buddies
@Science.Buddies Год назад
You're welcome - make sure to check out the rest of the playlist if you haven't already!
@BS-br2ej
@BS-br2ej 2 месяца назад
Awesome way to quickly explain things (subscribed)! I've been looking for a button that has discreet steps from, say 1 to 10. Is there such potentiometers, or are they always continuous? I guess I could just make a knob that has discreet levels on top of a potentiometer. The purpose is to have one button do the work of 10 separate buttons. Maybe it doesn't have to be a potentiometer, if there is a simpler analogue knob that writes the given number out?
@Science.Buddies
@Science.Buddies 2 месяца назад
You could do this in software using the analog potentiometer shown in this video by breaking the readings up into sections using IF statements (if reading is between 0 and 100, between 100 and 200, 200 and 300, and so on). If you want the potentiometer to "click" into discrete positions, a quick Google search shows that you want a potentiometer with "detents": electronics.stackexchange.com/questions/94855/where-to-get-how-to-make-a-potentiometer-with-clicking-steps. We have not tried those ourselves though!
@BS-br2ej
@BS-br2ej 2 месяца назад
​@@Science.Buddies Potentiometer with detents is exactly what I was looking for and didn't find, thank you! Though, since I don't really want to increase the resistance (or decrease the voltage), I will have to make the potentiometer separate, as in not taking the power for the motor through it. For this use, I'm running just one servo, which I was powering through the arduino 5V pin. If I were to get a read through the potentiometer, I would not get enough voltage, if I understood correctly.
@nimrik9007
@nimrik9007 Месяц назад
How do you know what resistance you should put on LED and ground?
@Science.Buddies
@Science.Buddies Месяц назад
We have an entire playlist all about that! ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-2pHVIqcyf18.html
@gamerj2873
@gamerj2873 Год назад
My Potentiometer has pins in a triangle type fashion, i can not get it to work anywhere on the breadboard because its too big for one side, and it cant go across.
@Studs_Studio
@Studs_Studio 8 месяцев назад
do you mean it is not physicly possible to get it across? cause if not then you can just move the wire to thte other side. probably a late comment XD
@Bahrami12
@Bahrami12 11 месяцев назад
Very useful❤
@andrewswan9103
@andrewswan9103 Год назад
What's an appropriate value potentiometer in this application? And should I use logarithmic or linear?
@Science.Buddies
@Science.Buddies Год назад
10 kilo-ohm potentiometers are very common for Arduino projects. Unless you want a nonlinear response when you turn the knob, you want a linear potentiometer.
@andrewswan9103
@andrewswan9103 Год назад
@@Science.Buddies makes sense, thanks!
@ProsperTeni
@ProsperTeni 4 месяца назад
I noticed that the porentiometer isnt able to control more than one LED at a time. Or is it just me?
@38flatBauble
@38flatBauble 9 месяцев назад
I get 0s on my serial monitor could it be the potentiometer?
@Science.Buddies
@Science.Buddies 9 месяцев назад
Potentiometers themselves don't usually break, it's more likely that you don't have it wired correctly. Check out our troubleshooting video: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-9GLaU-BCEQM.htmlsi=dgBiqHAVIwW6CrWr
@RachidRachid-mn9gm
@RachidRachid-mn9gm 5 месяцев назад
Thanks a lot 👌
@Nine_883
@Nine_883 9 месяцев назад
Tinkercad needs a Serial Monitor! 😂
@Science.Buddies
@Science.Buddies 9 месяцев назад
Tinkercad does have a simulated serial monitor that you can print to with the serial.print command!
@VOXindie
@VOXindie 3 месяца назад
Useless without explaining the physics concepts pertaining to electricity.
@irenenganga3203
@irenenganga3203 3 месяца назад
No this is helpful
@irenenganga3203
@irenenganga3203 3 месяца назад
And your annoying
Далее
Outsmarted 😂
00:20
Просмотров 6 млн
Arduino Tutorial 12: Understanding Potentiometers
28:44
How to use the Arduino map function Part 2
6:31
Просмотров 3,7 тыс.
How to Use a Button with an Arduino (Lesson #5)
20:57
Let's build a voltage multiplier!
16:32
Просмотров 2,1 млн
Things you can make from old, dead laptops
19:03
Просмотров 12 млн
How to Blink an LED with Arduino (Lesson #2)
15:57
Просмотров 112 тыс.
How to Use a Breadboard
12:21
Просмотров 3,1 млн