Servo

How to Control a Servo Array with NodeJS

How to Control a Servo Array with NodeJS

Recently I wrote an article titled How to Control an Arduino Uno with NodeJS. In it I discussed how to control an LED over HTTP using an Arduino hooked up to a host using NodeJS and the johnny-five library. In this article I’m going to expand on that to show how to use a similar technique to control a couple of micro servos.



How to Control an Arduino Uno with NodeJS

How to Control an Arduino Uno with NodeJS

In this tutorial I’m going to show you how to drive an Arduino Uno using NodeJS. The Arduino Uno is a popular microcontroller board for hobbyists. You can control things wired to it like LEDs and motors. To program it you write code in an IDE and then upload the code to the board. The upload happens over a USB cable.