Arduino Forum

Using Arduino => Interfacing w/ Software on the Computer => Topic started by: TouqeerHussain on Mar 20, 2019, 07:05 pm

Title: Node and Johnny Five sketch saving issue esp8266
Post by: TouqeerHussain on Mar 20, 2019, 07:05 pm
Hello!

I have a nodemcu esp8266 i got setup running with johnny five in order to run i have to use node xxx.js command with the ip address of my board with when i disconnect it the board stopped running too.

so How do i upload my js code on my board??
Title: Re: Node and Johnny Five sketch saving issue esp8266
Post by: ieee488 on Mar 20, 2019, 09:33 pm
Hello!

I have a nodemcu esp8266 i got setup running with johnny five in order to run i have to use node xxx.js command with the ip address of my board with when i disconnect it the board stopped running too.

so How do i upload my js code on my board??
Are we suppose to guess what "johnny five" is? ? ? ?
If you want help, learn to write you question properly.

Johnny-Five (the proper name) apparently runs on the host PC and there is client code that runs on the client which in your situation is the NodeMCU.

The firmware that is required to be installed on your NodeMCU is the StandardFirmata.

You really should do more work.

.
Title: Re: Node and Johnny Five sketch saving issue esp8266
Post by: gbafamily on Mar 20, 2019, 11:24 pm
Quote
so How do i upload my js code on my board??
One way to run Javascript on an ESP8266 is Espruino. Espruino implements a subset of Javascript. This has nothing to do with Arduino.

https://www.espruino.com/