# How to decode the accelerometer data

**URL:** <https://bbs.aprbrother.com/t/how-to-decode-the-accelerometer-data/1603>\
**Category:** AprilBeacon\
**Created:** [May 22, 2020, 12:41am UTC](https://bbs.aprbrother.com/t/how-to-decode-the-accelerometer-data/1603 "2020-05-22T00:41:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![pauldeng](https://bbs.aprbrother.com/user_avatar/bbs.aprbrother.com/pauldeng/32/440_2.png) [@pauldeng](https://bbs.aprbrother.com/u/pauldeng)\
**Post date:** [May 22, 2020, 12:41am UTC](https://bbs.aprbrother.com/t/how-to-decode-the-accelerometer-data/1603/1 "2020-05-22T00:41:31Z")

</div>

Hi,

I received a raw sensor beacon message via gateway v4 v1.2.5.22 below:

`04 dd cd 99 db 44 48 d7 09 09 52 44 4c 35 32 38 33 32 13 16 18 03 0f 02 37 30 01 00 01 02 00 00 01 00 01 00 09 02 00`

Can I ask how to decode the accelerometer data?  
`01 00 01 02 00 00 01 00 01 00 09 02 00`

Thanks.  
Paul

---

<div class="post-metadata">

**Author:** ![aprilpea](https://bbs.aprbrother.com/user_avatar/bbs.aprbrother.com/aprilpea/32/9_2.png) [@aprilpea](https://bbs.aprbrother.com/u/aprilpea)\
**Post date:** [May 22, 2020, 3:35am UTC](https://bbs.aprbrother.com/t/how-to-decode-the-accelerometer-data/1603/2 "2020-05-22T03:35:27Z")

</div>

what model of sensor beacon did you buy? It should be N01 sensor.

---

<div class="post-metadata">

**Author:** ![pauldeng](https://bbs.aprbrother.com/user_avatar/bbs.aprbrother.com/pauldeng/32/440_2.png) [@pauldeng](https://bbs.aprbrother.com/u/pauldeng)\
**Post date:** [May 22, 2020, 6:26am UTC](https://bbs.aprbrother.com/t/how-to-decode-the-accelerometer-data/1603/3 "2020-05-22T06:26:25Z")

</div>

Hi,

I do not know what model this is, a friend of mine just passed the beacon and document to me.

It has temp/humidity sensor and an accelerometer.

I can decode the temp/humidity without any problem. However, the accelerometer is not easy and has no example.

 ![accel](https://bbs.aprbrother.com/uploads/default/original/1X/24b1455dc302b069a4cd785dc2fa995816a3bbb0.png)

So, I am wondering how to decode this.

Thanks.  
Paul

---

<div class="post-metadata">

**Author:** ![aprilpea](https://bbs.aprbrother.com/user_avatar/bbs.aprbrother.com/aprilpea/32/9_2.png) [@aprilpea](https://bbs.aprbrother.com/u/aprilpea)\
**Post date:** [May 22, 2020, 6:35am UTC](https://bbs.aprbrother.com/t/how-to-decode-the-accelerometer-data/1603/4 "2020-05-22T06:35:26Z")

</div>

you can split the data as 4 parts.

- x Acceleration data - `01 00 01 02`
- y Acceleration data - `00 00 01 00`
- z Acceleration data - `01 00 09 02`
- ?? - `00`

For x Acceleration data, 01 means negative number. the value is `-0.12`
