Welcome!

Agile Computing Authors: Pat Romanski, Elizabeth White, Yeshim Deniz, Liz McMillan, Andy Thurai

Blog Feed Post

IoT and M2M Cloud Controlled Programmable Hardware

My friend and Cognizant colleague the ever opinionated Peter Rogers shares more of insights into the world of IoT (Internet of Things) geekdom and how it really works under-the-covers.
__________

Facebook invested more cash this week when they acquired one of my favourite Kickstarter projects Oculus VR for a seemingly ridiculous $2b. The VR (virtual reality) headset was the best in class technology (in its price range) and had just added a head-tracking software solution to reduce motion sickness. Of course it wasn't just the VR headset that Facebook acquired, but the CTO of Oculus VR, who is no other than the legendary game creator John Carmack.

There is every indication that Facebook will let Oculus VR do their own thing but I do worry about the lack of support from game developers, so John Carmack needs to rally the forces. We all agree there is money in wearable technologies in 2014, right? I actually classed virtual reality headsets as my favourite form of wearable technology, but I am a gamer at heart and spent a lot of time playing VR games in the local arcades as a teenager/adult. With the problems of motion sickness being alleviated and fast refresh rates then we can all look forward to recreating scenes from Disclosure very soon and it proves this is happening now.

IFTTT

I was recently looking into IFTTT (if this then that) which is a service that lets you create powerful connections of Internet services. Channels are the basic representation of online services (Facebook, LinkedIn, Evernote, etc.). Triggers are actions that place on a channel, such as “I check in on Foursquare” or “I am tagged in a ridiculous picture of the office party on Facebook”. Actions are the tasks to perform such as ‘send me a text message to warm me of photos I am tagged in on Facebook”.  Recipes are therefore the final ‘if this than that’ statement which combines triggers on channels with actions to perform. You can have personal recipes, one example of such being a text message warning system for photos that you are tagged in on Facebook within days of an office party.

I didn’t realise until recently that some of the non-enterprise MBaaS (mobile backend as a service) systems offer a similar IFTTT construct. If we look at Firebase which is probably more of a real-time connectivity platform than a MBaaS, but has come into the spotlight after a strong partnership with Famo.us. Firebase offers hooks to inject conflict resolution logic into the proceedings. Likewise, Telerik  allows you to inject custom JavaScript code to be executed before/after CRUD (create/read/update/delete) operations on data items. This offers a simpler alternative than a Node/GAE service tier and with the merging of API Gateways and Enterprise MBaaS on the horizon (a topic for a later Blog) then I have a strong feeling we will see this level of configuration-programmatic control in the near future, especially in the wearable space.

Tessel

Tessel start with asking a great question, “How do you teach web developers about hardware?” and it is a question I have long been pondering from a resourcing perspective. The answer they give is fantastic, “You don’t. You teach hardware about web developers”. You use familiar web development language such as JavaScript and Node to make programming hardware a much higher level construct.

Tessel is a micro-controller that runs Embedded JavaScript. The guys at Tessel seem to think that JavaScript is the perfect embedded language and I am inclined to agree. Tessel are targeting the affordable embedded processor range of Cortex-M0 to Cortex-M4 which are the lower end of the performance spectrum but come in at the [email protected] range. The options are to either run a JavaScript VM (which comes in at around 10Mb of memory) or run a Lua VM (which is highly portable and comes in at around 30K). I was curious what Embedded JavaScript actually was and I guess we will see quite a few definitions of cut down versions of the ECMAScript but Tessel have a unique take on all this. Originally on a local computer there would be a JavaScript file and a g-zipped Lua file which was then sent to a Tessel micro-controller which ran a Lua interpreter. To improve performance they have now moved to having a JavaScript file on the local computer and then on the actual Tessel they will compile JavaScript to Lua bytecode and run this through a LuaJIT (just in time compiler) based custom RTOS.

I remember all of the MEAPs (mobile enterprise application platforms) used to support Lua and soon everyone quickly moved away to the more familiar JavaScript language. Corona was the first to see an exodus of game developers due to the closed nature of the solution. Now in the MCAP space everyone is moving away from JavaScript VMs to cross-transpiled / cross-compiled JavaScript solutions (Hyperloop, Cocoon, Intel XDK). This means you get to write in JavaScript but you end up with native code which is a win-win – unless you hate JavaScript. The future is that it will become feasible to embed in every product a micro-controller powerful enough to run a high level language but for now JavaScript (or Embedded JavaScript as it will be called) seems to be the language of choice.

Firmata

I later discovered trailr which allows you to build and deploy Arduino ‘environment-aware’ sketches over WebSockets. This basically means that you can effectively reprogram the hardware by sending an environment configuration over the air. This led me onto Firmata, which is a generic protocol for communicating with microcontrollers from software on a host computer. It is intended to work with any host computer software package. Basically, this firmware establishes a protocol for talking to the Arduino from the host software. The aim is to allow people to completely control the Arduino from software on the host computer. Firmata is therefore a simple Arduino sketch that allows you to control all of the pins on the micro-controller dynamically without loading a new program on the board every time you want to do something.

SkyNet and Cloud Programmable Hardware

I have to mention SkyNet once again after they amazed me by lighting up their office with Phillips Hue light bulbs that change colour (red or green) as their stock price fluctuates (using the Yahoo Stock Market API). You can see the video here at  https://www.youtube.com/watch?v=ZNiHQXmawys. SkyNet have firmware that allows an Arduino to automatically connect to SkyNet and await Firmata instructions. SkyNet then becomes the compute cloud for controlling devices and collecting sensor data without CPUs or custom device apps.

