SGS Weather Station


On 1st March 2011 the SGS Weather Station was taken offline permanently.

You can view some more technical information.

The first generation station was a standalone battery powered datalogging system. It was built for a school project, taking around three months to design and build. Everything was built from scratch, the casings and sensors were either vacuum formed or CAD/CAM milled from HIPS.

The electronics was microcontroller based (PICAXE 18X originally) and used a DS1307 to log data to EEPROM once every fifteen minutes.

After the school project finished, work on the station continued until it became generation three, which lasted two years until it was finally taken offline in early 2011. The system updated to the internet every fifteen minutes. The PICAXE sent a serial string to a Lantronix XPORT that called a PHP script on this server (hexoc.com). The PHP page's query string contained all the variables from the sensors. PHP and MySQL systems then kicked in to adjust ADC reads and other such things, before data was stored in the database. One month of data was stored there, after which data was archived to CSV files by cron.

The third generation station runs a PICAXE 28X1 which allows hardware based serial IO. The clock was upgraded to a more accurate model (DS3231). The PCB was on its second revision. The XPORT drew a relatively large amount of current, so the PICAXE could switch it on and off when required. The XPORT and power electronics (eg. regulators) sat in a nearby greenhouse, connected to the station via a 5m lead. A 50m ethernet patch lead ran under the floor to connect the XPORT to the school network.

Built by Matt Brejza, Jon Sowman and Ben Oxley between 2007-11.