Bluetooth direction finding tools
This repo contains python tools for interacting with the dialog semiconductior Angle-of-Arrival(AoA) and Time-of-Flight(ToF) development kits based on the DA1469x chipset.
-
AoA development kit flashed with AoA Demo firmware From Dialog Semi. The kit contains a receiver board(DA1469x AoA antenna board + daughter board) and a transmitter USB dongle board
-
ToF development kit flashed with ToF Demo firmware From Dialog Semi. The kit contains a receiver board(DA1469x board + daughter board) and a transmitter USB dongle board
-
python3
-
pip3
To flash the demo boards, unzip the two firmware demo packages located in the dialog-semi firmware directory. Follow the instructions contain inside the packages to flash the kits with the appropriate binaries.
- Download zip or clone repo to your machine
- Run
which python3
to check if python3 is installed. If a path topython3
is returned, skip step 3 - Run
brew install python3
- Run
pip3
. Ifpip3
is not found, runbrew update
to get latest version of pip3 - From the project root directory, run
pip3 -r requirements.txt
to install dependencies
- Connect AoA receiver board to your machine to establish serial communication
- Connect the AoA transmitter dongle to your machine or any other USB host
- Run
aoa.py -v
. You should see angle data being printed to the standard output
Note: It's important that the AoA transmitter USB dongle is connected to a USB host and not just a USB power supply
- Connect ToF receiver board to your machine to establish serial communication
- Connect the ToF transmitter dongle to your machine or any other USB host
- Run
tof.py -v
. You should see the distance between Tx and Rx being printed to the standard output
Note: It's important that the ToF transmitter USB dongle is connected to a USB host and not just a USB power supply