Bright or not measures the light intensity in the room and output data to a web API. In this project,  Adafruit Starter Pack for Windows 10 IoT Core on Raspberry Pi 2 is utilized to make a speaking light sensor.  This will show how to use an MCP3008 Analog Digital Converter (ADC) chip to interface the Pi2 to three analog components.  Two variable resistors (potentiometers) and one CdS photocell.


Hardware components:

Included in the Adafruit Starter Pack for Windows 10 IoT Core on Raspberry Pi2 kit:

  •  Raspberry Pi 2 Model B
  • Breadboard (generic)
  • Adafruit Female/Male Jumper Wires
  • Adafruit Breadboard trim potentiometer – 10K
  • Adafruit Photo cell (CdS photoresistor)
  • 560ohm 1/4 Watt resistor

    Other Hardware components:

  • Headphone / speaker
  • Optional component if you wish to hear the speech output from the Pi2.

    Software apps and online services:

  • Microsoft Windows 10 IoT Core

Connect the Raspberry Pi2 to the breadboard and the other components as per the Fritzing diagram below.

Note: While setting up the circuit, make sure your MCP3008 chip is oriented correctly. The chip has a half-moon shape marker along with a dot on one side. This should be oriented as shown in the diagram below.


Fore more details, Click Here!