As Chris from SkyNet says, “You could literally duct-tape an Arduino, MicroArduino (https://www.kickstarter.com/projects/microduino/microduino-arduino-in-your-pocket-small-stackable), Spark device (https://www.spark.io/), or RFduino (http://www.rfduino.com/) to a light pole with a small rechargeable battery and solar cell.  It connects to SkyNet allowing you to stream sensor data from connected sensors or you could turn on pins for lights, relays, motors, etc. via SkyNet messages. SkyNet messages could be sent from people all around the world.”

I must admit that I find the whole concept of Cloud controlled programmable hardware very exciting.


*************************************************************
Kevin Benedict
Senior Analyst, Digital Transformation Cognizant
View my profile on LinkedIn
Learn about mobile strategies at MobileEnterpriseStrategies.com
Follow me on Twitter @krbenedict
Join the Linkedin Group Strategic Enterprise Mobility
Join the Google+ Community Mobile Enterprise Strategies

***Full Disclosure: These are my personal opinions. No company is silly enough to claim them. I am a mobility and digital transformation analyst, consultant and writer. I work with and have worked with many of the companies mentioned in my articles.

Read the original blog entry...

More Stories By Kevin Benedict

Kevin Benedict serves as the Senior Vice President, Solutions Strategy, at Regalix, a Silicon Valley based company, focused on bringing the best strategies, digital technologies, processes and people together to deliver improved customer experiences, journeys and success through the combination of intelligent solutions, analytics, automation and services. He is a popular writer, speaker and futurist, and in the past 8 years he has taught workshops for large enterprises and government agencies in 18 different countries. He has over 32 years of experience working with strategic enterprise IT solutions and business processes, and he is also a veteran executive working with both solution and services companies. He has written dozens of technology and strategy reports, over a thousand articles, interviewed hundreds of technology experts, and produced videos on the future of digital technologies and their impact on industries.

IoT & Smart Cities Stories
Machine learning has taken residence at our cities' cores and now we can finally have "smart cities." Cities are a collection of buildings made to provide the structure and safety necessary for people to function, create and survive. Buildings are a pool of ever-changing performance data from large automated systems such as heating and cooling to the people that live and work within them. Through machine learning, buildings can optimize performance, reduce costs, and improve occupant comfort by ...
René Bostic is the Technical VP of the IBM Cloud Unit in North America. Enjoying her career with IBM during the modern millennial technological era, she is an expert in cloud computing, DevOps and emerging cloud technologies such as Blockchain. Her strengths and core competencies include a proven record of accomplishments in consensus building at all levels to assess, plan, and implement enterprise and cloud computing solutions. René is a member of the Society of Women Engineers (SWE) and a m...
Poor data quality and analytics drive down business value. In fact, Gartner estimated that the average financial impact of poor data quality on organizations is $9.7 million per year. But bad data is much more than a cost center. By eroding trust in information, analytics and the business decisions based on these, it is a serious impediment to digital transformation.
DXWorldEXPO LLC announced today that Ed Featherston has been named the "Tech Chair" of "FinTechEXPO - New York Blockchain Event" of CloudEXPO's 10-Year Anniversary Event which will take place on November 12-13, 2018 in New York City. CloudEXPO | DXWorldEXPO New York will present keynotes, general sessions, and more than 20 blockchain sessions by leading FinTech experts.
Apps and devices shouldn't stop working when there's limited or no network connectivity. Learn how to bring data stored in a cloud database to the edge of the network (and back again) whenever an Internet connection is available. In his session at 17th Cloud Expo, Ben Perlmutter, a Sales Engineer with IBM Cloudant, demonstrated techniques for replicating cloud databases with devices in order to build offline-first mobile or Internet of Things (IoT) apps that can provide a better, faster user e...
Bill Schmarzo, author of "Big Data: Understanding How Data Powers Big Business" and "Big Data MBA: Driving Business Strategies with Data Science" is responsible for guiding the technology strategy within Hitachi Vantara for IoT and Analytics. Bill brings a balanced business-technology approach that focuses on business outcomes to drive data, analytics and technology decisions that underpin an organization's digital transformation strategy.
Charles Araujo is an industry analyst, internationally recognized authority on the Digital Enterprise and author of The Quantum Age of IT: Why Everything You Know About IT is About to Change. As Principal Analyst with Intellyx, he writes, speaks and advises organizations on how to navigate through this time of disruption. He is also the founder of The Institute for Digital Transformation and a sought after keynote speaker. He has been a regular contributor to both InformationWeek and CIO Insight...
Rodrigo Coutinho is part of OutSystems' founders' team and currently the Head of Product Design. He provides a cross-functional role where he supports Product Management in defining the positioning and direction of the Agile Platform, while at the same time promoting model-based development and new techniques to deliver applications in the cloud.
Andrew Keys is Co-Founder of ConsenSys Enterprise. He comes to ConsenSys Enterprise with capital markets, technology and entrepreneurial experience. Previously, he worked for UBS investment bank in equities analysis. Later, he was responsible for the creation and distribution of life settlement products to hedge funds and investment banks. After, he co-founded a revenue cycle management company where he learned about Bitcoin and eventually Ethereal. Andrew's role at ConsenSys Enterprise is a mul...
In his session at 21st Cloud Expo, Raju Shreewastava, founder of Big Data Trunk, provided a fun and simple way to introduce Machine Leaning to anyone and everyone. He solved a machine learning problem and demonstrated an easy way to be able to do machine learning without even coding. Raju Shreewastava is the founder of Big Data Trunk (www.BigDataTrunk.com), a Big Data Training and consulting firm with offices in the United States. He previously led the data warehouse/business intelligence and Bi...