The Johnny-Five Tutorial Series is geared towards Arduino programming on Node.js, using the Johnny-Five framework. Get caught up here. A tilt sensor is a component that senses its own change in inclination. Similar to a button, tilt sensors are activated through a physical interaction mechanism; in the tilt sensor case, this is the act of […]

Tagged:

Nearly two years has passed since I wrote the article that introduced Johnny-Five as a new way to program Arduino microcontrollers with JavaScript on Node.js. In those two years a lot of exciting things have been created, despite the potentially restrictive paradigm that Johnny-Five programs exist in. The underlying Firmata platform protocol forces Johnny-Five programs […]

Tagged:

We’ve been working quite a bit with d3.js here at Bocoup. From working on d3.chart to our work with clients like Climate Central. Regardless of our endeavor, one thing stayed true – we rely on the many examples out there showing off how to use various esoteric features of d3.js. Many of these examples live […]

Tagged:

Johnny-Five was first released in 2012 and since then, we’ve spent a lot of time attempting to “prove” that JavaScript is capable of things that robotics programming has long taken for granted. Specifically, we’ve used the Johnny-Five framework to recreate popular hobbyist robotics projects that were previously written in C. In this article, I’m presenting […]

Tagged:

Learn CSS Layout is a new learning and reference site I made in my open source time here at Bocoup. Although there are lots of resources on the web for learning CSS layout techniques, we’ve had trouble finding ones we’re comfortable recommending. Learnlayout.com is an enlightening and accessible look at modern techniques for beginners, while […]

Tagged:

Many of us here at Bocoup spend a lot of our time helping others get better at JavaScript and working with open web technologies, from Adam Sontag working with folks to solve their problems in the #jquery IRC channel, to Ben Alman working out the perfect way to explain an IIFE, to Greg Smith guiding […]

Tagged:

Today we at the Miso Project are excited to release a new library, called Storyboard, our state management library for control flow of interactive interfaces. As more and more of our code is written in an asynchronous manner, managing the flow of our code becomes more challenging. Event broadcasting and subscriptions is a common pattern […]

Tagged:

It was more than two years ago now that I first published jQuery Fundamentals, a free online jQuery learning resource. Since then, the site has seen hundreds of thousands of visits — if you’ve learned jQuery in the last two years, chances are decent that you’ve landed on the page at least once or twice. […]

Tagged:

Building a back-end API layer introduces a whole new layer of coordination between server and client code. While there are many aspects to this delicate dance of communication, one key ingredient to minimizing back-and-forth-confusion-about what-call-does-what, is consistently communicating about your API endpoints. This is by no means rocket science, but over time I’ve created a […]

Tagged:

00000001 // 1 — truthy, so LED 7 is ON Throw in the iteration from 0 to 255, a timeout, and some Johnny Five code, and we end up with this: Part 2: Learning to Write If all we wanted to do was count from 0 to 255 in blinking lights, then the best we […]

Tagged: