Тёмный

Understanding HIGH and LOW Arduino Pin States :: Open Source Hardware Group Arduino Tutorials 

Programming Electronics Academy
Подписаться 233 тыс.
Просмотров 32 тыс.
50% 1

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

 

17 сен 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 23   
@programmingelectronics
@programmingelectronics 3 года назад
****If you like this, I think you'll like the premium Arduino training we offer. You can check it out here**** bit.ly/3lHyzcB
@ECOENERGI1
@ECOENERGI1 5 лет назад
Thanks for explaining how to read the spec sheet on that point. Very informative
@deangreenhough3479
@deangreenhough3479 10 лет назад
Thank you. Simply explained and brilliant. The penny dropped for me. Thank you
@programmingelectronics
@programmingelectronics 3 года назад
Awesome!
@murrij
@murrij 10 лет назад
This is really great stuff. The concept applies even outside of Arduino.
@veebxl
@veebxl Год назад
Thanks for this,love your tutorials !!
@Richie_
@Richie_ 3 года назад
That datasheet explanation was useful.
@programmingelectronics
@programmingelectronics 2 года назад
Glad it helped!
@snaprollinpitts
@snaprollinpitts 9 лет назад
hey Michael, that was a very good tutorial, I had no idea that the arduino was that sensitive to the high and low state. not to mention that some where in the middle it's so iffy, it can go either way. Robert is right you didn't show how you connected to pin 2, it would be good if you could send him a reply on how you connected it. thanks mk
@johnbenson8080
@johnbenson8080 7 лет назад
Hi Michael many thanks for all your informative videos.Your explanations are easy to follow JCB
@tmst2199
@tmst2199 4 года назад
8:46: Just a quibble, but the analog sensorValue is multiplied by (5 / 1023) to give voltage. Wouldn't it be more intuitive to first divide it by 1023 to give its value as a proportion of the max reading and multiply *that* by 5? Also, since sensorValue has 1024 possible values, it makes sense to use that instead of 1023. And since sensorValue is 0-indexed, it should be incremented by 1 to get the voltage: voltage = (sensorValue + 1) / 1024 * 5 Computing this verifies it is correct. Inputting 511 (the middle sensor value) gives exactly 2.5: 2.5 = (511 + 1) / 1024 * 5
@apratube
@apratube 3 года назад
using this formula, you'll never measure 0v
@joshuapitong899
@joshuapitong899 2 года назад
A lot of thanks.🙌
@programmingelectronics
@programmingelectronics 2 года назад
Thanks for watching Joshua!!
@jomac2046
@jomac2046 10 лет назад
Not working here,digital pin 2 bounces between 0 and 1 whatever the voltage (UNO R3)
@rdcowan99
@rdcowan99 9 лет назад
No diagram showing applying voltage to pin 2. Did you just connect a jumper between analog pin 0 to digital input pin 2? Or does there need to be a resistor? Also, what is the proper value of the potentiometer? (I'm a newbie...)
@programmingelectronics
@programmingelectronics 9 лет назад
Robert Cowan Hi Robert. Great question and I should have pointed that out in the video! If you connect the middle pin of the potentiometer to pin 2, this will do the trick. Just make sure that pin 2 has been set to an Input using the pinMode() function. Hope this helps and have a good one!
@ruftime
@ruftime Год назад
Thank you!
@programmingelectronics
@programmingelectronics Год назад
Thanks for watching Canyon!
@bachnguyenhuu7306
@bachnguyenhuu7306 3 года назад
Thank thank you \ \ ●● } {
@programmingelectronics
@programmingelectronics 3 года назад
Thanks for watching!
@papercircuit411
@papercircuit411 4 года назад
he has rdj's voice
@potificate
@potificate 9 лет назад
"adruino"? Are you worried about trademark infringement?
Далее
Arduino Sketch with millis() instead of delay()
14:27
Просмотров 228 тыс.
@HolyBaam ультанул в конце 🧨
00:34
Просмотров 375 тыс.
Serial Communication with Arduino - The details!
16:51
Arduino millis() function: 5+ things to consider
12:49
Просмотров 139 тыс.
RS232 flow control
14:49
Просмотров 98 тыс.
Hacking a weird TV censoring device
20:59
Просмотров 3,1 млн
What is a Breakout Board for Arduino?
8:21
Просмотров 99 тыс.
@HolyBaam ультанул в конце 🧨
00:34
Просмотров 375 тыс.