Control an Arduino using an iPhone (or Android..)
- Expo
- Node.js
- React-Native
- Arduino IDE
- Arduino (Any model)
- USB cable
-
Install React-Native, socket.io, and node-serialport
$ npm install
-
Start the expo-cli
$ expo start
-
In a separate terminal, start the node server
$ node server/serialSeeder.js
-
???
-
Profit
Make sure the Arduino is plugged into the machine running the server. Also be sure to upload the .ino file to the Arduino.