Post topics, source code that relate to the Arduino Platform

User avatar
By uhrheber
#4652 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
User avatar
By garyservin
#4657 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!
User avatar
By dacb
#4764
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.
User avatar
By Samighi11
#28992
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