Node.js

Build a Smart Home UI to Control Your Garage Door
BuildSep 27, 2016

Build a Smart Home UI to Control Your Garage Door

Welcome back! In the previous article, we explored smart home automation via a garage door opener service using LiftMaster, PubNub, and Node.js. The context is the growing popularity of two main areas, the Smart Car and Smart Home. Integration of Smart Home door and access control seems like a natural...
Michael Carroll
Michael Carroll
Real-time Garage Door Control with a LiftMaster and PubNub
BuildSep 20, 2016

Real-time Garage Door Control with a LiftMaster and PubNub

Household appliances are not the kind of thing consumers really get excited about; they’re no iPhone. But thanks to the Internet of Things (IoT), that seems to be changing. It is now easy, inexpensive, and a lot more fun to create connected devices in every area of life, from cars and homes to...
Michael Carroll
Michael Carroll
Build Your Own Symbol Calculator with Ohm
BuildSep 8, 2016

Build Your Own Symbol Calculator with Ohm

Last time I introduced Ohm, an open source meta language parser with an easy to use syntax, we built a parser for different number formats. Basically, I showed you how to easily build your own programming language with just a few lines of code. This week we will extend the parser to calculate arithmetic...
Michael Carroll
Michael Carroll
Ohm: JavaScript Parser Creates a Language in 200 Lines
BuildAug 30, 2016

Ohm: JavaScript Parser Creates a Language in 200 Lines

Parsers are an incredibly useful software libraries. While conceptually simple, they can be challenging to implement and are often considered a dark art in computer science. In this blog series, I’ll show you why you don’t need to be Harry Potter to master parsers. But bring your wand just...
Michael Carroll
Michael Carroll
What’s New in JavaScript SDK V.4
Product UpdatesAug 9, 2016

What’s New in JavaScript SDK V.4

I am pretty excited to let you know that we just revamped our JavaScript SDK to version 4! The new SDK has been rewritten from the ground up to improve it with better performance, smaller footprint, event emitter patterns, and provide you easier-to-use APIs. Changes include: Isomorphic Javascript, works...
Michael Carroll
Michael Carroll
DIY Dashboard Camera 'Dashcam' with Raspberry Pi - 1/2
BuildJun 27, 2016

DIY Dashboard Camera 'Dashcam' with Raspberry Pi - 1/2

Since the Raspberry Pi was released in 2012, the capabilities of low-power, low-cost embedded computing devices have grown tremendously. It is now quite common to see smart devices (thermostats, lighting, locks, cameras) in homes as well as real-time updates in industrial settings such as package delivery...
Michael Carroll
Michael Carroll
Prototype a Smart Device: Arduino, Node.js, and Johnny-Five
BuildMay 26, 2016

Prototype a Smart Device: Arduino, Node.js, and Johnny-Five

Note: This is a modified version of the article that I originally published on Tuts+ Code. With the rise of the maker movement—Maker Faire, 3D printers, DIY robots, drones, and so on—the popularity of Arduino, an open-source, microcontroller-based kit, has turned many software engineers into hardware...
Michael Carroll
Michael Carroll
1 Line of Code: Connect Twitter + PubNub with NodeJS Streams
BuildApr 14, 2016

1 Line of Code: Connect Twitter + PubNub with NodeJS Streams

Streams are a very powerful concept. They are programming constructs which move data between objects and services without having to manually loop through the data, which is one reason why they are so popular. Twitter has streams, NodeJS has streams, Java 8 has streams, and even RSS feeds can be represented...
Michael Carroll
Michael Carroll
Triggering littleBits LEDs with Node.js Using Johnny-Five
BuildApr 9, 2015

Triggering littleBits LEDs with Node.js Using Johnny-Five

How to trigger a littleBits LED light in real time whenever a tweet is sent through the Twitter firehose with Node.js using Johnny-Five.

Michael Carroll
Michael Carroll