Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[SOLVED] arduino uno i2c communication

Status
Not open for further replies.

kunal123

Advanced Member level 4
Full Member level 1
Joined
Jan 24, 2011
Messages
105
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,296
Location
mumbai
Visit site
Activity points
1,961
hello,
i refeere following tutorial for i2c communication between push button & arduino uno using pcf8574p i/o expander for i2c bus
**broken link removed**

i receive the data from slave device is 11111111 in binary, i think this is the status of P0 to P7

then i remove all the inputs means push button input connected to pcf8574's (P0 to P7 pin), it again receive the data from slave device is 11111111 in binary, status of P0 to P7.

i think i give address of slave device is wrong.

how i can get correct slave device address

thanks & regards
 

Without too much reading of details ... In general some I2C device datasheets are a bit confusing, and you'll have to left shift the listed base address by 1 bit. I ran into one of those the other day. Always a fun way to waste an hour. >_<
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top