mcp23008 Sourcing Voltage
Hey,
I do hope I have posted this in the right forum, if not apologies.
I have been playing around with the MCP23008. It seems absoloutly fine when it sinks. But its sourcing voltage apears to be very low.. around 0.5v. Does anyone have any suggestions on how i can pull this up to 3.3v. My tests consisted very simply of an LED and apropriate resistor.
My connections are as follows...
1. IO 0 of the Prop with Pullup (Might have been a pull down, not at home so cant remember)
2. IO 1 of the Prop with Pullup (Might have been a pull down, not at home so cant remember)
3. GND
4. GND
5. GND
6. +3.3
7.
8.
9. GND
10. LED --->|----/\/\/--- GND
11. LED --->|----/\/\/--- GND
12. LED --->|----/\/\/--- GND
13. LED --->|----/\/\/--- GND
14. LED --->|----/\/\/--- GND
15. LED --->|----/\/\/--- GND
16. LED --->|----/\/\/--- GND
17. LED --->|----/\/\/--- GND
18. +3.3v
Non of the LEDs light up, Yet if i reverse the LED and connect to +3.3 instead it is absoloutly fine and while I could use this as a sink, I would like my logic 1 to be 3.3v. Any ideas/suggestions?
Please note that the above example is just that and is not the full extent of this application, otherwise I would just use shift registers.
Many Thanks
Paul
I do hope I have posted this in the right forum, if not apologies.
I have been playing around with the MCP23008. It seems absoloutly fine when it sinks. But its sourcing voltage apears to be very low.. around 0.5v. Does anyone have any suggestions on how i can pull this up to 3.3v. My tests consisted very simply of an LED and apropriate resistor.
My connections are as follows...
1. IO 0 of the Prop with Pullup (Might have been a pull down, not at home so cant remember)
2. IO 1 of the Prop with Pullup (Might have been a pull down, not at home so cant remember)
3. GND
4. GND
5. GND
6. +3.3
7.
8.
9. GND
10. LED --->|----/\/\/--- GND
11. LED --->|----/\/\/--- GND
12. LED --->|----/\/\/--- GND
13. LED --->|----/\/\/--- GND
14. LED --->|----/\/\/--- GND
15. LED --->|----/\/\/--- GND
16. LED --->|----/\/\/--- GND
17. LED --->|----/\/\/--- GND
18. +3.3v
Non of the LEDs light up, Yet if i reverse the LED and connect to +3.3 instead it is absoloutly fine and while I could use this as a sink, I would like my logic 1 to be 3.3v. Any ideas/suggestions?
Please note that the above example is just that and is not the full extent of this application, otherwise I would just use shift registers.
Many Thanks
Paul
Comments
According to the datasheet for MCP23008 it can source and sink 25mA each output pin.
I wonder if your actually using a PCF8574 TI chip. These can only sink 25mA but only source 100uA...
(I once used a different chip and was wondering why I could not get it to communicate. That is until I looked closely at the numbers on the top of the chip and realised I had a completely different chip with different wiring and I2C codes.....)
Cheers
Paul
http://www.microchip.com/forums
There are likely to be more people there who are using the device. You could even raise a support ticket and talk to an engineer.
-Phil
From my reading of the datasheet you shouldn't expect it to source more 3mA when running at 5V supply, presumably a lot less at 3V3, something like 750uA is a good conservative guess.
Good point. Looking at the DC Characteristics, there's no way that thing's gonna source enough current to drive an LED to maximum brightness.
-Phil
Maybe to make up for my stupidity I should write a driver specificly for this IC