256dpi / handlauf

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Handlauf

PCB Design, Firmware and Driver vor the Dividat Handlauf Extension

PCB Design

See the Handlauf.sch and Handlauf.brd EAGLE files. The CAM output for production can be found in the cam.zip file.

Firmware

The Handlauf.ino is the Arduino based firmware for the built-in Arduino. Download the "capacitive sensor" and "ewma" library from the Arduino library manager.

Driver

The *.go files make up the Go based driver for the sensor. It can be built using the standard Go mechanisms. A compiled version for macOS is available on the release page: https://github.com/256dpi/handlauf/releases.

The binary provides the following options:

Usage of ./handlauf:
  -addr string
        WebSocket server address (default "0.0.0.0:8080")
  -debug string
        Debug server address e.g. ":1234"
  -freq int
        Sample publish frequency (default 60)
  -min-range float
        The minimum range (default 1000)
  -threshold float
        The threshold for on/off values

The driver contains a Web based debug interface to inspect the sensor values. If the driver is started with the -debug :1234 flag, the interface is available at http://0.0.0.0:1234.

About


Languages

Language:Go 62.5%Language:JavaScript 20.0%Language:C++ 13.9%Language:HTML 2.5%Language:Makefile 1.1%