Get Ready For Espruino

Before our second class, let’s take a few minutes to get your computer ready for Espruino, so everyone can practice with it right away in the class.

Step 1. install driver

The Board you got in the first class is using cp2102 as the USB-serial bridge. Usually your computer don’t come with its driver. So first you need to install the driver to recognize the hardware.

If you are using Mac, use this driver:

If you are using Windows, use this driver:

If you met difficulty, you may also refer to this page for more info about driver.

Step 2. install Espruino IDE

First you need to install Chrome if you don’t have it yet:

Then go to chrome web store, and search for “Espruino”:

*If you can not find it, you may check this link direct to espruino

Click “Add to chrome” and install it, you should see it in app list.

Open Espruino IDE, you’ll see the interface:

Click the gear icon on the top right corner, choose communication tab, change baud rate to 115200. Then close setting window.

Now plug in your board with a micro USB cable. Click plug icon on the top left corner, and choose “/dev/cu.SLAB_USBtoUART

It should say “Connected

In console on left side, type “reset();” and press enter. This will reset board without loading saved program. You should notice a welcome message, and also the LED on board stopped blinking.

Now type “digitalWrite(NodeMCU.D4,false);” and press enter. You should see a Blue LED is turned ON. The onboard Blue LED’s cathode (negative pin) is connected to microcontroller, so low output will turn ON the LED.

That’s all you need to do before the class. We will cover more details on class 4. If you want to explore yourself, refer to .


Leave a Reply