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
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
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.
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?
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.
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
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!!
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-
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?
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!
@@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.
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.
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.
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