From 48bef2a4445f522c25d0ac9b5389d99e0e9d8be8 Mon Sep 17 00:00:00 2001 From: Gabe Koleszar <72774655+gabekole@users.noreply.github.com> Date: Sat, 28 Sep 2024 12:17:33 -0400 Subject: [PATCH 1/3] Update README.md --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 25d5441..e360665 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,10 @@ Create features in branches created from dev branch. When feature is complete, m ## Hardware Config +### Serial port setup + 1. Xbee is currently (9/28/2024) configured to act as a termainl which echos input and only outputs a result which can be read by the system when there is a newline. + 2. Use stty to configure (im not sure how exactly) + ### Startup Script 1. Create a Shell Script First, create a shell script that will perform the device detection and symbolic link creation. From 8334c7caf3dd9b9e578b5f83ec94392d4fb6f1c5 Mon Sep 17 00:00:00 2001 From: Gabe Koleszar <72774655+gabekole@users.noreply.github.com> Date: Sat, 28 Sep 2024 12:34:42 -0400 Subject: [PATCH 2/3] Update README.md --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e360665..fa5dfc1 100644 --- a/README.md +++ b/README.md @@ -29,8 +29,12 @@ Create features in branches created from dev branch. When feature is complete, m ## Hardware Config ### Serial port setup - 1. Xbee is currently (9/28/2024) configured to act as a termainl which echos input and only outputs a result which can be read by the system when there is a newline. - 2. Use stty to configure (im not sure how exactly) + 1. Xbee is currently (9/28/2024) configured to act as a termainl which only outputs values when there is a newline character. + 2. Use stty to configure. Use `stty -F /dev/ttyS0` to view the current configuration (`/dev/ttyS0` may change per device) + 3. To disable or enable settings, use `stty -F /dev/ttyS0 -settingToDisable settingToEnable` the minus sign is what indicates that the setting should be disabled and the lack of a minus sign indicates that the setting should be enabled. + 4. Configure the device such that the result is: + `speed 9600 buad; line = 0; + -echo` (baud may change from 9600 if you reconfigure) ### Startup Script 1. Create a Shell Script From d422c5e9472cb4731ee9fba91fe07dacf32478c5 Mon Sep 17 00:00:00 2001 From: Gabe Koleszar <72774655+gabekole@users.noreply.github.com> Date: Sat, 28 Sep 2024 12:35:15 -0400 Subject: [PATCH 3/3] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index fa5dfc1..e723d47 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ Create features in branches created from dev branch. When feature is complete, m 1. Xbee is currently (9/28/2024) configured to act as a termainl which only outputs values when there is a newline character. 2. Use stty to configure. Use `stty -F /dev/ttyS0` to view the current configuration (`/dev/ttyS0` may change per device) 3. To disable or enable settings, use `stty -F /dev/ttyS0 -settingToDisable settingToEnable` the minus sign is what indicates that the setting should be disabled and the lack of a minus sign indicates that the setting should be enabled. - 4. Configure the device such that the result is: + 4. Configure the device such that the result of `stty -F /dev/ttyS0` is: `speed 9600 buad; line = 0; -echo` (baud may change from 9600 if you reconfigure)