In this section we will talk about some components that extend the functionalities of our developer kits, allowing us to do more and overcoming some of the deficits with Arduino, such as the lack of analog inputs and the very limited amount of PWM pins.
Extension components
Analog to digital converter (ADC) – PCF8591
There are many sensors that just provide an analog value: moisture, smoke, raindrop, light, temperature, and so on, and as we mentioned several times, the Android Things developer kits do not have any analog inputs. To be able to use these sensors as input, we need a special component called an Analog to Digital Converter (ADC).
An ADC reads an analog value and converts it to a digital value. The resolution...