1.Configure Anchor0
- Open the get_range.ino by Arduino IDE. This program parses the AT instructions into JSON format and uploads them through the serial port.
- Use Type-C USB cable to connect the board and PC, and select the development board "ESP32 Dev Module" and the port.
- Verify the code and upload.
2.Configure other devices
- Open the esp32_at_t0.ino by Arduino IDE.
- Use Type-C USB cable to connect the board and PC, and select the development board "ESP32 Dev Module" and the port.
- Change module settings
#define UWB_INDEX 0 //Device ID(Anchor 0-7,Tag 0-31) #define TAG // #define ANCHOR //Device Role(Tag or Anchor) #define FREQ_850K // #define FREQ_6800K //Equipment communication rate(850K or 6800k)
- Verify the code and upload.
Note configure at least three Anchors for positioning.
More information, such as pre-preparation of the arduino environment and how to download the code into the module, can be found here.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.