All work

Fall 2024 · Software Engineer

Weather Sensor

A desk display for the M5Stack Core2 showing city weather, room temperature and the time, with a UI that switches between light and dark based on ambient light.

Role
Software Engineer
When
Fall 2024
Discipline
Embedded & IoT

Built with

  • Python
  • M5Stack Core2
  • Temperature
  • Humidity and Light sensors
An M5Stack Core2 held in hand in dark mode, showing 49°F, the day's high and low, a moon icon and the city name Riverside.

Overview

A small screen that shows the city’s high and low, the temperature in the room, the current time, the city name, and an icon for the time of day, all read from sensors attached to an M5Stack Core2.

The weather display in dark mode

Dark mode.

Adaptive UI

When the ambient light sensor crosses a threshold the UI switches to light mode, so the screen stays readable whether it’s indoors or out.

The weather display in light mode

Light mode, triggered by brighter surroundings.

Python source code for the display

Written in Python for the M5Stack Core2 and sensor PCBs.