I am trying to figure out how I would go about taking serial information from an Arduino which controls a Javascript browser extension I have running in an open browser locally on a computer. It would seem that I would need some sort of middleman to internalize the serial readings and pass them to the browser (to activate the functions I have coded). Python? Any answers, help, and reference is greatly appreciated.
Share
A very simple http server in python would look like this
in the do_Get method you can add the code necessary to access your arduino program
another option would be coding this in ruby by using webrick as the webserver part
a third option would be using an ethernet-shield on the arduino and skipping the proxy code completely