internal pullup resistor - digitalRead - Arduino Uno Programming Basics

preview_player
Показать описание
internal pullup resistor - digitalRead - Arduino Uno Programming Basics
In this latest installment of our Arduino programming tutorial series, we continue our exploration of the fundamental concepts you need to master Arduino programming. If you've followed along with our previous videos, you're in the right place to expand your knowledge.

🔧 Key Topics:

Basics: setup and loop functions
Using pinMode() to configure digital pins
Reading digital inputs with digitalRead()
Utilizing INPUT and INPUT_PULLUP modes
Sending measured values to Serial communication
Code syntax and hints
Curly braces
The significance of semicolons
In this tutorial, we'll delve into digitalRead(), INPUT, and INPUT_PULLUP modes, showing you how to read digital inputs and send the measured values to Serial communication. This essential knowledge will enhance your ability to interact with various sensors and input devices using Arduino.

🚀 Watch this video and take your Arduino projects to the next level with the power of digitalRead() and Serial communication. Don't miss out—like, share, and subscribe for more in-depth Arduino tutorials.

#ArduinoProgramming #DigitalRead #SerialCommunication #InputModes #INPUT_PULLUP #DIYElectronics #LearnElectronics #ArduinoBeginners #ArduinoTutorial #SensorInterfacing
Рекомендации по теме
Комментарии
Автор

Im starting to speak with an accent! Great content thank you

joeborovina
Автор

love this video, can you give the playlist link?

tioa.p.
Автор

Is there a way to set the pullup resistor to read 0 initially till switch is pressed

alexmoore
Автор

Ich frage mal auf Deutsch, um Missverständnisse zu vermeiden, da ich den Fachbegriff "Austaster" nicht auf Englisch kenne:
Angenommen ich habe einen Austaster an einem Arduino angeschlossen. Dann liegen könnten ja sofort 5V an dem Pin anliegen, sobald ich den Arduino mit Strom versorge. Selbst wenn ich im Code ganz am Anfang "pinMode(x, INPUT)" stehen habe ist doch ggf. der pinMode noch auf OUTPUT, weil z.B. ein anderes Programm darauf war. Also ein Kurzschluss?! Man müsste also immer erst das Programm auf den Arduino aufspielen, bevor man den Austaster mit Strom versorgt?! Wie ist es, wenn das gleiche Programm nochmal aufgespielt wird? Kann es sein, dass dann der pinMode während des überspielens unbekannt ist? Oder wird der vorsichtichtshalber intern immer auf OUTPUT gestellt? Und wie ist es, wenn man gar keinen pinMode angibt? Ist der Mode dann unbekannt oder wird der vorsichtshalber als OUTPUT initialisiert?

Volker-Dirr
join shbcf.ru