I got a bunch of shiny new toys for Christmas and needed a project to play with. I live on a boat with my wife and it is now winter in Seattle and she complained that the boat was sometimes too cold when it seemed to be about the same to me. So I figured I have sensors that can track this, let's make a data logger and upload this to the IoT. I also have been playing around with Windows IoT so figured I would see if I could get it to work there.
This setup takes a temperature and Pressure reading from a BMP280 sensor once a minute. It then displays that information on the local display (if you have one, I run this headless so I *assume* the information shows up there. It then takes this information and uploads it to the Adafruit.IO web service. There was no example code for using this via .NET, and the documentation for it is still pretty poor (Hey, I know it is still in Beta...) but it supports a simple restful API, so I was able to get some data into it and setup a dashboard. Sadly I still can't get the location services for Windows IoT working, and I have read it is broken right now, so who knows. It also doesn't make a difference since I couldn't get the lat/long information to correctly upload to correctly anyway.
Here is the live feed coming off my boat:
https://io.adafruit.com/buchhla/nokomis-environment-logger-esp8266
(I rewrote this app using ESP8266, so the live feed with the same data is linked above)
I have also now added a 20x4 I2C LCD for real-time display and added light data from an adafruit TCS34725 RGB sensor module. Note: I am using one of the generic Chinese I2C displays, so make sure the I2C address is correct. You can also easily convert the code for a 16x2 display by changing the init procedure. I didn't see a ton of code out there for this exact display combination, but as you can see I am using someone else base code for this.
Here is the wiring diagram for how it goes together.
Comments