In this instructable I’ll show you how to build a basic Thermometer / Barometer clock using a Raspberry Pi 2 with a BMP180 I2C sensor displaying on an Adafruit 4 digit 7 segment I2C display. The Pi also uses a DS3231 real time I2C clock module to keep time when the Pi is restarted.
The clock loops through 4 stages for 5 seconds each. First it shows the temperature in Celsius, then in Fahrenheit then the barometric pressure in kPa *(it walks this number to the left due to limited number of digits) and finally it shows a trend of barometric pressure change between now and the average of the previous hour.
Each Friday is PiDay here at Adafruit! Be sure to check out our posts, tutorials and new Raspberry Pi related products. Adafruit has the largest and best selection of Raspberry Pi accessories and all the code & tutorials to get you up and running in no time!
Stop breadboarding and soldering – start making immediately! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and more. Build projects with Circuit Playground in a few minutes with the drag-and-drop MakeCode programming site, learn computer science using the CS Discoveries class on code.org, jump into CircuitPython to learn Python and hardware together, TinyGO, or even use the Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for CircuitPython, MakeCode, and Arduino. It has a powerful processor, 10 NeoPixels, mini speaker, InfraRed receive and transmit, two buttons, a switch, 14 alligator clip pads, and lots of sensors: capacitive touch, IR proximity, temperature, light, motion and sound. A whole wide world of electronics and coding is waiting for you, and it fits in the palm of your hand.