A while back the ship’s NWS mechanical barograph gave it up, thread here(Electronic Barograph), turns out the NWS has switched to digital barographs. I haven’t laid eyes on it but NWS tells me one is one the way to the ship.
I also thought it would be good to have one at home and during my research the lowest price I could find was about $240, but pressure sensors can be had for about $10. So I thought I’d see if I could get one working at home. A RPi with WiFi can be had for about $10. I paid under $50 for a Pi 3 B+ which includes power supply and case. I hooked up a TV with HMDI from the guest room for a monitor and bought a cheap keyboard. It makes a usable standalone computer by itself
Here is the result, this is screen shot. The missing plot is when the power went out in high winds. The plot is done using Matplot. The Python3 script can be seen on the left. I didn’t write the scripts, it’s from using cut and paste from the internet, a little tweaking was needed here and there to get it to run.
Here is the “headless” (no monitor, keyboard or mouse), Raspberry Pi with a ribbon cable to the bread board.using a VNC viewer to see it from my laptop.
Here is the BMP280 pressure/temp sensor and a SHT31-D humidity/temp sensor on a breadboard, a little soldering was required. The comms protocol is i2c.
Next I going see if I can get temp and humidity (from the SHT31-D) on the same graph.