Description
Is there any way to use this library to listen to the serial comms. to my TM1628.
Sort of this library in reverse so I can make some of my 'dumb' devices 'smarter'. Read what's displayed on the 7 segments, listen for and make buttons presses on the grid, view other LED that are lit on the device, etc..
I'd like passively listen for everything and interpret the results. Ideally also send button presses from the library as well.
This is an older Royal Sovereign BDH-450 dehumidifier I'd like to remotely monitor and control.
I created fonts for the segments & LED based on playing around.
Segment 0 is the status LED for this device
Segment 1 is the right digit
Segment 2 is the left digit
Segment bitmap
-- 1 --
| |
2 0
-- 3 --
6 7
| |
-- 4 -- .5
Segment display maps
byte SEG_DIGITS[] = {
0b11101011, // 0
0b10000001, // 1
0b11011010, // 2
0b11011001, // 3
0b10110001, // 4
0b01111001, // 5
0b01111011, // 6
0b11000001, // 7
0b11111011, // 8
0b11110001, // 9
0b11110011, // A
0b11111011, // B
0b01101010, // C
0b11101011, // D
0b01111010, // E
0b01110010 // F
};
Status LED for machine
byte STATUS_LIGHTS[] = {
0b00000001, // FULL RESERVOIR
0b00000010, // DEFROST
0b00000100, // ?
0b00001000, // ?
0b00010000, // FAN - LOW
0b00100000, // FAN - MEDIUM
0b01000000, // FAN - HIGH
0b10000000, // POWER
};
Using the getbutton listeners it returns the following
Down Arrow - Button 1
Up Arrow - Button 2
Fan Speed - Button 6
Power - Button 7