Help with PCA9685

javikistan
Posts: 5
Joined: Sun Jun 23, 2019 6:24 pm

Help with PCA9685

Postby javikistan » Thu Jul 25, 2019 8:11 pm

Hey! I recently purchased this controller because I needed to control 8 servos, but now I'm wondering if I can use the rest of the pins to read from other kinds of sensors (in my case the would be IR sensors).

I'm working on a DEVKIT V1 with Arduino framework (because I'm more used to) but I can't come up with a solution. I know you can work with leds and such, but I would need to execute a digitalRead().
Someone has more experience?

JeremyH
Posts: 1
Joined: Thu Jul 25, 2019 7:36 pm

Re: Help with PCA9685

Postby JeremyH » Thu Jul 25, 2019 8:28 pm

I'm pretty sure the pins on the PCA9685 can only be used for outputs.

Just scanned the datasheet again and didn't see anything.

I have used MCP23017 before to expand GPIO. Or MCP3008 for ADC.

Hope this helps.

Thanks,
Jeremy H

javikistan
Posts: 5
Joined: Sun Jun 23, 2019 6:24 pm

Re: Help with PCA9685

Postby javikistan » Fri Jul 26, 2019 11:43 am

Yeah at least I can discard the possibilty. What Im going to try next is to use the v+ and gnd pin of 4pins of the controller yo power supply my sensors but connect them directly to my esp32

Who is online

Users browsing this forum: Google [Bot] and 67 guests