py-opc
py-opc copied to clipboard
Clarifying power needs from RPi
Hi @dhhagan,
Thanks for developing this wonderful library. I need to clarify something from the documentation. It will be of a great help if you could help me with this.
I was reading documentation on "https://py-opc.readthedocs.io/en/latest/". The section "Connecting via GPIO" mentions "The OPC requires at least 250 mA, so powering directly through the RPi is not an option". Please explain me this as I do not have much knowledge of electronics.
Can't RPi provide this current? If not, please give me an idea of how to connect both RPi and OPC-N3 with the same power supply. Can both the device be powered using mobile charging adapter?
Thanks for your time! Waiting for your response...
Originally posted by @yash-dahima in https://github.com/dhhagan/py-opc/issues/75#issuecomment-1727090674
Hi @yash-dahima
Opened a new ticket for this since it's a separate question. The Raspberry Pi cannot provide that much current from GPIO pin, so you will need to use a different power supply that can provide that much current. You can use a single power supply and split the power between the RPi and OPC. It's a bit hard without knowing more about your current setup.