@@ -29,14 +29,24 @@ cd BalancingRobotZ
2929west 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+
3238Command to build the Zephyr application (in br_app directory):
3339```
3440source zephyr/zephyr-env.sh
35- nrfutil toolchain-manager launch --ncs-version v3.0.2 -- shell
41+ nrfutil toolchain-manager launch --shell
3642cd 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
6680sudo apt update
6781sudo apt upgrade
@@ -92,6 +106,18 @@ pip3 install --force-reinstall "PyOpenGL==3.1.5"
92106sudo 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