Control Quad from PC/Webinterface
Usage:
- Install Arduino/FlySky_Tx_Arduino.ino on arduino
- Arduino code is specially for TX/RX systems which work on Flysky protocol
- Run sockServer.js on nodejs like this C:\> node sockServer.js # this is for socket which interacts with serial port and web ui
- Run server.js on nodejs like this C:\> node server.js # this one is for web ui of the transmitter controls, this polls the control data every half second to socket server
- Run sockServer.js on nodejs like this C:\> node sockServer.js
- goto http://localhost:4000 on browser
- No more steps, you are ready!
Libraries used:
- npm install serialport2
- nodejs serialport2 # this one gave me hard time installing it so make sure you have python 2.7.* installed (no higher versions) before installing serialport2
- npm install express
- npm install ejs
- npm install socket.io
Hardware used: RX:- WL Toys v929 mini beetle quad, which works on A7105 2.4ghz system TX:- A7105 2.4G-Wireless Module brought from here