OpenFrameworks and Arduino communication with NodeJS using OSC communication. Tested on Raspberry Pi
- On the Arduino board, install SensorShieldLib, so The board will emit Json.
- Download ofxJSON lib
- In ofApp.h, define host and port.
define HOST "localhost"
define PORT 8080
- The script will forward JSON to a specific port using OSC
- You can then listen to the port with a nodejs or apache server to receive the data