How to conect Javascript and arduino

We have found information in this: lnk in Spanis .

Here's how you can make a project using Arduino and Javascript

The objective of the project is to switch a LED on when the Image is detected by a Neural Network:

Here's a list of the software for this project :

You need to follow these steps

  1. Connect a LED in 13 of an Arduino
  2. Install Arduino software in pendrive
  3. Install drivers for arduino recognition found in folder drivers
  4. Check the port number in Arduino menu, e.g. Com3 and click on it to be sure of port recognition
  5. Under examples of Arduino Software, upload Arduino Standart-Firmata
  6. Install node.js 8.9.4LT2 version. It's a JavaScript server listening to http://localhost:8080 or http://127.0.0.1:8080
  7. Open the Unix Terminal and execute "node hello.js" to check the server is working
  8. Write in terminal "npm install johnny-five" this is a node package managment (NPM) found at npmjs.org
  9. Alternative to NPM isBower because is another powerfull pack manager. To use bower you need to install git from github.com and write in the terminal "npm install -g bower"
  10. NMP install express
  11. NPM install socket.io --save
  12. NPM install arduino-firmata