kalutep / AutotermHeaterController

The purpose of this project is to control Planar (Autoterm) heater using Raspberry PI and Python. It also allows you to obtain information from the heater and pass it on.
MIT License
9 stars 0 forks source link

Cable Assignment #1

Open mzoeller opened 2 years ago

mzoeller commented 2 years ago

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 commented 2 years ago

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 commented 1 year ago

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.