It has a few buttons, a few led light (compressor on/off,...) and a 4 digit 7-segment display showing the temperature.
I am wondering how will I read all the data (leds, 7-segment display) and simulate button-pressing through the GPIO pins. Here are my thoughts:
- I can simulate the button presses using relays.
- I can read the leds by a parallel connection to the GPIO pins
- I can read the 7-segment display by a parallel connection to the GPIO pins (I know how display signals work)
Are these methods good? Should I use serial connection instead of parallel?
Can I connect the ground of my pi to the ground of the heat pump electronics? Is this safe? It probably does not make sense to read voltage through the GPIO pins if I do not have the grounds (zeros) at the same potential?
In this case I could perhaps also simulate the button presses by outputting on the GPIO pins and there would not be a need for relays? I am not concerned about damaging my pi (since i can just order a new one), but am quite concerned about damaging my heat pump electronics.
I am sorry, I never studied electronics, I am more of a programmer. Please advise (the main questions are in bold