GCDuino+ Weather Station (WioLite)

This is a very light-weight version of the secluded.io Wio Weather Station using just an GCDuino+ (version of GCDuiNODE adapted for the ESP8266) and a few off the shelf components.

Data from the weather station is pushed up to Wunderground and you can see my station’s data at IQUEENSL506.

Components needed for this project:

  • GCDuino+
  • Standard Light Dependent Resistor (LDR)
  • DHT22 Temp/Humidity Sensor Module
  • Bosch BMP180 Pressure/Temperature Module
  • 2 10k resistors for pull-ups. You can use Arduino internal ones too if you want to risk it.

Wunderground does not support light readings (only UV and Solar radiation – and you need separate sensors for this), but LDRs are suitably cheap so thought I would throw one on there.

I used the following Adafruit libraries to read the sensors:

To get these libraries just navigate to ~/sketchbook/libraries and clone each of the libraries using the github urls in the above pages. I use SSH so my command line usually looks something like this:

One top tip when using the DHT library with the GCDuino+ and GCDuiNODE is to make sure you initialise the DHT like this to allow for slower clock speed:

I also cheated a bit with the DHT, so I could put it straight in on pins 11, 12, 13 and 3.3 I made some pseudo ground pins in software.

So far so good it seems to work fine – the protocol that DHT uses is digital so a slightly dodgy ground is probably passable!

Anyway – here are some pictures of the assembled board. For those with good eyesight you will see my very badly soldered SMD resistor between put 13 and 3.3v line on one of the pictures!

espduino_wio_back

espduino_wio_front

The code is still being updated a fair bit so I will post the entire code once I am happy with it.

I am not posting directly to Wunderground as their API is not the greatest, so I have written a small nodejs server that acts as a go between performing a few functions such as:

  • Metric -> Imperial Conversions (yes – Wunderground takes imperial data only on it’s API!)
  • Creating datestamp (Wunderground insists on a date/time stamp in API – not great if you don’t have an RTC)
  • Managing API Keys. Wunderground API takes station id and a clear text password (yes the only you also log in normally to the site with!) so I have replaced this with a generated API key that I map to a Wunderground user.

If you like weather stations, watch this space, the full version of Wio with rain gauge, wind and lots of other sensors will be coming soon!