The smartest way to program smart things: Node.js
June 19, 2015 Editor 0
Save 25% on registration for Solid with code SLD25. Solid is our conference on the convergence of software and hardware, and the Internet of Things.
Why is this a big deal? It makes programming hardware much simpler — college students can learn Node.js in a weekend. And it makes it possible to build and program an entire IoT device, from start to finish, in less than four hours. This may very well be the future of hardware programming.
Intel principal engineer Michael McCool will be at O’Reilly’s Solid Conference, June 23-25, 2015, to lead a workshop on using Node.js and HTML5 to program the Internet of Things. “In only three and a half hours, we’re going to walk people through building a complete and sophisticated IoT system,” McCool told me in an interview. That includes building a hardware prototype, hardware interfacing, streaming telemetry, building a UI on the phone, and creating an app. “The Web server part is just five lines of code. The rest of it is similarly simple,” he said. “The complete code is only about 200 lines on the embedded device, plus a little bit more…when you add in graphs of things for streaming data.”
Solid returns to Fort Mason June 23–25, 2015.
Solid covers everything essential and intriguing about the IoT and beyond: from robotics, drones, and wearables to advanced materials, UX design, digital fabrication, security, and hardware prototyping. One attendee called it “more than a bit mind blowing.”
One of the other strengths of Node.js is its huge library of packages, more than 132,000 and growing. Last September, when McCool last taught his course, it was 74,000. Not all of them work for small devices, but they are easy to install with one command. And Node.js also supports a number of other IoT-specific communication systems, such as MQTT, which is designed for fast status updates from small devices.
Subscribe to our stories
- Opportunities and Challenges for Data-Driven Agricultural Innovation June 21, 2017
- Open Source Drug Discovery with the Malaria Box Compound Collection for Neglected Diseases and Beyond. June 21, 2017
- Leveraging ‘suptech’ for financial inclusion in Rwanda June 21, 2017
- Malaria diagnosis and mapping with m-Health and geographic information systems (GIS): evidence from Uganda. June 21, 2017
- WHO cone bio-assays of classical and new-generation long-lasting insecticidal nets call for innovative insecticides targeting the knock-down resistance mechanism in Benin. June 14, 2017