Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

Is there any support for I2C on Raspberry Pi?

2024-02-29
2024-03-01
  • jdjennings1962 - 2024-02-29

    Hello, our team is able to use Raspberry Pi on CODESYS, but we purchased two peripherals that utilize I2C and we cannot figure out how to access these devices in CODESYS. But they are working using Python.

    Does anyone have a suggestion or an existing library that might help support this?

    Thank you,
    Jeff

     
  • jdjennings1962 - 2024-02-29
     

    Last edit: jdjennings1962 2024-02-29
  • jdjennings1962 - 2024-02-29
     

    Last edit: jdjennings1962 2024-02-29
  • nano - 2024-03-01

    hello jdj

    this question can be answered well with a pretty good forge documentation:

    https://forge.codesys.com/drv/io-drivers/doc/Generic/

    u r also able to create in codesys directly an iec-code by using the i2c-interface as driver using the codesys ide and st

    depending on the stepperdriver, used in yΓΆur hat, its possible that an driver is already available in the device-repository. which mcp-device is used on the hat?

     

Log in to post a comment.