PCFP from NXP >> Specification: IC, I/O EXPANDER 8BIT, , Manufacturer Part No: PCFP. Order Code: Technical Datasheet: ( EN). The PCF provides general-purpose remote I/O expansion for most microcontroller products and disclaimers thereto appears at the end of this data sheet. 22 Nov DATA SHEET. Product specification. Supersedes data of Jul Nov INTEGRATED CIRCUITS. PCF Remote 8-bit I/O.
|Published (Last):||8 June 2004|
|PDF File Size:||17.13 Mb|
|ePub File Size:||18.9 Mb|
|Price:||Free* [*Free Regsitration Required]|
Adding pins to your Arduino using I2C and a PCFP chip | Francois’ Corner
Save pcf8574p datasheet name, email, and website in this browser for the next time I comment. In pc8574p setup function, all it does is initializing the Wire library. Currently you have Dataseet disabled. I defined a constant for the chip name: Another official NXP Datasheet.
The I2C bus requires 2 wires, so 2 pins on the Arduino and 2 pins on each device attached to the bus. There are different ways of working around that limitation. Essentially, what the code does is using the Wire library.
This will allow the current pcf8574p datasheet flow through the LED connected to P5. So, there should be only one pin that’s pulled to ground. Ideally, you should also put a nF ceramic capacitor between the Pcf8574p datasheet pin and ground. Datasneet Clock Line that is used pcf8574p datasheet synchronize all communications on the bus.
The long lead is connected to the VCC 5V line and the short lead is connected to the resistor. Pay attention to the LEDs orientation. If the value of the bit for that pin is a 1, then it will be pcf8574p datasheet high 5V in this case. My goal, here, is to turn on only one LED at the time.
I never faced situations where I needed pcf8574p datasheet many pins! Pcf8574p datasheet Data Pcf8574p datasheet that is used to carry data between the devices dwtasheet the bus.
All you have to do is to give then their own address unless you want many chips to do the same thing and use that address to talk to the chip in your code. Your email address will not be published. So, to talk to the chip, I will use 0x20 C language notation for 20 in pcf8574p datasheet as the chip address.
The message payload is made of 8 bits, one per output pcf8574p datasheet. This is because the way that I2C works is that the lines are pulled low to communicate and have to be pulled high the reminder of datashheet time.
If the value of the bit corresponding to a pin is a 0, pcf8574p datasheet that pin will be turned low to ground. On the PCFP, the 2 pins are:. This is useful if you pcf8574p datasheet to use many PCFP chips, on the same I2C bus, because it will allow you to give each of them a unique addresses.
Atmel Power Debugger — First impressions. Leave a Reply Cancel reply Your email address will not be published.
Connect to your 5V or 3. Simply pcf8574p datasheet that constant value is you configured the chip with a different address. Again, VDD means that pin must to be connected to 3.