Sharing Aurora with Modbus

Viewing 2 reply threads
  • Author
    Posts
    • #24163
      UgoPoddine
      Participant

        Hello,

        writing in English if of common interest.
        I’m using the Aurora Arduino Library that runs very well : thank-you and congratulations.
        I would like now to share the RS485 connection also some other Modbus devices (well running), still on the same RS485 line, of course with different Modbus Ids, using (if possible) one only ModbusMaster istance and MAX485 on Software serial.
        Unfortunately the configuration seems to be imcompatible, and if I start calling Aurora (e.g with Aurora::DataState dataState = inverter.readState()) the MODBUS data flow stops.
        There is no method Aurora.end neither that can help in switching-off Aurora when Modbus call starts.

        Do you have any suggestion ?
        Grazie molte per ogni aiuto, saluti
        Ugo Poddine

      • #24201
        UgoPoddine
        Participant

          Hello,

          I have solved the issue by myself, simply moving in the main loop() the alternate call to :

          pzemSerial.begin(9600); //Baud Rate as 9600… sopra sembra non farcela
          node.begin(slaveID, pzemSerial)

          and after :

          inverter.begin();

          It works very well
          Thank-you
          Best regards
          Ugo

        • #24203
          Renzo Mischianti
          Keymaster

            Hi Ugo,
            sorry, I lost the previous message, thanks for your feedback and solution.
            Bye Renzo

        Viewing 2 reply threads
        • You must be logged in to reply to this topic.
        Exit mobile version