In this chapter, we will look at the ways we can still use analog sensors with Johnny-Five and the Raspberry Pi, even without the Pi having built-in analog input pins. We'll use that knowledge to build a night-light that turns on and off an LED based on the ambient light in the room.
The following topics will be covered in this chapter:
- Using an analog sensor with the Pi
- The ambient light sensor
- Creating our night-light