Weather station based on the Oak and STM8S microcontrollers
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.vs/WeatherStation/v14
Hardware
STM8SCode
__vm
.gitignore
DS3231.cpp
DS3231.h
DS323xTimerFunctions.cpp
DS323xTimerFunctions.h
Debug.cpp
Debug.h
LICENSE
README.md
WeatherSensors.cpp
WeatherSensors.h
WeatherStation.ino
WeatherStation.sln
WeatherStation.vcxproj
WeatherStation.vcxproj.filters
YourSecrets.h

README.md

Modular Weather Station

Weather station based on the Digistump Oak (ESP8266 based system) and STM8S microcontrollers.

The mind map for this project shows the initial goals:

Modular Weather Station Mind Map

This software is currently in the proof of concept state and is more than a little rough around the edges.

Build System

The application requires the following devlopment environments in order to build correctly:

  • IAR STM8S IDE
  • Visual Studio Community Edition
  • Arduino IDE

IARs development environment is normally a chargeable item but there is a free version. This is restricted to 8K of code but this is adequete for this project.

Visual Studio has been free since 2015. The IDE is combined with Visual Micro addin for Visual Studio. This addin allows the development of embedded code using the Visual Studio IDE. Unfortuneatly this is not a free addin.

The Arduino IDE can be used to edit the Oak part of the application removing the need for Visual Studio. This download is required to managed the libraries for Visual Studio even if it is not used for editing.

Libraries

This project requires a number of libraries to be installed in order to compile and run:

  1. NtpClientLib - No licence file in repository
  2. Adafruit Unified Sensor - No licence file in repository
  3. Adafruit BME280 - No licence file in repository.
  4. Adafruit MQTT - MIT licence
  5. SparkFunTSL2561 - Open source (buy the developer a beer if you meet them)

Licence

All of the libraries used are freely available on GitHub as open source or MIT licenced code. The code for this project is released under the MIT Licence.

Build Logs

Build logs are available showing how this project is progressing can be found in the following locations: