oh you got it ok
Printable View
oh you got it ok
I have another similar (in respects to communicating from Arduino to RPi, using PHP and AJAX.. thats works fine.. but it is definitely a send/receive type of communication.. not just one side open/listening constantly for any incoming data..) that I am also working on that takes a hosted HTML/CSS/jQuery/PHP form.... sends some data out to a connected Arduino (via PHP and serial comm)...
Arduino listens for any incoming serial data, ... parsed data.. does whatever action the serial command says.. and responds to a listening PHP.. (that was called/executed from an AJAX snippet in the HTML page).... that in return updates the HTML page/form state