Difference between revisions of "DW1000 Tag"
From InCircuit
(→Downloads) |
|||
(22 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | |||
− | |||
==Hardware== | ==Hardware== | ||
+ | |||
Tag for Ranging / RTLS applications with radino32 DW1000 Ultra Wide Band module. | Tag for Ranging / RTLS applications with radino32 DW1000 Ultra Wide Band module. | ||
− | [[File: | + | [[File:DW1000_Tag_45_1000.jpg|x300px|right|link=http://shop.in-circuit.de/product_info.php?cPath=22_27_58&products_id=188 | DW1000 Tag]] |
'''Features:''' | '''Features:''' | ||
− | *radino32 DW1000 module | + | *[[radino32 DW1000]] module |
*Integrated UWB antenna | *Integrated UWB antenna | ||
− | *Integrated USB-Li-ion loader for | + | *Integrated USB-Li-ion loader for 18650 battery |
− | *microUSB connector for | + | *microUSB connector for battery loading |
*Transparent enclosure | *Transparent enclosure | ||
− | *Accelerometer, 3-Axis ([ | + | *Accelerometer, 3-Axis ([[Media:MMA7660FC.pdf|Datasheet NXP MMA7660FC]]) |
− | *3 | + | *3 freely programmable LEDs |
+ | <br/> | ||
− | == | + | ==Software== |
− | + | The {{PAGENAME}} is shipped programmed with a closed source firmware based on the [[dw1000 advanced demo]] from our [[radino Library]]. | |
− | + | ||
− | |||
− | + | '''Extended functionality of the {{PAGENAME}} firmware''' | |
+ | * The stm32 enters stopMode when there is no activity to save as much power as possible | ||
− | |||
− | + | '''Functionality contained in the [[dw1000 advanced demo]] | |
− | * USB | + | * USB used as configuration interface (wireless channel, transmit power) |
− | * | + | * When USB power is detected, the measuring algorithm is paused |
− | * | + | * Measure and transmit battery voltage |
+ | * When no movement is deteceted for 30 seconds the DW1000 is put to sleep and the stm32 goes to idle (checking every 2 seconds if there now is movement) | ||
+ | * While USB power is detected the LEDs flashing signals charge state of the battery (Green:>4.125V,Yellow:>3.8V,Red:<3.8V) | ||
+ | * A succesfull distance mesurement is signaled by a LED flash (Green:RSSI>-75dBm,Yellow:RSSI>-90dBm,Red:RSSI<-90dBm) | ||
+ | * While turned upside down the battery voltage level ist signaled on LED (Green:>4.0V,Green/Yellow:>3.75,Yellow:>3.5V,Yellow/Red:>3.25,Red:<3.25V) | ||
+ | |||
+ | |||
+ | '''Working with the firmware command mode''' | ||
+ | |||
+ | * Connect the {{PAGENAME}} to your PC via USB | ||
+ | * Start a terminal program (e.g. PuTTY, HTerm, Hyperterminal, ...) with 57600 baud and 8N1 | ||
+ | ** [[radino/radino32_software#Install_virtual_com_port_driver|STM32 virtual com port driver]] need to be installed | ||
+ | * After opening the connection press <Enter> once to display the menu | ||
+ | A)ddr:0x1234 C)han:5 X)Str:27.5 R)eload S)tore F)orceMeas:N | ||
+ | > | ||
+ | |||
+ | |||
+ | '''Available commands:''' | ||
+ | |||
+ | All commands will be send by <Enter>. | ||
+ | |||
+ | aYYYY | ||
+ | * Set address to 0xYYYY. This overides the ID set during production. (Vaild values: 0x0000 to 0xFFFF) | ||
+ | cX | ||
+ | * set channel to X. (Valid values: 1,2,3,4,5,7) | ||
+ | xYYZ | ||
+ | * set tx power to YY.Z dB (Range 0 to 33.5 steps of 0.5) | ||
+ | f | ||
+ | * Toggle execute measurements. The module communicates with the anchors and prints out results even when powered by USB. | ||
+ | r | ||
+ | * reload last stored values from EEPROM | ||
+ | s | ||
+ | * store current configuration to EEPROM (The F option is not stored and reset on USB disconnect) | ||
+ | |||
+ | |||
+ | ==Downloads== | ||
+ | |||
+ | *Datasheet: [[Media:305000106A_DW1000_Tag.pdf | Datasheet {{PAGENAME}}]]<br/> | ||
+ | *Schematic: [[Media:schematic_dw1000_tag.pdf | Schematic {{PAGENAME}}]]<br/> | ||
+ | *Arduino library for MMA7660FC: [https://github.com/reeedstudio/libraries/tree/master/DigitalAccelerometer_MMA7660FC DigitalAccelerometer MMA7660FC] or [http://library.radino.cc/Library/DigitalAccelerometer_MMA7660FC.zip DigitalAccelerometer_MMA7660FC.zip]<br/> | ||
+ | **How to import a .zip library to Arduino: [https://www.arduino.cc/en/Guide/Libraries#toc4 arduino.cc]<br/><br/> |
Latest revision as of 08:59, 3 April 2018
[edit] Hardware
Tag for Ranging / RTLS applications with radino32 DW1000 Ultra Wide Band module.
Features:
- radino32 DW1000 module
- Integrated UWB antenna
- Integrated USB-Li-ion loader for 18650 battery
- microUSB connector for battery loading
- Transparent enclosure
- Accelerometer, 3-Axis (Datasheet NXP MMA7660FC)
- 3 freely programmable LEDs
[edit] Software
The DW1000 Tag is shipped programmed with a closed source firmware based on the dw1000 advanced demo from our radino Library.
Extended functionality of the DW1000 Tag firmware
- The stm32 enters stopMode when there is no activity to save as much power as possible
Functionality contained in the dw1000 advanced demo
- USB used as configuration interface (wireless channel, transmit power)
- When USB power is detected, the measuring algorithm is paused
- Measure and transmit battery voltage
- When no movement is deteceted for 30 seconds the DW1000 is put to sleep and the stm32 goes to idle (checking every 2 seconds if there now is movement)
- While USB power is detected the LEDs flashing signals charge state of the battery (Green:>4.125V,Yellow:>3.8V,Red:<3.8V)
- A succesfull distance mesurement is signaled by a LED flash (Green:RSSI>-75dBm,Yellow:RSSI>-90dBm,Red:RSSI<-90dBm)
- While turned upside down the battery voltage level ist signaled on LED (Green:>4.0V,Green/Yellow:>3.75,Yellow:>3.5V,Yellow/Red:>3.25,Red:<3.25V)
Working with the firmware command mode
- Connect the DW1000 Tag to your PC via USB
- Start a terminal program (e.g. PuTTY, HTerm, Hyperterminal, ...) with 57600 baud and 8N1
- STM32 virtual com port driver need to be installed
- After opening the connection press <Enter> once to display the menu
A)ddr:0x1234 C)han:5 X)Str:27.5 R)eload S)tore F)orceMeas:N >
Available commands:
All commands will be send by <Enter>.
aYYYY
- Set address to 0xYYYY. This overides the ID set during production. (Vaild values: 0x0000 to 0xFFFF)
cX
- set channel to X. (Valid values: 1,2,3,4,5,7)
xYYZ
- set tx power to YY.Z dB (Range 0 to 33.5 steps of 0.5)
f
- Toggle execute measurements. The module communicates with the anchors and prints out results even when powered by USB.
r
- reload last stored values from EEPROM
s
- store current configuration to EEPROM (The F option is not stored and reset on USB disconnect)
[edit] Downloads
- Datasheet: Datasheet DW1000 Tag
- Schematic: Schematic DW1000 Tag
- Arduino library for MMA7660FC: DigitalAccelerometer MMA7660FC or DigitalAccelerometer_MMA7660FC.zip
- How to import a .zip library to Arduino: arduino.cc
- How to import a .zip library to Arduino: arduino.cc