Difference between revisions of "Ultra Wide Band Extension"

From GCtronic wiki
Jump to: navigation, search
(Implementation)
(Implementation)
Line 13: Line 13:
 
At the moment there are two firmwares for nRF52: one configures the module as a TAG node and the other one as an ANCHOR node.
 
At the moment there are two firmwares for nRF52: one configures the module as a TAG node and the other one as an ANCHOR node.
 
Once the two modules are programmed, the [http://projects.gctronic.com/elisa3/uwb/DRTLS_Manager_R2.apk Android application] is used to put the two nodes in the same network.
 
Once the two modules are programmed, the [http://projects.gctronic.com/elisa3/uwb/DRTLS_Manager_R2.apk Android application] is used to put the two nodes in the same network.
Once configured, the TAG node will receive distances information and reflects the distance to the RGB led (intensity proportional to distance) while printing also this information to the UART
+
Once configured, the TAG node will receive distances information and reflects the distance to the RGB led (intensity proportional to distance) while printing also this information to the UART.<br/>
 
The nRF52 poll the Elisa-3 robot at about 20 Hz in a separate thread.
 
The nRF52 poll the Elisa-3 robot at about 20 Hz in a separate thread.
  

Revision as of 07:43, 26 May 2021

1 Introduction

The following figure shows the architecture details during the development phase:

On the nRF52832 the firmware is developed using the C API based on the PANS stack released by Decawave. The communication with the Elisa-3 robot is accomplished through I2C (the robot is the slave). The nRF52 is programmed/debugged through the SWD interface using an external nRF dev kit attached to the computer via USB. An additional UART is attached to the UWB module in order to get logging info.

2 I2C protocol

The nRF52 (master) writes all the actuators at once and read all the sensors data at once.


3 Implementation

At the moment there are two firmwares for nRF52: one configures the module as a TAG node and the other one as an ANCHOR node. Once the two modules are programmed, the Android application is used to put the two nodes in the same network. Once configured, the TAG node will receive distances information and reflects the distance to the RGB led (intensity proportional to distance) while printing also this information to the UART.
The nRF52 poll the Elisa-3 robot at about 20 Hz in a separate thread.


4 Documentation

  1. DWM1001_Datasheet.pdf
  2. DWM1001_Firmware_User_Guide.pdf
  3. DWM1001_Firmware_API_Guide.pdf
  4. DWM1001_Gateway_Quick_Deployment_Guide.pdf
  5. System_Overview_and_Performance_for_DWM1001.pdf