I have been working on my first project and have got it to a stage where I can share my progress.
nimbus is a small weather station that currently has sensors for temperature, humidity and light. I have plans to expand this to include pollution sensors too.
The next steps are to build a weather proof case and also write a WordPress plugin for easily interfacing with the Spark Cloud API. I also need to check that the lux value I am seeing is being calculated correctly.
The project can be viewed on GitHub: https://github.com/scottsweb/nimbus
Whilst putting this together a few questions have cropped up which would be helpful to have answered:
When my core is flashed and not in debug mode (see code) I have to do a hard reset before I can flash the core again. Is there a way to ensure the core can always be flashed remotely? When it is out in the garden it would be great to be able to update the code from the warmth of the house.
I am looking at ways to save power as nimbus will be solar powered with a backup battery. The
Spark.sleep()function looks like it should do the job but I am having a hard time getting it to work. Any tips for working with this?
I would love some feedback and ideas for how it could be improved. Thanks!