@@ -19,7 +19,7 @@ This folder holds the logic for the website.
## Database ##
## Setup Instructions ##
# Setup Instructions #
#### Prerequisites ####
**Node-Red**
- Install Node-Red with `bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered)`.
...
...
@@ -68,11 +68,11 @@ This folder holds the logic for the website.
2.**Upload Arduino Sketches with Arduino IDE**
## Running the Project ##
# Running the Project #
- On the Pi, run `~/cm2305/pi/start.sh`. On running, this should start Node-Red with required libraries.
## Third-Party Software and Frameworks
## Code Documentation
## Troubleshooting ##
# Third-Party Software and Frameworks #
# Code Documentation #
# Troubleshooting #
### Pi ###
#### Swapped Arduino Functions ####
It's important that the two Arduinos are correctly configured with the right components, sketch, and serial port. If, on monitoring in Node-Red, the Arduinos have swapped functions, it's most likely the serial ports are incorrect. It should be Arduino 0 = ACM0 and Arduino 1 = ACM1. The easiest way to correct this is by unplugging both Arduinos and replugging them, with Arduino 0 being plugged in first.