Connecting a Laser Distance Measurer (Bosch Disto GLM 50 C) with Smartphone (Android Studio)

后端 未结 2 639
花落未央
花落未央 2021-02-05 22:55

I got stuck at a special problem (I think). For a study project I have to make an Android application that can connect to a Laser Distance Measurer (Bosch GLM 50 C Distometer).

相关标签:
2条回答
  • 2021-02-05 23:21

    There is a reverse engineered protocol: pymtprotocol available at github page for Bosch GLM 100 C, which is a device from the same series, so hopefully it would work with GLM 50 C. Unfortunately it's Mac OS X only, I would like it was OS independant so I could try it on Ubuntu before trying to rewrite protocol for Android. I'm beginner at programming and whatever I tried I ended up in a blind alley. If someone could fork pymtprotocol and make it available for Linux or Android I would much appreciate it.

    P.S. all credits go to Peter Iannucci.

    0 讨论(0)
  • 2021-02-05 23:34

    The Bosch PLR 50 C (basically the cheaper version) uses the protocol known from the Bosch PLR 15. I could imagine the GLM 50 C also using it.

    There is a post on EEVBlog.com that outlines the most important commands:

    Example measure: send C04000EE --> reply 00 04 13 0E 00 00 32
    Change endianness: 13 0E 00 00 --> 00 00 0E 13 distance in mm: 0x00000E13*0,05 = 180mm

    0 讨论(0)
提交回复
热议问题