Any experience with PCA9501 #1511
Replies: 3 comments
-
Posted at 2015-11-24 by @gfwilliams I don't, but it looks quite straightforward according to the datasheet. Seems like a simple EEPROM looks pretty easy as well, but the address you use has the 7th bit set, so you'd need: |
Beta Was this translation helpful? Give feedback.
-
Posted at 2015-11-24 by alexanderbrevig Never seen anything like it, but it sure looks like a very handy part for many projects. I love the interrupt delegation and the small EEPROM. It seems to me that it should be relatively straight forward to use the I2C module with writeTo(address, data, ...) and readFrom(address, quantity). For the interrupt you can use setWatch(function, pin, options). EDIT: Gordon beat me to it :p I forgot to press Post after I was done typing... typical |
Beta Was this translation helpful? Give feedback.
-
Posted at 2015-11-29 by @MaBecker got one :-) 3f is the GIPO extender and 7f is the eeprom.
to change the address ground the Ax ports.
can confirm that, tried with i2cset and i2cget. next step do some i2c test in espruino. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2015-11-24 by @MaBecker
The PCA9501 is an 8-bit I/O expander with an on-board 2-kbit EEPROM.
It has six address pins with internal pull-up resistors allowing up to 64 devices
Beta Was this translation helpful? Give feedback.
All reactions