The quest to track weather is made a bit easier by the SparkFun weather shield for the Particle Photon. A tiny package with sensors, wifi and hookups for more sensors sounds like it would make things easy.
I attached a small solar panel, a charger and battery to run my small weather station wirelessly.
Enclosure:
The enclosure was a bit of an experiment. I could buy the nice ambient weather enclosure and be done, but I wanted to see what the cheapest thing I could build (that would work) was.
I picked up a bunch of garden pot liners for about 50c each, 3 long machine screws and bolts and a short length of hose. Spacers were pretty expensive (50c ea) so I cut the hose into short lengths to use as spacers.
It is not elegant, but it shields the sensors from rain, and breathes well enough that trapped heat doesn't give me bad data.
Working on:
The sensors support shutdown, I plan on updating the code to make sure the sensors sleep when the station does to make sure they aren't pulling power.
Also want to get my uv sensor plugged back in, I want to make sure the shield is working ok for a few days first.
Longer term I will get wind and rain sensors hooked up also. (some cheapish Fine Offset ones - generics for the ambientweather/sparkfun ones)
Updates:
07/28/2015
I am seeing some screwy readings from time to time, and it turns out there may be some issue with some particles and i2c, which is bad because the SparkFun weather shield has the particle talking to the sensors over i2c.
I updated the particle's firmware as per:
and am running it for a while to see if that clears things up.
07/29/15
Looks like the new Particle firmware did not fix the i2c error, I am still getting occasional bad data from the sensors.
08/04/15
Particle is still working on testing a firmware fix, in the mean time I loaded up the Core instead of the Photon and everything is looking good, reliable power up, sensors and send off to Weather Underground. At least I know my code and the SparkFun shield are solid.
https://community.particle.io/t/i2c-connection-randomly-fails-on-p1-photon/13865/22
8/13/15
Sounds like the Particle folks are working hard at getting the particle i2c sorted out
In the mean time the core is working swimmingly with the same code (except it wants spark.sleep instead of system.sleep) .
8/20/15
Hooray! Particle has released new firmware that is supposed to fix i2c on the Photon.
https://github.com/spark/firmware/releases
I will test it when I get home and report back, but I am optimistic.
8/25/15
A few days of testing, and it looks like the new firmware sorted the Particle Photon out.
9/1/15
The Weather Underground example code has been merged into the SparkFun examples on GitHub, and has also been updated to use their new unified library. My station is still sending and happy with the updated code.
Comments