Coder Social home page Coder Social logo

gm1356's Introduction

GM1356 for Linux

Description

This driver was written for Digital Sound Level Meter with USB (type GM1356) serial number: HA:1303162 ordered from China via Aliexpress. My sonometer works with SoundLab Sound Level Meter v. 1.0.0.20, build 2016-07-20 delivered by Benetech Poland (thank you very much for this). I was trying to run it with SoundLab downloaded from Bogen website, but it couldn't connect to the device. It means my driver may not work with some GM1356 devices.

Benetech GM1356

Installation

First make sure you have ruby interpreter installed. Then run:

gem install gm1356

Now make sure that users have access to your device. In my case I had to create /etc/udev/rules.d/90-usbpermission.rules with such content:

SUBSYSTEMS=="usb",ATTRS{idProduct}=="74e3",ATTRS{idVendor}=="64bd",GROUP="users",MODE="0666"

Then run:

sudo udevadm control --reload

And after all reconnect your device if it was already connected.

Usage

If you want to print real time data from your sonometer, run:

gm1356

For more options:

gm1356 --help

Protocol

I used Wireshark with USBPcap to sniff communication between my device and SoundLab on Windows in order to understend the protocol. Protocol is described in PROTOCOL.md.

Supported functionalities

  • receiving real time data with sound level value, A/C filter, max mode, slow/fast mode and measured range
  • changing A/C filter, max mode, slow/fast mode and measured range

Unsupported functionalities

  • importing recorded data

gm1356's People

Contributors

ciembor avatar davegudge avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.