Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimize frame size #50

Open
johnhulth opened this issue Feb 8, 2019 · 2 comments
Open

Optimize frame size #50

johnhulth opened this issue Feb 8, 2019 · 2 comments
Assignees

Comments

@johnhulth
Copy link
Contributor

A standard frame is 87 bytes (no GPS), can this be optimized more? For example BME pressure to INT instead of FLOATetc...?

=== Binary Frame: 9 fields in 87 bytes ===
Frame type: 6
Serial ID: 0x7C4E18FDC337DE07
Waspmote ID: 4g_uio_test
Sequence: 1
Sensor 123 (TST): 1549630500
Sensor 52 (BAT): 82
Sensor 63 (ACC): 33
Sensor 63 (ACC): -12
Sensor 63 (ACC): 986
Sensor 209 (BME int): 22.8400
Sensor 209 (BME int): 17.7617
Sensor 209 (BME int): 98690.9900
Sensor 210 (BME ext): 21.6299
Sensor 210 (BME ext): 17.7812
Sensor 210 (BME ext): 98747.5500
Sensor 211 (MLX): 20.8900
Sensor 211 (MLX): 21.1300
Sensor 212 (TMP): 21.3750
Sensor 213 (VL): 825360635
Sensor 203 (DS18B20): 353

jdavid added a commit that referenced this issue May 17, 2019
jdavid added a commit that referenced this issue May 20, 2019
jdavid added a commit that referenced this issue May 20, 2019
@jdavid
Copy link
Member

jdavid commented May 21, 2019

I've worked on the SDI-12 sensors (CTD-10, DS-2 and ATMOS-22).

I've the CTD-10 here, but I need your help to verify the DS-2 and ATMOS-22. My changes for these sensors are based in their datasheets, but I feel like the information there may be wrong.

The changes in frame size are:

  • CTD-10: from 13 to 9 bytes
  • DS-2: from 25 to 13 bytes
  • ATMOS-22: from 25 to 13 bytes

@jdavid
Copy link
Member

jdavid commented May 31, 2019

This issue is strongly related to issue #9

This has been fixed for SDI-12 sensors. I'm going to move this issue to the to verify column. Please test the new sketch and report whether everything is correct from the mote to the server.

I'm going to open a new issue to do the same for other sensors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants