An image of an Arduino device and other Electric components

Defective Astro Pi Sense HAT Boards

Print Friendly and PDF

Posted: July 6, 2016 | | Categories: Internet of Things (IoT)

I'm working on a project that uses the Astro Pi Sense HAT board to measure temperature, pressure and humidity. The project I'm building will upload weather measurements to Weather Underground, but I'm also storing the data locally (in a Mongo database) and building a dashboard my family can access to view the captured data using Flask.

Anyway, I've been having problems with the Sense HAT board, I've purchased two of them and they both recorded invalid data. The vendor finally admitted that 'We reached out to the manufacturer. There are issues with the current ones on the market and it will not be resolved until late July.' So, apparently the batch of devices out in the wild won't work and I'll have to wait until probably early August for a working board. Since I searched the Internet and couldn't find anything about this problem, I thought I'd post it here so others can save themselves some troubleshooting.

Here's the results I got from my second Sense HAT board:

Astro Pi Sense Hat Output

That temperature reading? It's in degrees Celsius - can you imagine 140 degrees C?

Anyway, here's a quick test application you can use to, well, test the board; this is the app that generates the output you see in the figure:

from __future__ import print_function
import time
from sense_hat import SenseHat

sense = SenseHat()
while True:
   t = sense.get_temperature()
   p = sense.get_pressure()
   h = sense.get_humidity()
   t = round(t, 1)
   p = round(p, 1)
   h = round(h, 1)
   msg = "Temperature = %s degrees F, Pressure=%s millibars, Humidity=%s percent" % (t, p, h)
   print(msg)
   time.sleep(2)

Next Post: Pi Reminder – Delete Google Calendar Access Authorization Token

Previous Post: Relay Testing Jig

If this content helps you in some way, please consider buying me a coffee.

Header image: Photo by Robin Glauser on Unsplash.