All Projects → philipptrenz → BOSCH-GLM-rangefinder

philipptrenz / BOSCH-GLM-rangefinder

Licence: MIT license
Python script to remote control a BOSCH GLM 100C rangefinder via its Bluetooth serial interface

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to BOSCH-GLM-rangefinder

Arduino Robust Serial
A simple and robust serial communication protocol. It was designed for Arduino but can be used for other purposes (e.g. bluetooth, sockets). Implementation in C Arduino, C++, Python and Rust.
Stars: ✭ 83 (+102.44%)
Mutual labels:  serial, bluetooth
Webserial
Remote Serial monitor for ESP8266 & ESP32
Stars: ✭ 133 (+224.39%)
Mutual labels:  serial, remote
Androbd
Android OBD diagnostics with any ELM327 adapter
Stars: ✭ 573 (+1297.56%)
Mutual labels:  serial, bluetooth
Node Bluetooth Serial Port
Serial I/O over bluetooth for NodeJS
Stars: ✭ 444 (+982.93%)
Mutual labels:  serial, bluetooth
bluetooth-terminal
ES6 class for serial communication with your own Bluetooth Low Energy (Smart) devices
Stars: ✭ 43 (+4.88%)
Mutual labels:  serial, bluetooth
Johnny Five
JavaScript Robotics and IoT programming framework, developed at Bocoup.
Stars: ✭ 12,498 (+30382.93%)
Mutual labels:  serial, bluetooth
Web Bluetooth Terminal
Progressive Web Application for serial communication with your own Bluetooth Low Energy (Smart) devices
Stars: ✭ 130 (+217.07%)
Mutual labels:  serial, bluetooth
theheraldproject.github.io
Herald - Proximity Detection Protocol and research documentation, including the Fair Efficacy Formula
Stars: ✭ 17 (-58.54%)
Mutual labels:  bluetooth, distance-measures
Arduino Cmdmessenger
CmdMessenger Communication library for Arduino & .NET
Stars: ✭ 175 (+326.83%)
Mutual labels:  serial, bluetooth
Androidbluetoothlibrary
A Library for easy implementation of Serial Bluetooth Classic and Low Energy on Android. 💙
Stars: ✭ 171 (+317.07%)
Mutual labels:  serial, bluetooth
gba-remote-play
Stream Raspberry Pi games to a GBA via Link Cable
Stars: ✭ 356 (+768.29%)
Mutual labels:  serial, remote
android-bluetooth-serial
A library for Android to simplify basic serial communication over Bluetooth, for example when communicating with Arduinos.
Stars: ✭ 120 (+192.68%)
Mutual labels:  serial, bluetooth
OSCE
Some exploits, which I’ve created during my OSCE preparation.
Stars: ✭ 74 (+80.49%)
Mutual labels:  remote
hcitool
Bluetooth Host Controller Interface Command Line Tool for for sending HCI commands on macOS and Linux
Stars: ✭ 72 (+75.61%)
Mutual labels:  bluetooth
arduino-ble-gadget
Create your own Do-It-Yourself BLE enabled sensor gadget on the ESP32 platform.
Stars: ✭ 31 (-24.39%)
Mutual labels:  bluetooth
H.E.L.P.
Home Environment Locating People 🍍
Stars: ✭ 19 (-53.66%)
Mutual labels:  bluetooth
configuration-service
Configuration Service is a distributed configuration provider for .NET Core.
Stars: ✭ 62 (+51.22%)
Mutual labels:  remote
pycalima
Python interface for Pax Calima Fan via Bluetooth LE
Stars: ✭ 34 (-17.07%)
Mutual labels:  bluetooth
mikoto
Bluetooth LE nRF52840 microcontroller in a pro-micro footprint.
Stars: ✭ 139 (+239.02%)
Mutual labels:  bluetooth
Polygonization-by-Frame-Field-Learning
This repository contains the code for our fast polygonal building extraction from overhead images pipeline.
Stars: ✭ 161 (+292.68%)
Mutual labels:  remote

BOSCH GLM rangefinder

Python3 script to remote control a BOSCH GLM 100C or GLM 50C rangefinder.

This script provides remote control features for the BOSCH GLM 100C/50C measuring device via its Bluetooth serial interface. The device uses the transfer protocol as described in this blog post.

As the protocol seems to be identical for various Bosch measuring devices this script could also work for Bluetooth enabled rangefinders like PLR30C, PLR40C or PLR50C. If so please let me know!

Features

  • measure (returns distance millimeters)
  • turn laser on and off
  • turn display backlight on and off

Dependencies

The script was only tested on Windows. But since the Python module used is multi-platform, it should also support Linux and MacOS. See pybluez for further information.

Install pybluez for the Python3 interpreter via pip:

pip3 install pybluez

Run the script

Use the command line tool

python3 glm100c.py

Instructions on how to use get printed to the command line.

Import into your project

from glm100c import GLM100C

rangefinder = GLM100C()
if not rangefinder.connected: exit(1) 

distance = rangefinder.measure_from_tripod_socket()
if distance is not -1: print(distance, 'mm')
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].