-->
Page 1 of 1

Firmata for the ESP8266?

PostPosted: Fri Dec 12, 2014 6:15 am
by uhrheber
Some tools use Firmate to communicate with an Arduino, and use it as an usiversal I/O module (MyOpenLab as an example).
So it would be great to have a Firmata compatible firmware for the ESP8266 also, to use it as a wireless I/O module.

Does anybody have any experience with the Firmate code, and have an idea how to do this?

Cheers
Uhrheber

Re: Firmata for the ESP8266?

PostPosted: Fri Dec 12, 2014 8:00 am
by garyservin
I am currently using the ESP8266 in transparent mode to communicate an Arduino running Firmata and use it for a simple and cheap robot for teaching programming and robotics.

I was planning to start investigating how to port Firmata to the ESP8266 but haven't started yet =(

I'll post some details if/when I make some progress!

Re: Firmata for the ESP8266?

PostPosted: Sat Dec 13, 2014 5:26 pm
by dacb
garyservin wrote:I am currently using the ESP8266 in transparent mode to communicate an Arduino running Firmata and use it for a simple and cheap robot for teaching programming and robotics.

I was planning to start investigating how to port Firmata to the ESP8266 but haven't started yet =(

I'll post some details if/when I make some progress!


Thanks for all your great work on the transparent server. I didn't see your firmata mods for the arduino on github. Did I miss them? I'd love to see what you had to do for that.

Re: Firmata for the ESP8266?

PostPosted: Sun Sep 13, 2015 7:14 pm
by Samighi11
uhrheber wrote:So it would be great to have a Firmata compatible firmware for the ESP8266 also, to use it as a wireless I/O module.





Do we have a Firmata example sketch? I am starting to understand that rather than constantly flashing my ESPs, i rather have a very simple Firmata sketch for everyone to run. I realize that web server + Firmata won't be realtime and some delay will occur, so it has limited application use.

Questions:

a) Do we have a Firmata sketch. Like WebServer Sketch but can do analog read/write, digital read-write?
b) is there a way to put the WifiWebServer in AP mode (that is what I used to do), so it generically operations? without any SSID information? (maybe mesh can be used)

Questions A and B are not related, but it is for ease of use.

I don't want to personally volunteer to write a Firmata engine on the ESP, but have a few hacked versions. my requirements are read/write analog(PWM)/digital. SPI support would be optional but nice to have. I assume someone has done this better than I could and I can help build on it.

Please let me know as I am in need of this right now for my [Lego] motor control. (after having flashed the ESP8266 100 times to debug my logic)

thank you, Saman