Pages: [1]   Go Down
Author Topic: i2c problem  (Read 699 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 6
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

hi all,

how to connect any other microcontroller to arduino like i2c/wire????

please help...
Logged

Texas
Offline Offline
Edison Member
*
Karma: 25
Posts: 1298
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Yes.

Why would you want to connect any other microcontroller to arduino ?
Do you have one in mind? Give us some more details so we don't have to guess.
Thanks
Logged

Good luck, Jack

Offline Offline
Newbie
*
Karma: 0
Posts: 6
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

hi sir,

I am using cypress cy8c29466 microcontoller because of its high resolution ADC.
But I have no idea why its not working in I2C with arduino.

Can you help me ????

Thanks.
Logged

Texas
Offline Offline
Edison Member
*
Karma: 25
Posts: 1298
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

What arduino board are you using? some use different pins? What pins are you using?
What is the I2C address of the slaves?
Upload your script (use code tags), If you have not yet, read "how to use this forum" for more info.

What is the ADC resolution you are requiring?
I tried looking at for ADC resolution
Quote
Features:

PWMs (8 to 32 bit)
PWMs with Dead band (8 to 32 bit)
Counters (8 to 32 bit)
Timers (8 to 32 bit)
UART 8 bit with selectable parity (up to 4)
SPI master and slave (up to 4 each)
I2C slave and multi-master (1 available as a System Resource)
Cyclical Redundancy Checker/Generator (8 to 32 bit)
IrDA (up to 4)
Pseudo Random Sequence Generators (8 to 32 bit)

It was not in Features that I saw?
Logged

Good luck, Jack

Offline Offline
Newbie
*
Karma: 0
Posts: 6
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

sir

I found that cy8c29466 will not connect with arduino.So can u tell me that is it possible to increase adc resolution of analoge input of arduino.
Logged

Texas
Offline Offline
Edison Member
*
Karma: 25
Posts: 1298
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
What is the ADC resolution you are requiring?
Logged

Good luck, Jack

Offline Offline
Newbie
*
Karma: 0
Posts: 6
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

12 bit minimum.
Logged

Cumming, GA
Offline Offline
Edison Member
*
Karma: 20
Posts: 1657
Ultimate DIY: Arduino
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I2C Protocol specifies that there are 2 "roles"   SLAVE (or listener)  and MASTER (or controller)   Because of this... micro-controller instances are "controllers".  You likely were trying to get a master to control a master...

A ready to go ADC is available from ADAFRUIT.

http://www.adafruit.com/products/1083
Logged

Switzerland
Offline Offline
Faraday Member
**
Karma: 111
Posts: 5236
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

How about a MCP3202 (http://www.farnell.com/datasheets/1669376.pdf)?

It gives you a 12bit resolution with a 100ksps sampling speed.

If that doesn't fit, specify what you need.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 6
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

can you suggest any IC that has i2c interface and 12bit resolution.(ADC)
Logged

Pages: [1]   Go Up
Jump to: