I am Todd Heidenreich and the <NW> API is my final project for the Iron Yard Aademy. I have spent endless days and nights in the Next building, while never once taking off my coat. With the guidance of Mason Stewart, I assembled an army of Arduino units (see awesome action photo above) with the sole purpose of detailing the frigid conditions I have endured to achieve coding excellence.
With the use of Johnny-Five for NodeJS from @rwaldron, and the “StandardFirmata” software package for Arduino, I programmed the Arduino units to collect weather data. These units were placed throughout the Next Innocation Center and began posting data to a Heroku server utilizing a MongoDB. If you feel the need for more Next building weather information, head on down to the Getting Started section and let the programming magic commence!
There are four data points currently collected with Arduino units. With the addition of more sensors the units could collect a wider array of data points.
On the right is a chart utilizing Chart.JS showing the current temperatures in the NEXT Innovation Center.
The following request:
curl -X GET http://tiny-pizza-server.herokuapp.com/collections/weather
will return a JSON object with the following format:
{ "lightIntensity":"173", "temperature":"65.93", "location":"lecture hall", "time":"1395403885912", "_id":"532c2c6b7cc80c0200000020" },