Hey guys,
I wrote a little sketch to make it easier for web developers to play with the Arduino. In a nutshell, it lets you use REST-like requests to interface with the I/O pins.
I posted the details and some examples on my posterous:
http://jasongullickson.posterous.com/re ... rest-of-us
...and the code is out on github as well:
https://github.com/jjg/RESTduino
Hopefully some of you find it useful and let me know if you build anything cool with it!
Jason
RESTduino
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
-
- Posts: 12151
- Joined: Thu Apr 06, 2006 4:21 pm
Re: RESTduino
looks neat, would be interesting to merge this with firmata?
- jasongullickson
- Posts: 35
- Joined: Tue Dec 21, 2010 12:34 pm
Re: RESTduino
I'm flatteredadafruit wrote:looks neat, would be interesting to merge this with firmata?
I'm not an expert on Firmata, but if I understand it correctly it is strictly a USB/Serial protocol, correct?
RESTduino requires an Ethernet connection (by nature of being http based). The idea of having a REST-based interface built-in to the default firmware of the Arduino is attractive, but would having this external hardware dependency disqualify it?
-
- Posts: 12151
- Joined: Thu Apr 06, 2006 4:21 pm
Re: RESTduino
mm we mean parsing the firmata commands into rest and replies as json, its pretty close already
- jasongullickson
- Posts: 35
- Joined: Tue Dec 21, 2010 12:34 pm
Re: RESTduino
So would this parsing happen on the Arduino itself or on a "host" machine attached to the network (sorry if I'm slow on the uptake here ?adafruit wrote:mm we mean parsing the firmata commands into rest and replies as json
-
- Posts: 12151
- Joined: Thu Apr 06, 2006 4:21 pm
Re: RESTduino
yes on the arduino, just like your code does right now
- jasongullickson
- Posts: 35
- Joined: Tue Dec 21, 2010 12:34 pm
Re: RESTduino
Sounds interesting, I'd like to pursue this further.
Are you involved with the development of Firmata or should I get in touch with the developers via the Firmata site?
Thanks!
Jason
Are you involved with the development of Firmata or should I get in touch with the developers via the Firmata site?
Thanks!
Jason
-
- Posts: 12151
- Joined: Thu Apr 06, 2006 4:21 pm
Re: RESTduino
sadly i have nothing to do with firmata but you should email them!
Please be positive and constructive with your questions and comments.