In this exercise, we will build a light sensor that measures the amount of time you are exposed to the sun (or strong light) and uploads that.
Materials:
- Arduino UNO
- Jumper wires
- 10k resistors (The colors on it are brown , black, orange and gold)
- Light Dependent Resistor (LDR)
- Breadboard
- Bluetooth module
- Construct the MDF parts to hold the LDR.
- Open “e4_sun_exposure” from the examples.
- Upload the sketch to the Uno.
- Open the Serial Monitor and shine a bright onto the LDR.
- Go to this URL: http://verkstad.cc/iot/mmx/1/index.php to see the total exposure time.
- Modify thresholdValue to see how changing it affects how much light is needed to trigger the wearable.