rwaldron / johnny-five

JavaScript Robotics and IoT programming framework, developed at Bocoup.
http://johnny-five.io
Other
13.29k stars 1.77k forks source link

WIFI Connect - Shield WIFI ESP8266 #895

Closed rudemex closed 8 years ago

rudemex commented 9 years ago

Hi, how to connect wifi with shield WIFI ESP8266?

i testing this source https://gist.github.com/ajfisher/5fe60fe7d8c49b3223f0 , but no work :/

Thanks

monteslu commented 9 years ago

You'll need to test to make sure the esp image is working. Can you connect to it's wifi access point from your computer?

rudemex commented 9 years ago

no, from the computer I can not connect to the shield

monteslu commented 9 years ago

That's the hard part :)

Only advice I have on that is that I had better luck using esptool in Linux than Mac, and to make sure you're using 3.3v for power as well as RX/TX. If the firmware writes correctly it will have an open access point available when it restarts.

rudemex commented 9 years ago

you could run on mac?

monteslu commented 9 years ago

Yeah it definitely runs on mac, just failed for me a couple of times while it worked on linux flawlessly. Could have just been my system.

rudemex commented 9 years ago

great, I have exactly the same connection,The only thing different is that I give energy to the usb connected to the Mac.

what steps it work?

Thanks

reconbot commented 8 years ago

@rudemex if you're still interested I suggest reaching out to @monteslu on our gitter channel. I'm going to close this for now as while it can be made to work, the esp8266 isn't something johnny-five actively supports at this time.

soundanalogous commented 8 years ago

ESP8266 is supported actually but not well documented. You will need to use StandardFirmataWiFi from the master branch of firmata/arduino and see the wifiConfig.h file for ESP8266-related instructions and either etherport or etherport-client depending on whether you configure the ESP8266 as a TCP/IP client or server.

See this thread for examples: https://github.com/firmata/arduino/issues/257.

derekwheee commented 8 years ago

@samjulien also wrote a nice blog post about getting set up with ESP8266 (specifically a Feather HUZZAH) and J5 that covers a lot of this http://www.samjulien.com/johnny-feather/