This tutorial is about NodeJS with Arduino….
You can learn how to use Arduino to send and receive data with NodeJS here. In this tutorial, I assume that you hae some experience with NodeJs and also try npm a little before.
- First, I will start from NodeJS. This tutorial, I use ‘SerialPort’ in NodeJS to connect with Arduino. Then, please install SerialPort module in your project by the following command
npm install serialport
- Create NodeJS script.
- Then I will go to Arduino script.
- Let’s test your Arduino :)
Reference: