In this project, you'll utilize the CLUE's onboard BMP280 sensor to measure ambient temperature and air pressure. The PyLeap app will wirelessly load the project onto your CLUE over BLE.

The CLUE display will show the temperature and air pressure readings in either metric (Celsius and hectopascals) or imperial (Fahrenheit and inches of mercury) units. The code takes into account the air pressure reading and your nominal baseline pressure to adjust the servo's angle to point to a weather condition.

Barometric Pressure and Weather

Barometric pressure, or air pressure, is the measure of the pressure resulting from air pressing down on the Earth due to gravity. Since this pressure varies with altitude, different locations on Earth will have different nominal pressure values. However, weather can also affect this pressure. Taking both of these pieces of information into account, a barometer can be used to display weather conditions, depending on if you have a higher or lower than nominal pressure reading for your location.

Day 5 forecast of surface pressure across North America as well as the Pacific and Atlantic oceans


Animated GIF showing CLUE board  displaying data from the many on-board sensors.
Do you feel like you just don't have a CLUE? Well, we can help with that - get a CLUE here at Adafruit by picking up this sensor-packed development board. We wanted to build some...
Out of Stock
Video of a servo with alligator clips connected to a round microcontroller with pads. The horns on the servo oscillate.
This servo is just like our classic Micro Servo but has 3 alligator clip test leads at the end! This makes it perfect...
In Stock
Angled shot of a Clear Acrylic Enclosure + Hardware Kit for Adafruit CLUE.
Here is a chic minimalist enclosure for your CLUE board! This case has been laser-cut specifically to accommodate the TFT display, tactile buttons, and...
In Stock
USB cable - USB A to Micro-B - 3 foot long
This here is your standard A to micro-B USB cable, for USB 1.1 or 2.0. Perfect for connecting a PC to your Metro, Feather, Raspberry Pi or other dev-board or...
In Stock
Angled shot of 3 x AA battery holder with on/off switch, JST, and belt clip.
This battery holder connects 3 AA batteries together in series for powering all kinds of projects. We spec'd these out because the box is compact, and 3 AA's add up to about...
In Stock
Angled shot of 3 AA batteries.
Battery power for your portable project! These batteries are good quality at a good price, and work fantastic with any of the kits or projects in the shop that use AAs. This is a pack...
In Stock
1 x Paper Plate
Paper plate to mount the servo and CLUE to

This guide was first published on Oct 19, 2022. It was last updated on Oct 19, 2022.

This page (Overview) was last updated on Oct 11, 2022.

Text editor powered by tinymce.