You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 16, 2021. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,7 +40,7 @@ There are only a few variables that can to be modified. Note that in this projec
40
40
| NUMBER_OF_MOTORS_MOVING | 1 | the execution of the commands is staggered/ cascaded from motor number 0 to NUMBER_OF_MOTORS. This is done to limit the amount of power being drawn at any one time|
41
41
| TIMEOUT | 50000 | this number counts the number of loops before the array returns a timeout error to the raspberry pi. The mount of time a loop takes is arbitrary and this number should be adjusted depending on what you need|
42
42
| IGNORE_INPUT_TIME | 150 | once the reset is hit we ignore inputs from the encoder switch for a certain number of loops. This is done so we skip an edge when moving down one turn from a reset event |
43
-
ports | {array}| array that contains the maping of port number, function, and motor number
43
+
ports | {array}| array that contains the mapping of port number, function, and motor number
44
44
45
45
## Raspberry Pi
46
46
@@ -54,12 +54,14 @@ The best way to get everything working properly is to follow these steps:
54
54
3. Copy over ```raspberry-pi/image-setup/firstboot.sh``` and ```raspberry-pi/image-setup/wpa_supplicant.conf``` to boot partition of SD card. Remember to edit the `wpa_supplicant.conf` file with the details for your wifi network
55
55
4. Put the SD card into Raspberry Pi and boot. This will take a while but but shouldn't take more than 30 mins. If it does something probably went wrong.
56
56
57
+
It is important to note that ```firstboot.sh``` configures UFW (Uncomplicated Firewall) to block all outgoing and incoming network connections other than port 22 (SSH) from 192.168.1.0/24 (local network). This is done since we don't want the Raspberry Pi being accessed outside the local network or to pull updates which might break the applications. To connect to disable UFW run ```sudo ufw disable``` and enable using ```sudo ufw enable```.
0 commit comments