CrowPanel-CM4 Display 7" - Python port name of RS485

I need the correct port name of the two RS485 ports of my CroqPanel-CM4 Display 7" for python:
instrument = minimalmodbus.Instrument('/dev/tty1', 1) # port name, slave address
tty1 or ttyAMA0, ttyAMA1, ttyAMA2 do not work.
Any idea? Thanks.

Comments

  • Hello @danilo,
    Is your Pi terminal this one with 4G and lora version?

  • Yes. With WiFi and 4G-Modul. But both modules are in the moment not installed on the board.

  • @Jennie said:
    Hello @danilo,
    Is your Pi terminal this one with 4G and lora version?

    Yes. With WiFi and 4G-Modul. But both modules are in the moment not installed on the board.

  • Is your Pi terminal this one with 4G and lora version?

    Yes. With WiFi and 4G-Modul. But both modules are in the moment not installed on the board.

    Hello @Jennie ,
    Is my Pi terminal preconfigured for 4G and lora? What can I do now? I need the two RS485 Ports on my Pi terminal, but 4G or lora are not mandatory. What is to do for going back without 4G and/or lora? Just change the configuration of the GPIOs or is there more to do?

Sign In or Register to comment.