ebook img

IoT with Esquilo and AngularJS PDF

16 Pages·2012·2.46 MB·English
by  
Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.

Preview IoT with Esquilo and AngularJS

IoT with Esquilo and AngularJS + What is Esquilo? ● IoT connectivity + Arduino usability + KISS philosophy ● NOT a Linux & Arduino mashup ● NOT a cloud-controlled widget ● Complete IoT solution (hardware + software + cloud) Everything is Built In Web IDE ● Stored in flash ● Multi-file source editor ● Syntax highlighting ● Source level debugger ○ Breakpoints ○ Stepping ○ Watches ○ Backtrace ● File manager ● Live console Squirrel Language ● Embedded application is programmed in Squirrel ● Very similar syntax to JavaScript or C++ ● Includes hardware libraries plus Arduino emulation ● Your functions are callable as web services (from JavaScript, Python, Java, C, etc.) ● Runs in isolated VM Esquilo RPC ● Embedded functions are automatically brought out as web service endpoints ● Data transferred in both directions with JSON ● Easy with any language that has an HTTP client (JavaScript, Python, Java, C, Ruby, etc.) Weather Station Demo Weather Station Squirrel Code Import sensor drivers Create I2C instance on bus 0 Create sensor instances getWeather() callable with POST and GET automatically Read sensors, populate return object Weather Station HTML Weather Application Controller Gauge directive widgets Weather Station App & Controller Weather model ERPC POST to call getWeather() embedded Squirrel code Returned as JSON object Populate model - Angular data binding takes care of the rest Poll every 1000ms

Description:
Includes hardware libraries plus Arduino emulation. ○ Your functions are callable as web services (from JavaScript,. Python, Java, C, etc.) ○ Runs in
See more

The list of books you might like