microcontroller experiment - is it hotter or colder than the average temp?

Another arduino adventure

What this project does

The LED light glows bluer the colder the current temperature is from the median of all temperatures recorded by the microcontroller, and redder the warmer it is from the median.

Why I built this

As a way to try out a sensor component, as well as test what can be achieved with the Serial Monitor.

Components

  1. Arduino UNO
  2. Breadboard
  3. RGB LED
  4. Temperature sensor
  5. 2 x 220ohm resistors
  6. 8 x jumper wires