#Say Hello to Espruino
#ESP8266 and Espruino
In the Espruino e-shop, there are a few boards available for just a couple of British pounds. But you can also use any of the other options available. You can get up and running using Espruino with the ESP boards. ESP8266 is a great option, as it's affordable, expandable and there are lots of examples, tutorials, and projects built with it.
For the purpose of this simple tutorial we are going to use the NodeMcu ESP8266 Lua board, which comes with a micro USB port for power, programming and debugging as well as a bunch of soldered pin headers for quick prototyping. Flashing Espruino is a lengthy process and may get quite tricky, especially for newcomers to embedded development. Luckily though we can use Flasher.js, a command-line tool that allows flashing Espruino without any hassle. You can run Flasher.js on Linux, Mac or Windows and there is also support for a bunch of other boards besides NodeMcu.
#Download and Install Flasher.js
You can find a binary for your operating system in the Flasher.js releases page which you can download and install. ou may need to download and install some additional drivers in order to allow Flasher.js to communicate with your device. There is also a list with the required drivers per device and operating system available in the documentation page.
#Flash Your Device
Open Flasher.js app and connect your device to your development machine. For the NodeMcu ESP8266 Lua board you need to use a USB to Micro USB cable. Flasher will try to auto detect the available port. On Windows, these are going to look like
COM3 , while on Mac and Linux they will be more like
/dev/cu.usbmodem150 . Double-check that the port is the appropriate one, pick the latest Espruino binary and hit the Flash button.
While it's flashing, you should see your onboard LED blinking. When the process is done you can immediately start using your device with Espruino.
#Setup the Espruino IDE
Head over to the Espruino Web IDE (page)[https://www.espruino.com/Web+IDE] and install the Chrome extension application. Connect your device and launch the app. Click the "Connect" button on the upper left corner and pick the appropriate port. You are directly connected to your board. You can verify your board, as well as the Espruino build using the Web IDE's console like this:
Using Espruino for embedded development can open a whole new world for web developers. ESP8266 has been around for a while and you can start prototyping right away. In a series of upcoming tutorials, I am going to show you how you can use Espruino in order to create lots of interesting experiments and projects.