Arduino Project 3 Love Meter

Analog sensors

  • Measure variable things like temperature and light

Analog-to-digital converter (ADC)

  • Analog pins A0 to 5 can report values between 1023, which maps from 0 to 5V

Serial.begin(9600)

  • Opens a serial port, 9600 is the bits per second

Thoughts: Put it together and programmed it, works great. Baseline temp takes some tweaking, the temperature read by the heat sensing component isn’t accurate at first, a little bit raised, but levels out over time. But once you tweak it it works great. So basically the temp sensor records a value between 0-1024, and sends this via an analog data stream. We convert this to voltage, then to celsius, and light up the correct LEDs. The big lesson is reading analog data, learning how that works.