Skip to content
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

Cable Assignment #1

Open
mzoeller opened this issue Jun 24, 2022 · 2 comments
Open

Cable Assignment #1

mzoeller opened this issue Jun 24, 2022 · 2 comments

Comments

@mzoeller
Copy link

Thanks for sharing your code! I'm unsure about the correct setup, could you help?

The way I understand your code is that I connect two USB serial adapters. One is connected to the heater and one to the heater control.
Which one of the two do I select in example.py line 6 (serial_num='A50285BI)? The one connected to the heater? The other one is detected automatically, correct?

Also I'm unsure about the cables. The cables coming from the heater are.
WHITE = GROUND
RED = 12V
BLUE/GREEN = RX/TX (or the other way around?)

Do I pass the RED cable directly between the control and the heater?

Do I connect the heater GREEN to USB RX?
Do I connect the control GREEN to USB TX?

Thanks!!
Michael

@kalutep
Copy link
Owner

kalutep commented Jul 11, 2022

Thanks for your feedback!

You can connect either one or two USB serial adapters. In the example.py the serial_num='A50285BI' is the type of both adapters. The program automatically detects whether one or two adapters are connected. If there is only one, it should be connected to the heater. When there are two adapters connected, program automatically detects which one is connected to the heater. You can also define serial ports directly when initializing AutotermHeater class.

Yes, the red wire should be connected directly between heater end controller, but you need to connect Raspberry and start the program first. Otherwise, the controller would not connect to the heater.

Cable from the controller:
BLUE -> GND
WHITE -> RXD
GREEN -> TXD

Cable from the heater:
BLUE -> GND
WHITE -> TXD
GREEN -> RXD

Best regards,

Peter

@EdKok
Copy link

EdKok commented Aug 16, 2023

Is it possible to connect just one adapter while the controller keeps being connected to the heater? I'm looking for only reading the data, not sending any from the Pi.
Reason is to find out why my heater keeps shutting down without any error on the (comfort) display and the need to buy the expensive diagnose kit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants