Baby Safe Temperature Monitor

Lint

This project is meant to build a temperature safety monitor for a baby or small child’s room.

Studies have shown the risk for Sudden Infant Death Syndrome (SIDS) increases when a baby’s room temperature is outside the range of 20-22.2°C (68-72°F).

This little bit of MicroPython code works with the Raspberry Pi RP2040 chip in the Raspberry Pi Pico microcontroller to monitor the temperature in a room, and show whether the temperature is safe via three status LEDs:

  • Green means safe for baby
  • Red means too hot
  • Blue means too cold

Obviously, this is NOT a medical device, just a little side project from a crazy guy who once built a cluster of Pis to monitor his house’s room temperatures.

If you want to see how it was put together and used, please check out my Review of the Raspberry Pi Pico microcontroller on my YouTube channel.

Circuit Diagram

Fritzing sketch of LED connections to Raspberry Pi Pico

See also: Fritzing sketch

Usage

  1. Make sure you have MicroPython flashed to your Raspberry Pi Pico.
  2. Copy the main.py script from this repository to your board.
  3. Connect LEDs to the board following the circuit diagram shown above.
  4. Power up the board, and watch the LEDs.

Similar Projects

I also created a Raspberry Pi-based temperature monitoring cluster for my entire house back in 2016, and I open sourced the design and code for that system.

You can find it here: Raspberry Pi Temperature Monitoring App.

License

MIT License

Author

This project was created by Jeff Geerling in 2021.

GitHub

https://github.com/geerlingguy/baby-safe-temp