10-15-2020, 08:35 PM
(10-15-2020, 08:08 PM)midwestE Wrote: I didn't add a mosfet, just opened it up and soldered directly to the leads using post that someone had written here.
My knowns/findings:
*Plugged into DC8/Feeder
*Equipment added and mapped to DC8/Feeder
*3.3v from + to ground
*3.6mv from data to ground
*Turning the equipment switch On/Off did not change the data voltage.
I suspect the data pin should be sending 3.3v when turned on?
Feeder will be ok as this port is same as feeder port on old controller.
The data pin is a ground when active so you need to test using +3.3v or any other +5/+12v pin. When feeder port is turned on the ground will connect, you should see +3.3v on meter or voltage of positive pin being used.
Can you run the following command in the raspberry pi terminal.
i2cdetect -y 1
That will print the list of I2C devices, you should see 3 addresses, 40, 70 and 63. The DC ports are controlled with the PCA9685 so this will verify it's being seen.