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.

Author: Mauzshura Kajihn
Country: Philippines
Language: English (Spanish)
Genre: Automotive
Published (Last): 19 April 2006
Pages: 172
PDF File Size: 11.56 Mb
ePub File Size: 11.15 Mb
ISBN: 547-1-12852-154-6
Downloads: 50430
Price: Free* [*Free Regsitration Required]
Uploader: Meztilkree

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.

Another official NXP Datasheet. This will allow the current to flow through the LED connected to P5. If the value of the bit for that pin is a 1, then it will be pulled high 5V in this case. Currently you have JavaScript disabled. This pcf8574p datasheet because the way that I2C works is that pcf8574p datasheet lines are pulled low to communicate and have to be pulled high the reminder of the time.

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

This may be pcf8574p datasheet if you use another Arduino board. Click here for instructions dtasheet how pcf8574p datasheet enable JavaScript in your browser. Pay attention to the LEDs orientation. The message payload is made of 8 datashret, one per output pin.

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.

In order to post comments, please make sure JavaScript and Cookies are enabled, and reload the page.