Python package for Geiger–Müller Counter (GMC)
Project description
PyGMC
Python package for Geiger–Müller Counter (GMC) - communicate via USB serial interface.
Installation
pip install pygmc
Example Usage
import pygmc
gc = pygmc.connect()
ver = gc.get_version()
print(ver)
cpm = gc.get_cpm()
print(cpm)
Devices
Device | Brand | Notes |
---|---|---|
GMC-300S ✔️ | GQ Electronics | Required lower baudrate to work |
GMC-300E+ / GMC-300E Plus | GQ Electronics | |
GMC-320+ / GMC-320 Plus ✔️ | GQ Electronics | Works smoothly |
GMC-320S | GQ Electronics | |
GMC-500 | GQ Electronics | |
GMC-500+ / GMC-500 Plus ✔️ | GQ Electronics | Works smoothly |
GMC-600 | GQ Electronics | |
GMC-600+ / GMC-600 Plus ✔️ | GQ Electronics | |
GMC-800 | GQ Electronics |
(✔️=physically confirmed works)
Theoretically, any GQ GMC device following communication protocol RFC1201 or RFC1801 should work (e.g. the old GMC-280 )
Notes
- Alternative Python projects for GQ GMC:
- Device website GQ Electronics Seattle, WA
- Not affiliated in any way.
Known Issues
- Ubuntu Issue
- Ubuntu requires fixing a bug to be able to connect to any GQ GMC device.
USB devices use VID (vendor ID) and PID (Divice ID)... It is common for unrelated devices to use a common manufacture for their USB interface. The issue with Ubuntu is that it assumes1A86:7523
is a "Braille" device (for the blind) and, ironically, blindly treats it as such. - This causes the GQ GMC device to not connect.
- Ubuntu requires fixing a bug to be able to connect to any GQ GMC device.
- Ubuntu fix
- The fix is to comment out the
udev
rule that does this. The text file may be in two places./usr/lib/udev/85-brltty.rules
/usr/lib/udev/rules.d/85-brltty.rules
- Find the line below and comment it out.
ENV{PRODUCT}=="1a86/7523/*", ENV{BRLTTY_BRAILLE_DRIVER}="bm", GOTO="brltty_usb_run"
- We see Ubuntu assumes
1A86:7523
is aBaum [NLS eReader Zoomax (20 cells)]
device.
- The fix is to comment out the
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pygmc-0.5.1.tar.gz
(17.5 kB
view hashes)
Built Distribution
pygmc-0.5.1-py3-none-any.whl
(17.2 kB
view hashes)