I am quite new to Raspberry Pi and Modbus. I am going to implement a Modbus RTU on Raspberry Pi using libmodbus.

I followed this totorial as a simple Modbus test, but when I compile the bandwidth-server-one and run the code, nothing happens and look like it's stuck in a loop.

Should I use more specialized hardware or change the code? Thanks for your help.

  • 2
    What do the people who wrote the linked article suggest?
    – joan
    Feb 28, 2016 at 9:36
  • nothing! i want to implement modbus rtu. and i am using usb to ttl converter and connect my pi to pc with windows. and use one of modbus simulator in my pc to act as modbus master or slave.
    – dorsa
    Feb 28, 2016 at 11:48


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.