For Sensors:
- Download Arduino IDE and clone repository
- Move library into arduino folder
- Plug in sensor array
- Compile and upload XXX.ino to the sensor array
For Microphone:
- Switch to "jhalcomb/microphone" branch
- Navigate to "Feather Tests/FeatherMicrophone"
- Open FeatherMicrophone.ino in the Arduino IDE
- Compile and upload to the sensor array
To Run:
- Plug in Raspberry Pi
- Connect to "PiFi2" from your computer
- Password: morepiforme
- Open an ssh connection with the pi
- IP: 192.168.4.1
- User: pi
- Password: raspberry
- Navigate to "~/triglyph" directory
- Navigate to master with "git checkout master"
- Update master with "git pull"
- Navigate to "~/triglyph/triglyphserver" directory
- Start server with "node index.js"
- Open new ssh connection (don't close the last one)
- Start listening for microphone with "microphone command: nc -l 4000 | aplay -r 8000 -f U8"
To Connect:
- Connect to "PiFi2" from your computer
- Password: morepiforme
- Open a browser and navigate to "192.168.4.1:3000"