gouvr

package module
v0.0.0-...-93b2de4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 13, 2015 License: MIT Imports: 0 Imported by: 0

README

GOUVR

This project provides a boilerplate to read data from the data bus from devices manufactured by TA (Technische Alternative)

  • UVR 31
  • UVR 42
  • UVR 64
  • HRZ 65
  • EEG 30
  • TFM 66
  • UVR 1611 available under uvr/1611
  • UVR 61-3
  • ESR 21

The data bus uses a signal at 488 frequency to transmit bits. The bit stream is manchester encoded as described in docs/Schnittstelle Datenleitung 1.6.pdf (German only).

UVR1611

The project contains an implementation of a pipeline to decode the data signal of an UVR1611. The pipeline consists of several stages which decode bits to bytes and then to packets. The stages are abstracted by interfaces

WordConsumer -> BitConsumer -> ByteConsumer -> PacketConsumer
Pipeline Stages
  1. WordConsumer in signal.go: Converts a bit of type big.Word to Bit which includes the bit value and a timestamp
  2. BitConsumer in uvr/1611/sync.go: Synchronizes the decoding and passes bits through to next bit consumer when synchronized
  3. BitConsumer in byte.go: Accumulates bits to one byte and checks start and stop bit
  4. ByteConsumer in uvr/1611/packet_decoder.go: Accumulates bytes to one packet
  5. PacketConsumer by packetConsumer in uvr/1611/util.go which calls a function when packet arrives

TODO

  • Speed step speed_step.go
    • Add methods to check if enabled
    • Add method to get value
  • Heat meter heatmeter.go
    • Decode power of heatmeters

Contact

Matthias Hochgatterer

Github: https://github.com/brutella/

Twitter: https://twitter.com/brutella

License

gouvr is available under the MIT license. See the LICENSE file for more info.

Documentation

Overview

gouvr contains packages to decode the data bus of devices manufactured by TA (Technische Alternative).

Directories

Path Synopsis
This app writes the output of a GPIO pin to the console or file Replays a log file used to test a pipeline with real values
This app writes the output of a GPIO pin to the console or file Replays a log file used to test a pipeline with real values
uvr
Defines types and implements functionality to decode the UVR data bus.
Defines types and implements functionality to decode the UVR data bus.
1611
Defines types and implements functionality to read values for the UVR 1611 data bus.
Defines types and implements functionality to read values for the UVR 1611 data bus.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL