Crate jsy_mk_194

source ·
Expand description

JSY-MK-194 is hardware to read power of line. Please see official website.

This crate was inspered by jsy-mk-194.cpp library.

JSY-MK-194 return data in 61 bytes array:

Order of dataDatabyte index
1header of response0, 1, 2
2voltage13, 4, 5, 6
3current17, 8, 9, 10
4power111, 12, 13, 14
5positive kwh115, 16, 17, 18
6power factor119, 20, 21, 22
7negative kwh123, 24, 25, 26
8negative127
negative228
not used29, 30
9frequency31, 32, 33, 34
10voltage235, 36, 37, 38
11current239, 40, 41, 42
12power243, 44, 45, 46
13positive kwh247, 48, 49, 50
14power factor251, 52, 53, 54
15negative kwh255, 56, 57, 58
16crc59, 60

Modules§

  • Error of JsyMk194 struct

Structs§

  • Channel struct to get information. JSY MK 194 has 2 channels
  • Global struct to communicate with JSY MK 194

Enums§

Traits§

  • Uart trait that must be impremented for specific hardware