Arduino Basics: Digital And Analog For Input And Output

preview_player
Показать описание
In today's tutorial we'll learn digital and analog inputs and outputs. We'll build a simple circuit with an LED, button, and potentiometer to demonstrate how to read and interpret digital and analog signals. We'll also use these signals to control the LED. by the end of this tutorial, you'll have the knowledge to create your own projects.

Highly Recommend These Kits

Рекомендации по теме
Комментарии
Автор

Great video mate
you should make more of these

mohammedowais
Автор

Hey you! Thanks for watching, feel free to comment any question you have, I would LOVE to help you out! :)

micromasterytutorials
Автор

Can i use both potentiometers and buttons to take the values into pc? Just to read values and print them at serial monitor! I want to use them in maxmsp

Stagmike
Автор

Afaik PWM is not analog but its far more granular than just a button. Cool video!

Aerobrake
Автор

Hi, if I were to program a rain sensor using Python, a breadboard and an arduino uno board, should I connect AO on the module to A1 or AO on the Analog Input of the arduino uno board?
And how should I call the Pin assignment on the Python program? What is the Pin number for AO or A1? I can't seem to call it using 14 or 15.
Sorry, I know this is an old video, but I will appreciate it if anyone could help me out.
This is a great video by the way!

AerisYong-kzpk
Автор

Hi, nice video but I have a question. I did the exact same thing and the analogRead return 65535: and I don't know why. I made some research and it looks like it could be about the resolution. Do you have an idea how I could resolve my problem?

elfrad
Автор

How would you write the code to use an analog input to control a digital/logic output when the analog value is in between two set values? I.E. On from 0ohm to 2k ohm, off between 2k ohm and 8k, on from 8kohm to 10k? Or light an led when temperature sensor reads between 20-50 Celsius?

usdohs
Автор

PWM is not analog output. That should have been much better clarified. Pulse Width Modulation is still square waves, unlike the true analog output graphs or diagrams shown

haruka
Автор

In this why you can't take brightness variable as a integer

digitaldata
Автор

can you please tell about the arduino rees52 i'm getting trouble in connecting the arduino ide actually it's not detecting ...🥲

VishalSh-pbsr