Difference between revisions of "DW1000 Tag"

From InCircuit
Jump to: navigation, search
(Hardware)
 
(10 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:DW1000_Tag_offenGehäuse_1000.jpg|x300px|right|link=http://shop.in-circuit.de/product_info.php?cPath=22_27_58&products_id=188 | DW1000 Tag]]
+
[[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]]
  
  
Line 9: Line 10:
 
*[[radino32 DW1000]] module
 
*[[radino32 DW1000]] module
 
*Integrated UWB antenna
 
*Integrated UWB antenna
*Integrated USB-Li-ion loader for 181650 batery
+
*Integrated USB-Li-ion loader for 18650 battery
*microUSB connector for batery loading
+
*microUSB connector for battery loading
 
*Transparent enclosure
 
*Transparent enclosure
*Accelerometer, 3-Axis ([http://www.nxp.com/assets/documents/data/en/data-sheets/MMA7660FC.pdf MMA7660FC])
+
*Accelerometer, 3-Axis ([[Media:MMA7660FC.pdf|Datasheet NXP MMA7660FC]])
*3 free programmable LEDs
+
*3 freely programmable LEDs
  
 
<br/>
 
<br/>
Line 19: Line 20:
 
==Software==
 
==Software==
  
The {{PAGENAME}} will be shipped with a closed source demo-firmware.
+
The {{PAGENAME}} is shipped programmed with a closed source firmware based on the [[dw1000 advanced demo]] from our [[radino Library]].
  
  
'''Functionality of demo-firmware'''
+
'''Extended functionality of the {{PAGENAME}} firmware'''
  
* Communication with Anchor
+
* The stm32 enters stopMode when there is no activity to save as much power as possible
* USB usable as configuration interface
+
* No power management: battery loader works, but the {{PAGENAME}} runs at full power
+
* Fix HF-setup (channel, band width, transmitting power)
+
  
  
'''Working with the demo-firmware command mode'''
+
'''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 {{PAGENAME}} to your PC via USB
 
* Connect the {{PAGENAME}} to your PC via USB
Line 39: Line 47:
 
  >
 
  >
  
<br/>
+
 
 
'''Available commands:'''
 
'''Available commands:'''
  
Line 45: Line 53:
  
 
  aYYYY
 
  aYYYY
* set address to 0xYYYY. (Vaild values: 0x0000 to 0xFFFF)
+
* Set address to 0xYYYY. This overides the ID set during production. (Vaild values: 0x0000 to 0xFFFF)
 
  cX
 
  cX
 
* set channel to X. (Valid values: 1,2,3,4,5,7)
 
* set channel to X. (Valid values: 1,2,3,4,5,7)
Line 51: Line 59:
 
* set tx power to YY.Z dB (Range 0 to 33.5 steps of 0.5)
 
* set tx power to YY.Z dB (Range 0 to 33.5 steps of 0.5)
 
  f
 
  f
* Toggle execute measurements. The module communicates with the anchors and prints out results.
+
* Toggle execute measurements. The module communicates with the anchors and prints out results even when powered by USB.
 
  r
 
  r
* reload last stored values from eeprom
+
* reload last stored values from EEPROM
 
  s
 
  s
* store current configuration to eeprom (The F option is not stored and reset on USB disconnect)
+
* store current configuration to EEPROM (The F option is not stored and reset on USB disconnect)
 +
 
  
<br/>
 
 
==Downloads==
 
==Downloads==
  
 
*Datasheet: [[Media:305000106A_DW1000_Tag.pdf | Datasheet {{PAGENAME}}]]<br/>
 
*Datasheet: [[Media:305000106A_DW1000_Tag.pdf | Datasheet {{PAGENAME}}]]<br/>
 
*Schematic: [[Media:schematic_dw1000_tag.pdf | Schematic {{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 07:59, 3 April 2018

[edit] Hardware

Tag for Ranging / RTLS applications with radino32 DW1000 Ultra Wide Band module.

DW1000 Tag


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
  • 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

Personal tools