Reading open drain output

Hi everybody, I’m looking to integrate the MCP73871 battery charger into a shield I’m working on. It’s the same one that is used on the battery shield. The chip has three open-drain outputs for charging status information, and on the battery shield they are used to drive 3 leds. I’d like to connect the outputs to the Core, in addition to the leds, but my electrical engineering knowledge is a bit week, so if someone could look at the circuit diagram below, and let me know if I’m doing this right, I’d greatly appreciate it. Thanks!

It looks fine though 100k sounds a little too large. :wink:

1 Like

Use a 10k - 47k resistor instead

1 Like