Johnny-five: Support for WeMos D1

Created on 11 Dec 2015  路  12Comments  路  Source: rwaldron/johnny-five

Hi, any chance johnny-five support WeMos D1 and/or D1 mini ?
http://www.wemos.cc/wiki/doku.php?id=en:start

Feature Hardware Required stale

Most helpful comment

All 12 comments

It's not supported yet but I don't see any reason it couldn't be supported in the future. For future reference, here is where we keep track of supported boards:

http://johnny-five.io/platform-support/

@monteslu @ajfisher where are you guys with ESP-8266 stuff?

@rwaldron transparent bridge is definitely the current preferred support option.

An IO port is still being worked through slowly. Currently there's a transport method which will allow arbitrary execution of messages across relevant transport methods (eg UDP-local, UDP-Serial, Serial-Local etc) but there's a bit to do yet on top of that.

There's been some discussion of a direct port of firmata using the ESP8266 Arduino stuff which will _sort of work_ but doesn't deal with things like timing resolution and transient network silliness, endpoint targeting, device discovery etc which is what we're trying to work through more comprehensively.

IMO the ESP8266 in bridge mode is adequate for most cases and the ESP32 will actually open up considerably more capability for a standalone device with more headroom (32 bit, 40 IO pins, 400KB RAM, BT, dedicated WiFI processor) and a comparable price point and on the market within 6 months.

As such my sense is that this is a more viable future target for support as it's entirely possible we can be doing stuff like sending messages that can then be held locally and run rather than constantly orchestrated from J5.

entirely possible we can be doing stuff like sending messages that can then be held locally and run rather than constantly orchestrated from J5.

Similar to "reporting" and "continuous read"?

@rwaldron where do I send the hardware? :wink:

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

I've added a reference to this on the Requested Features page

This still show on the requested features page, but it has been closed. Does that mean the board will not be supported ever? If so please update the requested features page. Thanks

Hi @BluVueMatthew

There is no reason to believe it will not be supported ever, that's why it still lives on the Requested Features page. We just close the requested feature issues because they would overwhelm the other issues (there's lots of hardware out there).

Just gave it a shot on a Wemos D1 r1
Works fine. A few notes:

  • install the esp8266 stuff in arduino boards manager
  • use StandardFirmataWifi sketch in arduino, and edit the wifiConfig.h for your wifi settings
  • uncomment this line #define SERIAL_DEBUG
  • use serial monitor at 9600 baud to see what address your device gets
  • connect to it with https://github.com/mwittig/etherport-client/tree/master#using-standardfirmatawifi-with-esp8266

@BluVueMatthew
one more thing, the pins do not match on the d1 r1 with what's printed at the board at all. Not sure if that got any better on the r2.
I got an led to blink on what the board has labled as d11/d7 by specifying pin 13 in my johnny-five code.
2019-04-17

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ntatko picture ntatko  路  11Comments

moeinrahimi picture moeinrahimi  路  4Comments

camer0 picture camer0  路  5Comments

Zhairgling picture Zhairgling  路  3Comments

teuteuguy picture teuteuguy  路  4Comments