Summary

In this chapter, we learned about analog sensors and the limitations of the Pi for analog input. We learned about digital interfaces that allow us to collect analog data in Pi projects. We used this knowledge to set up a light sensor, with bar graphs from barcli to find a good threshold for an LED to turn on and off. Finally, we used all of this together to build a night light that illuminates in the dark and turns off in the light.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.216.190.167