Hello All,
I have a little lipo charger that uses the MCP73831/2 chip. It's actually the SOT-23-5 version and here is the datasheet http://ww1.microchip.com/downloads/en/DeviceDoc/20001984g.pdf
Here is the actual product that I own
Please help me understand how I can with an arduino detect whether or not a usb cable is attached and charging the battery.
I was using a 1ohm-1ohm voltage divider from the 5V pin on the arduino but that seems to be getting in the way of a voltage divider that I'm using for another reading, so I had gotten rid of that and had gone with a jumper from the PROG (5) pin on the MCP73831 to the arduino and had some success but now reading the data sheet again and again, I just can't figure how that worked in first place.
I see that I can use a pullup resistor from the STAT (1) pin on the MCP73831 to an input on a micro but really I don't understand how that works.
Looking at this schematic https://learn.adafruit.com/system/a...iginal/adafruit_products_schem.png?1410888704
which is the lipoly backpack product based on the MCP73831 chip it appears that if I remove the LEDs the circuit will no longer function as intended. Am I right?
again, please help me understand how I can detect when the usb is connected.
Thank You, John
I have a little lipo charger that uses the MCP73831/2 chip. It's actually the SOT-23-5 version and here is the datasheet http://ww1.microchip.com/downloads/en/DeviceDoc/20001984g.pdf
Here is the actual product that I own
Please help me understand how I can with an arduino detect whether or not a usb cable is attached and charging the battery.
I was using a 1ohm-1ohm voltage divider from the 5V pin on the arduino but that seems to be getting in the way of a voltage divider that I'm using for another reading, so I had gotten rid of that and had gone with a jumper from the PROG (5) pin on the MCP73831 to the arduino and had some success but now reading the data sheet again and again, I just can't figure how that worked in first place.
I see that I can use a pullup resistor from the STAT (1) pin on the MCP73831 to an input on a micro but really I don't understand how that works.
Looking at this schematic https://learn.adafruit.com/system/a...iginal/adafruit_products_schem.png?1410888704
which is the lipoly backpack product based on the MCP73831 chip it appears that if I remove the LEDs the circuit will no longer function as intended. Am I right?
again, please help me understand how I can detect when the usb is connected.
Thank You, John