Project Description
Win10 IoT Core Universal Windows App runs on a Raspberry PI 2 (& desktop) that reads some sensors (on an Arduino board) saves to and from Azure Mobile Serrvice

Further: :
http://embedded101.com/Blogs/David-Jones/entryid/704/win-10-iot-core-universal-windows-app-azure-sensors-new-project-on-codeplex

Updates

  1. Second Release (V5): Serial code now can auto load port via settings. Can set the Id string or its list index in menus.json. If found then will autoload when serial page is opened. Still need to press Back.
  2. Third Release (V5.1) : Many "rough edges" removed. A few minor bugs resolved. Better Serial and Main UI's. LCD Keypad actions now work properly and Select can be used to return from Serial Page.
  3. Fourth Release: Now have Bluetooth option. See The menu.json file, towards end of first section. Also code improvement wrt data being sent back, Its terminated.


Consists of two projects, the UW App and the Arduino Sketch

Functionality for UW App

  • Is a Windows 10 Universal Windows app that runs on Windows 10
    • Primary target is though Windows 10 IoT Core.
  • A menu array of buttons is auto generated at startup from a a Json file that also contains some config settings. Easy to add/remove button, reconfigure
  • Buttons provide various actions with resect to 4 sensors, besides reading current values from the Arduino board, Typical Database CRUD with an Azure Mobile Service Table
    • Same table as previously used with CEJson and Ardjson Codeplex projects.
  • The sample IOTCore Serial app orchestrates the serial communication with the Arduino board.
    • Includes an API for interacting with the Arduino Sensors and LCD display.

You plug the Arduino device's Micro USB in to a RPI2 USB Host port.

Arduino Shield Functionality

  • Is meant for the Robot Leonard Arduino board that plugs on top of the Raspberry PI 2
    • But there is currently a driver problem with its USB-Serial when used with the RPI2
    • So using an Arduino Uno
  • Two sensors used each with an additional temperature sensor
  • Freetronics DHT Humidity Sensor
  • Freetronics Baro (Pressure) Sensor
  • Freetronics LCD (Text) Display
    • Can be used instead of the UW App UI
    • All UI commands are actionable (in parallel) by the keypad on the LCD display
    • LCD displays one UI Button command at a time. Can cycle through them in a 2D manner (left,Right,Up,Down) and action with Select.
    • Individual results (read a sensor and get current stored sensor value) show on display other actions show Done when complete.

Last edited Oct 28, 2015 at 4:04 PM by DJonesEmbedded, version 17