Digi-Pas DWL5800XY handleiding
Handleiding
Je bekijkt pagina 42 van 73

Digi-Pas
®
© 2023 Digipas Technologies Inc. All Rights Reserved.
www.digipas.com
Page 36
DWL-5x000XY DATA SHEET
Byte [n] Command Descriptions
Byte [0] 0x61 To Computer / From Sensor
Byte [1] 0x11 Single Axis Position / Single Axis Mode
Byte [2] 0x01
Angle Value
Byte [3] 0x12
Byte [4] 0xA8
Byte [5] 0x80
Byte [6] 0x01 Single Axis Position
Byte [7] 0x13 Not Applicable
Byte [8] 0x88 Not Applicable
Byte [9] 0xAA Dummy
Byte [10] 0x16 CRC16 High
Byte [11] 0x46 CRC16 Low
Following equation shows the conversion of angle from the received data:
For DWL5800XY
Decimal Degree = (((Byte [5]<< 24) + (Byte [4] << 16) + (Byte [3]<< 8) + Byte [2]) - 18000000) /
100000) * 3600
For DWL5500XY
Decimal Degree = (((Byte [5]<< 24) + (Byte [4] << 16) + (Byte [3]<< 8) + Byte [2]) -18000000)
/ 100000
For DWL5000XY
Decimal Degree = (((Byte [5]<< 24) + (Byte [4] << 16) + (Byte [3]<< 8) + Byte [2]) -1800000) / 10000
* Please ensure that Byte 2 returns 0x11 when using Single Axis Mode
6.5.2. Dual Axis Mode
To set the tilt sensor module into Dual Axis Mode:
<< (To sensor) : 0x06, 0x01, 0x02, 0xAA, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
Byte [n] Command Descriptions
Byte [0] 0x06 From Computer
Byte [1] 0x01 To Sensor
Byte [2] 0x02 Dual Axis Mode
Byte [3] 0xAA Dummy
Byte [4]~[11] 0x00 Not Applicable
Data received from tilt sensor module:
>> (From sensor) : 0x61, 0x22, 0x2D, 0xC6, 0xC0, 0x2D, 0xC6, 0xC0, 0x13, 0x88, 0x31, 0xE2
Bekijk gratis de handleiding van Digi-Pas DWL5800XY, stel vragen en lees de antwoorden op veelvoorkomende problemen, of gebruik onze assistent om sneller informatie in de handleiding te vinden of uitleg te krijgen over specifieke functies.
Productinformatie
| Merk | Digi-Pas |
| Model | DWL5800XY |
| Categorie | Niet gecategoriseerd |
| Taal | Nederlands |
| Grootte | 10950 MB |



