UV Sun Exercise

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

 

  1. Construct the MDF parts to hold the LDR.
  2. Open “e4_sun_exposure” from the examples.
  3. Upload the sketch to the Uno.
  4. Open the Serial Monitor and shine a bright onto the LDR.
  5. Go to this URL: http://verkstad.cc/iot/mmx/1/index.php to see the total exposure time.
  6. Modify thresholdValue to see how changing it affects how much light is needed to trigger the wearable.