An Arduino-based wireless-to-serial converter to facilitate communication between the server and the props.
After setting up the hardware, upload the converter.ino sketch to the Arduino. Connect the Arduino to a computer running the server with a USB cable, which will power the converter and allow serial communication.
| Arduino Uno | RFM69HCW |
|---|---|
| GND | GND |
| 5V | VIN |
| 2 | G0 |
| 13/ICSP-3 | SCK |
| 12/ICSP-1 | MISO |
| 11/ICSP-4 | MOSI |
| 9 | CS |
| 3 | RST |
If the RF transceiver does not come with an antenna, solder a 7.8 cm solid core wire (straightened) to the module’s antenna pin for a quarter-wavelength monopole antenna.
A Haskell application to act as the brain of the platform.
Build the project using Stack.
stack setup stack build
stack exec server-exe -- -p COM19