Tag Archives: azure

Azure IoT Kit

WP_20160405_15_57_12_Pro.jpgI received one of these fun kits this year at Build 2016.  Here is the link, in case anyone is curious or wants to buy one.  It contains Adafruit’s custom ARM M0 SAMD board (similar to the Arduino Zero, but much smaller), and a bunch of components to mess around with on it.  Anyway, I figured that since the Azure guys (essentially) gave me the kit, I should use it to run through their tutorial.

WP_20160409_19_44_55_Pro.jpgAfter getting the graphics test running with the OLED Featherwing board, I ran through their Azure IoT Hub tutorial.  (Also pictured here is the temperature, pressure, and humidity sensor.)  NB: Make sure to follow the steps explicitly—the tutorial requires at least one forked version of a library that’s already available on the normal Arduino library manager.  Plus check to see if you have at least Arduino 1.6.8, which was just released in March.  I had an older one, because I was unaware of this fact.

azureIotOutput.jpgHuzzah, data!  The spike pictured here is me breathing on the humidity sensor.  Later, I discovered that the standard Azure setup they had me use for this tutorial would have run me out of credits in about three more days; so I removed it!  Alas.  Maybe there will be less pricey tiers later on.  It was fun to try out though.

Why make a new blog?

There were a few reasons contributing to the decision to start over completely.  The old one had languished, untouched, for so long, that it seemed silly, at this point, to simply write new articles or posts for it.  Additionally, I had the idea that it might be nice to form a joint blog where both Bonnie and I could write and share the same space.

While these first two ideas existed, the catalyst for actually doing it was that I now have a shiny new Windows Azure space; and since I have that, I now have an opportunity to save a bit of money by moving all my web-hosted stuff over to it.  So, given the various articles and resources that document the process, I decided to try it out.

For the record, there are a few different articles that outline how to accomplish this, but this one seemed the best written of the ones I found: “WordPress on Windows Azure: Single-Site Deployment.”  It”s worth a read if it interests you at all.  Note that the steps about the “FileSystemDurabilityPlugin” are no longer necessary; it was removed from the scaffolder.  That tripped me up for a bit, until I found this section on an article on the AzurePHP website.

Update: For those that might be interested, it doesn”t quite work out of the box.  One small tweak is required to get it to work properly.