-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Atlantic Calypso VM vs Split Inverter #67
Comments
Well, no data is indeed strange. One of these wires must be a data line and you should be able to read something. Have these heatpumps three or four wires? Maybe the data is passed on the fourth wire? Are you are sure the gpio ports in the configuration file are correct? Initially I used this logic analyzer to see what is going on: https://www.az-delivery.de/en/products/saleae-logic-analyzer together with Logic 2 to get the first idea of how the protocol is working. Maybe you are right, and the split inverter is using some kind of different protocol. But still I would expect, that the Arduino will read something on serial data line, even if it is garbage.
|
Both heat-pumps uses 3 wires. I have used the same analyzer for debug during my firsts attempts. |
Strange. Mh, few more thoughts:
flowchart LR
subgraph Controller
GND_CTRL
DATA_CTRL
+5V_CTRL
end
GND
DATA
subgraph HMI
GND_HMI
DATA_HMI
+5V_HMI
end
subgraph Arduino
GPIO_RX_2
GND_ARDUINO
end
GND_HMI --> GND --> GND_CTRL
DATA_HMI --> DATA -->DATA_CTRL
+5V_HMI --> +5V_CTRL
GPIO_RX_2 --> DATA
GND_ARDUINO --> GND
|
Ah, it seems officially the esp32 is officially not 5V tolerant, so it is risky to do this. Forget my comment 😬 I think I used an Arduino Uno back then when I started the first PoC, which uses an 5V logic level. |
Hello, |
@tspopp, |
This should work as well. But if you need to debug the serial protocol (baud rate, etc) the logic analyzer is very helpful. |
@sebcaps, y'a plus qu'à * 😉 * Let's do it |
Hello, Other info : while Aquamqtt is plugged display is OK BUT any commands (boost, fan test) does not trigger anything (no bip for boost, no fan start / stop...) |
Are you in Listener Mode? 🤔 In Listener Mode AquaMQTT should not affect the communication at all, as it is just sniffing the communication.... |
Some (good) news; after a day by 5°:
Another user with the same model (Calypso E/F)) is also reporting issue reading data using transistor and level shifter. Ie no data, but OK when plugged directly.... |
It is indeed strange that the logic-level-converter (LLC) does not work for those machines. Maybe these machines already provide 3.3V logic level? You might want to check with a multimeter? You may also check, if the cable which is expected to provide +5V, if that is really providing +5V or something else.... 🤔 🤷♂ Happy you have finally read something from the heatpump. If AquaMQTT is not able to parse the messages already, just drop a dump (dec or hex) from AquaDebug and we determine the cause. |
Hello, I suspect that the serial link is very sensitive to impedance changes. When directly connected, with the data wire attached to GPIO_MAIN_RX, all information is received. This rules out a software issue. I took measurements with an oscilloscope. The voltage is indeed at 5V. And with two logic buffers like the 74LVC2T45? |
Nice analysis! What is the path forward? Will you proof a new hardware design which resolves the issue for these heat pumps? I I can help verifying if the new hw design will also work with my legacy heat pump. And of course I can incorporate changes with KiCad and put a rev.2 there. |
I put it on my branch here: https://github.com/tspopp/AquaMQTT/tree/t/hwpoc You may adapt |
Super! I ordered the components. I'll engrave the PCB with my CNC in the meantime. As soon as everything is ready, I'll test it and give you feedback. |
Hi, If you're working on a rev.2, maybe you can add a way to disable the entire board (power and data) using a rocker switch. |
As far as I understood it mainly resolves the need for the LLC board and the transitors. So we replace five parts by two. Moreover it resolves the issue with those heatpumps, where we are not able to read the serial bus due to impedance changes (due to the LLC). |
Hello, here the messages I get with ArduinoESP32 in between HMI and Main. (using aquadebug & debug.py) aquadbg_debug_hex.csv Hope it's a step forward to support this model / version |
Ok. This supports my hypothesis of a connection disrupted by the addition of an element that listens to the communication. |
Hm, something is wrong in those traces, since it is an endless combination of message identifiers without data: It is always the same pattern |
Hi, |
You are right, this is an early draft. I've been just too excited yesterday. Will finish this as soon as there is feedback if that actually works. |
@Arrnooo, |
The ordered components are surface-mount components. However, my CNC is not precise enough to engrave such small traces. So I also ordered adapters for this type of DIP footprint. A choice will have to be made for the final PCB. I will receive the components this week and engrave the PCB this weekend. Expect an update in a week if time permits. |
I don't think this will work: In MITM Mode, there are two individual serial sessions going on. In case the controller session wants to read and the hmi session wants to write, you are in big trouble and you will loose packets🤔 If we get the board manufactured and pre-soldered, we don't really have an issue with using the small components, right? |
It’s working with the SN74LS245 in listening mode. I took measurements with the oscilloscope, and everything looks good. So, I believe the solution with the two 74LVC2T45 should work as well. If you have the PCBs manufactured and the components soldered, it should be feasible. |
Thx @Arrnooo for your work and feedback |
Yeah, I will take care 👍 Love to get a few things optimized such as RAST and pre-soldered through jlpcb. |
Hi,
We are discussing about Calypso compatibility in this french thread.
We are 4 users with these configurations :
After several tried, no data received, neither msgCRCKO ones.
AquaDebug grab no data either.
We are stuck !
Do you think changing port configuration may help ?
8N2 ? Baud rate ?
Do you have any leads ?
The text was updated successfully, but these errors were encountered: