Note: This tutorial is mostly in video form
Web bluetooth to me is the future. I even wrote a guide about it here https://www.hackster.io/virgilvox/intel-curie-ble-nodejs-990766 Using just a browser to connect to bluetooth devices. I also believe heavily in decentralized sensor networks. In an effort to motivate communities to participate in producing meaningful data about the environment, this project aims to create a simple yet durable outdoor sensor spike with a sensor array.
Any person can walk up to the device, scan its QR code from web app, collect sensor data, take a picture of the environment, and send the bundle to a machine learning platform where in turn they recieve a small yet enticing amount of crypto-currency.
Since I decided to do this in a day - Everything works up to the part of rewarding crypto-currency - which I will add on.
Create Arduino Mount:
Glue the pvc bolt (its thread should fit into the pvc coupler) to the back of the round metal enclosure (you can find these in the Electrical aisle at Home Depot) using whatever glue feels right. I was in a hurry so I used industrial hot glue.
Once dried, screw it into the thread for the pvc coupler.Attach the Solar Panel
The solar flood lamp I found is great because it comes with a spike and solar panel with a battery and charge circuit built in. Just cut the cable from the lamp, strip the wires and splice it to a barrel jack connector.
Mount the solar panel to a tube of PVC by wrapping its mounting point with friction tape. Run the barrel jack to the Arduino mount.
Attach the spike in the same fashion to the end of the second tube of PVCFlash the Arduino
Use the firmware included here. Modify as needed :) This guide should be helpful for understanding the code a bit better https://www.hackster.io/virgilvox/intel-curie-ble-nodejs-990766Add Sensors and an Arduino
Throw that grove shield on your Arduino 101 and shove that thing in the mounting box. Be sure to run your wires through the holes around the box and protect them with plastic wire sleeving.
You can 3D print the sensor carriage (files attached) to better arrange your sensors if you dont want them dangling out. Maybe you like dangly sensors. I don't. But thats just me, really I wont judge you.