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):||19 April 2006|
|PDF File Size:||11.56 Mb|
|ePub File Size:||11.15 Mb|
|Price:||Free* [*Free Regsitration Required]|
Adding pins to your Arduino using I2C and a PCFP chip | Francois’ Corner
Connect to your 5V or 3. In the setup function, all it does is initializing the Wire library. Atmel Power Debugger — First impressions. I defined a constant for the chip name: Serial Clock Line that is used pcf8574p datasheet synchronize all communications on the bus. This is pcf8574p datasheet if you want to use many PCFP chips, on the same I2C bus, because it will allow you to give each pcf8574p datasheet them a unique addresses.
Your email address will not be published.
Philips – datasheet pdf
pcf8574p datasheet Then, in the loop function, it turns each LED on for milliseconds one at the time. All you have to do is to give then their own address unless you want many chips to pcf8574p datasheet the same thing and use that address to talk to the chip in your code. Leave a Reply Cancel reply Your email address will not be published. If you do like this example, you now have an extra 14 pins to play with 2 X 8 pins – 2 pins on the Arduino for I2C bus.
Pcf8574p datasheet Data Line that is used to carry data between the devices on the bus. My goal, here, is to turn on only one LED at the time.
Adding pins to your Arduino using I2C and a PCF8574P chip
If the value of the bit corresponding to a pin is a 0, then pcf8574p datasheet pin will be turned low to ground. On the PCFP, the 2 pins are:. To turn off a LED, we will pull its corresponding pin to high.
There are different ways of working around that limitation. The I2C bus requires 2 wires, so 2 pins on the Arduino and 2 pins on each device attached to the bus. Simply change that constant pcf8574p datasheet is you configured pcf8574p datasheet chip with a different address. Then, it tells the PCF chip what is the new state of all his 8 output pins.
So, to talk to the chip, I pcf8574p datasheet use 0x20 C language notation for 20 in hexadecimal as the chip address.
I never faced situations where I needed that many pins! As mentionned in pcf8574p datasheet wiring section, the 2 pins have to be pulled high with a pull-up resistor.
So, there should be only one pin that’s pulled to ground.
Save my name, email, and website in this browser for the next time I comment. Again, VDD means that pin must to be connected to 3. I used a 2. Ideally, you should also put a nF ceramic capacitor between the VDD pin and ground. Essentially, what the code does is pcf8574p datasheet the Wire library. The long lead pcf8574p datasheet connected to the VCC 5V line and the short lead is connected to the resistor.