Safe temperature monitor for baby's room. Made for Raspberry Pi Pico.

Overview

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.

You might also like...
Controller state monitor plugin for EVA ICS

eva-plugin-cmon Controller status monitor plugin for EVA ICS Monitors connected controllers status in SFA and pushes measurements into an external Inf

A simple website-based resource monitor for slurm system.
A simple website-based resource monitor for slurm system.

Slurm Web A simple website-based resource monitor for slurm system. Screenshot Required python packages flask, colored, humanize, humanfriendly, beart

To check my COVID-19 vaccine appointment, I wrote an infinite loop that sends me a Whatsapp message hourly using Twilio and Selenium. It works on my Raspberry Pi computer.
To check my COVID-19 vaccine appointment, I wrote an infinite loop that sends me a Whatsapp message hourly using Twilio and Selenium. It works on my Raspberry Pi computer.

COVID-19_vaccine_appointment To check my COVID-19 vaccine appointment, I wrote an infinite loop that sends me a Whatsapp message hourly using Twilio a

Easy installer for running Amazon AVS Device SDK on Raspberry Pi

avs-device-sdk-pi Scripts to enable Alexa voice activation using Picovoice Porcupine If you like the work, find it useful and if you would like to get

Turn a raspberry pi into a Bluetooth Midi device

PiBluetoothMidSetup This will change serveral system wide packages/configurations Do not run this on your primary machine or anything you don't know h

A Microsoft reward automator, designed to work headless on a raspberry pi

MsReward A Microsoft reward automator, designed to work headless on a raspberry pi. Tested with a pi 3b+ and a pi 4 2Gb . Using a discord bot to log e

Driving lessons made simpler. Custom scheduling API built with Python.
Driving lessons made simpler. Custom scheduling API built with Python.

NOTE This is a mirror of a GitLab repository. Dryvo Dryvo is a unique solution for the driving lessons industry. Our aim is to save the teacher’s time

A Python utility belt containing simple tools, a stdlib like feel, and extra batteries. Hashing, Caching, Timing, Progress, and more made easy!
A Python utility belt containing simple tools, a stdlib like feel, and extra batteries. Hashing, Caching, Timing, Progress, and more made easy!

Ubelt is a small library of robust, tested, documented, and simple functions that extend the Python standard library. It has a flat API that all behav

Shell scripts made simple 🐚

zxpy Shell scripts made simple 🐚 Inspired by Google's zx, but made much simpler and more accessible using Python. Rationale Bash is cool, and it's ex

Comments
  • Allow use of DS18B20 1-wire temperature sensor

    Allow use of DS18B20 1-wire temperature sensor

    In my initial design of this board, I wanted to use an external DS18B20 temperature sensor (either the little chip package or a waterproof probe) for more accuracy and better placement (the RP2040 chip is on the board, and could have temperature fluctuations based on the power supply and/or what's being processed).

    However, when I tried to use the DS18B20 'hello world' micropython script as listed here (http://docs.micropython.org/en/v1.9.3/esp8266/esp8266/tutorial/onewire.html), I got the following error:

    Traceback (most recent call last):
      File "<stdin>", line 3, in <module>
    ImportError: no module named 'onewire'
    

    So it would be interesting to see what's required to get onewire support on the Pico; might be a missing feature for now.

    opened by geerlingguy 6
Owner
Jeff Geerling
Catholic dad and husband. I write, build, and tinker on a Mac. #stl #drupal #ansible #k8s #raspberrypi #crohns
Jeff Geerling
Yunqi Chen 7 Oct 30, 2022
The goal of this program was to find the most common color in my living room.

The goal of this program was to find the most common color in my living room. I found a dataset online with colors names and their corr

null 1 Nov 9, 2021
A Github Action for sending messages to a Matrix Room.

matrix-commit A Github Action for sending messages to a Matrix Room. Screenshot: Example Usage: # .github/workflows/matrix-commit.yml on: push:

null 3 Sep 11, 2022
Make your functions return something meaningful, typed, and safe!

Make your functions return something meaningful, typed, and safe! Features Brings functional programming to Python land Provides a bunch of primitives

dry-python 2.5k Jan 3, 2023
Null safe support for Python

Null Safe Python Null safe support for Python. Installation pip install nullsafe Quick Start Dummy Class class Dummy: pass Normal Python code: o =

Paaksing 13 Nov 17, 2022
Скрипт позволяет заводить задачи в Панель мониторинга YouTrack на основе парсинга сайта safe-surf.ru

Скрипт позволяет заводить задачи в Панель мониторинга YouTrack на основе парсинга сайта safe-surf.ru

Bad_karma 3 Feb 12, 2022
A simple Python script for generating a variety of hashes from safe urandom entropy.

Hashgen A simple Python script for generating a variety of hashes from safe urandom entropy. For whenever you need a random hash (e.g. generating an a

Xanspie 1 Feb 17, 2022
DownTime-Score is a Small project aimed to Monitor the performance and the availabillity of a variety of the Vital and Critical Moroccan Web Portals

DownTime-Score DownTime-Score is a Small project aimed to Monitor the performance and the availabillity of a variety of the Vital and Critical Morocca

adnane-tebbaa 5 Apr 30, 2022
Monitor the New World login queue and notify when it is about to finish

nwwatch - Monitor the New World queue and notify when it is about to finish Getting Started install python 3.7+ navigate to the directory where you un

null 14 Jan 10, 2022
This Python3 script will monitor Upwork RSS feed and then email you the results.

Upwork RSS Parser This Python3 script will monitor Upwork RSS feed and then email you the results. Table of Contents General Info Technologies Used Fe

Chris 5 Nov 29, 2021