Sleep Tracking with a Luminance Sensor

Tasks

  • Verify reading a voltage from a GPIO - checked with multimeter
  • Read and display the sensor voltage and computed luminance
  • Check accuracy of values - values seem to be okay
  • Log values - values are logged in NVM / data flash
  • Print values on request via UART
  • Clean up code
  • Improve / fix UI
  • Test code, esp. overflow and power loss

Flussdiagramm

lichtsensor

See also

luminance-chart