Arduino Tutorial 6: Analog Outputs

preview_player
Показать описание
Alright that's enough about inputs. Let's revisit outputs. In this tutorial I show you how to create an analog output using an Arduino.

Now it's important to mention that this isn't a true analog output. The Arduino is a digital device and is only capable of providing a digital output. However, if you pulse a digital output on and off very quickly, it can 'appear' like an analog output, depending on the response time of the rest of your circuit. This method to create an 'analog output' is also known as Pulse Width Modulation (PWM). In this tutorial I show you how to dim a LED using this PWM analog output.

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

you could also just put "intensity++;" and it'd do the same, but nice video very informative

itsodiumchloride
Автор

Very misleading. analogWrite does not mean analog output

chaoli
Автор

Why do you type space before a semicolon? That's wrong

krzysztofjuszczak