- Download node.js.
- Open file serial.js and change serial path.
- Download arduinojson library. Compile and upload .ino file.
- Run command "npm install".
- Run command "node index.js" -> serial data will be printed in command prompt.
References: https://serialport.io/ https://arduinojson.org/