Skip to content

Commit 48ca37c

Browse files
Update README
1 parent 8451de5 commit 48ca37c

1 file changed

Lines changed: 27 additions & 1 deletion

File tree

README.md

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,24 @@ cd BalancingRobotZ
2929
west update
3030
```
3131

32+
Install the Nordic Semiconductor utility "nrfutil":\
33+
https://www.nordicsemi.com/Products/Development-tools/nRF-Util
34+
35+
Install the nRF Connect for Desktop:\
36+
https://www.nordicsemi.com/Products/Development-tools/nrf-connect-for-desktop/download
37+
3238
Command to build the Zephyr application (in br_app directory):
3339
```
3440
source zephyr/zephyr-env.sh
35-
nrfutil toolchain-manager launch --ncs-version v3.0.2 --shell
41+
nrfutil toolchain-manager launch --shell
3642
cd BalancingRobotZ
3743
./build.sh
3844
```
3945

46+
Program the Device using the Programmer in the nRF Connect for Desktop. I installed the Nordic Open DFU bootloader.
47+
48+
https://docs.nordicsemi.com/bundle/sdk_nrf5_v17.1.0/page/ble_sdk_app_open_bootloader.html
49+
4050
## Hardware Requirements
4151

4252
### Parts List
@@ -62,6 +72,10 @@ I used this 5V miniboost board to power the 6V motors from a 3.7V LiPo battery.
6272
### Software Installation for Python Control Program on Raspberry Pi5 (Bullseye)
6373

6474
```
75+
# Make python virtual environment
76+
python -m venv ./venv
77+
cd venv
78+
source bin/activate
6579
# Update OS
6680
sudo apt update
6781
sudo apt upgrade
@@ -92,6 +106,18 @@ pip3 install --force-reinstall "PyOpenGL==3.1.5"
92106
sudo setcap 'cap_net_raw,cap_net_admin+eip' bluepy-helper
93107
```
94108

109+
### Python Control Program Installation and Invocation
110+
111+
```
112+
# activate python virtual environment
113+
cd venv
114+
source bin/activate
115+
# clone program
116+
git clone https://github.com/doug-holtsinger/WirelessSensor
117+
cd WirelessSensor/Compute/src/AHRS-VISUAL
118+
./ahrs-console.py
119+
```
120+
95121
### Calibration and Control GUI on the Raspberry Pi
96122

97123
### Calibration Procedure

0 commit comments

Comments
 (0)