IAT 267 Lecture 6: IAT267_Week 6.docx

70 views7 pages

Document Summary

If you want more information than what can be supplied be a digital input, use analog input as they can take a full range of values in a certain interval. Some are very easy to work with; others require extra circuitry. It can read only a high voltage or a low voltage therefore a voltage divider circuit is needed. Arduino has a built in analog to digital converter (adc) Adc measures a range of voltages and converts the value of the voltage at any given moment to a digital value. Contains an onboard 6 channel analog to digital (ad) converter. The converter has a 10 bit resolution, returning integers from 0 to 1023. Potentiometer/slider sensor/rotation sensor/light sensor can be used in circuits to modify the blink frequency of an led. The brightness of an led can be adjusted using sensors connected to an analog input pin. Digital pin: pinmode is output analogwrite() instruction analogwrite(pin, value)

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents