-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.json
91 lines (87 loc) · 1.81 KB
/
config.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
{
"Left":{
"SerialNumber": "801F1232380A",
"RingType": "38240B",
"Zero": 360,
"RelativeMaxWeight": 30,
"RelativeMinWeight": 30,
"AbsoluteMaxWeight": 420,
"AbsoluteMinWeight": 270,
"PumpVolume": 10,
"PumpRate": 0.2,
"I2cBus": 0,
"ButtonGpio": 21,
"LedGpio": {
"Red": 6,
"Green": 5
},
"PumpDir": -1
},
"Right":{
"SerialNumber": "801F1232380A",
"RingType": "38240B",
"Zero": 360,
"RelativeMaxWeight": 30,
"RelativeMinWeight": 30,
"AbsoluteMaxWeight": 420,
"AbsoluteMinWeight": 270,
"PumpVolume": 10,
"PumpRate": 0.2,
"I2cBus": 1,
"AdcGain": 1.0,
"AdcOffset": 0.0,
"AdcTempGain": 1.0,
"AdcTempOffset": 0.0,
"ButtonGpio": 17,
"LedGpio": {
"Red": 19,
"Green": 13
},
"PumpDir": 1
},
"Head": {
"StayAlive": 0,
"SerialNumber": "",
"ValveType": "Switch",
"ValveGpio": 25,
"WifiButtonGpio": 18,
"LedGpio": {
"Red": 20,
"Green": 16,
"Blue": 26
},
"BuzzerGpio": 12,
"LedSequence": {
"Off": [ 0, 0],
"Fast": [ 1, 0],
"Slow": [1, 1, 1, 1, 1, 0, 0, 0, 0, 0],
"Steady": [ 1, 1],
"Alive": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0],
"Bip": [1, 0, 0, 0, 0, 0, 0, 0, 0],
"Bibip": [1, 0, 1, 0]
},
"LedInterval": 0.25,
"I2cRetries": 5,
"StepsPerML": 179200,
"PumpDir": 1,
"ManualPumpRate": 0.3,
"MaxTemp": 65,
"TMC5130parms": {
"remark": "not yet implemented",
"GCONF": null,
"CHOPCONF": null,
"IHOLD_IRUN": null,
"A1": null,
"V1": null,
"D1": null,
"AMAX": null,
"DMAX": null,
"VMAX": null,
"VSTOP": null
},
"ADS122C04parms": {
"remark": "not yet implemented",
"GAIN": null
}
}
}