From the course: Learning Arduino: Interfacing with Analog Devices

Unlock the full course today

Join today to access over 22,500 courses taught by industry experts or purchase this course individually.

How Arduino generates analog output

How Arduino generates analog output - Arduino Tutorial

From the course: Learning Arduino: Interfacing with Analog Devices

Start my 1-month free trial

How Arduino generates analog output

- [Instructor] To generate a analog output signal, the Arduino uses a converter that is called Digital to Analog Converter, or DAC. The DAC receives a digital value from the microcontroller and converts it to an analog voltage. The value of analog voltage is determined by the digital value sent to the ADC. The larger the digital value, the larger the analog output voltage. For generating analog output signals, the Arduino board uses pulse with modulation with the digital pins. The pulse with modulation digital pins are marked on the Arduino board with a tilde before the digital pin number. Pulse with modulation is a technique for getting analog results with digital means. The generated analog output voltage using pulse with modulation is between zero and five volts.

Contents