GP8302 20mA I2c on Pi 4 fail
John.Doe6403 2023-05-17 12:00:06 1663 Views4 Replies I am currently struggling to get the demo for the GP8302 0-20mA current regulator running.
I work with the raspberry pi python code https://github.com/DFRobot/DFRobot_GP8302/tree/master/python/raspberrypi
I connected the wires as follows to the raspi pins
black 4 → GND
red 2 → 5V
blue 5 → SCL
green 3 → SCA

The Pi has i2C enabled.
I keep getting Error code 2 (2: Device not found, please check if the device is connected)
Has anyone successfully controlled the chip with the pi?
Does it require to have the 18-24V connected to respond on i2c?
thank you for your help
Thank you for your responses. I can confirm that after also providing the 24V, the module now communicates and works.
John.Doe6403 Check if your power supply is providing the necessary voltage and current. Still if it makes problem, kindly check the GP8302 20mA with any other board.
bidrohini.bidrohini After our confirmation, you need to power the VIN port with 18-24V to enable the module.
Yeez_B
Raspberry Pi 4 Model B - 4GB DFR0619
Raspberry Pi 4 Model B - 2GB DFR0618

