When you add a Raspberry Pi to a circuit with analog sensors, you can collect a lot of different kinds of data and write programs that use the data to do cool things. In this activity, you’ll see how you can view data in real-time with your Raspberry Pi’s Terminal using a potentiometer.  Then, you will turn your circuit into a working, digital nightlight that processes light data from a photoresistor.

When you add a Raspberry Pi to a circuit with analog sensors, you can collect a lot of different kinds of data and write programs that use the data to do cool things. In this activity, you’ll see how you can view data in real-time with your Raspberry Pi’s Terminal using a potentiometer.  Then, you will turn your circuit into a working, digital nightlight that processes light data from a photoresistor.