MCP4725 Breakout Board - Any more than 2 ?

Post here about your Arduino projects, get help - for Adafruit customers!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
wdickenson
 
Posts: 184
Joined: Fri Nov 16, 2012 8:43 pm

MCP4725 Breakout Board - Any more than 2 ?

Post by wdickenson »

I need to convert 4 signals from digital to analog. This BOB seems to only have one switch so I am presuming that the max I can have is 2 ? Thanks

User avatar
adafruit_support_bill
 
Posts: 88087
Joined: Sat Feb 07, 2009 10:11 am

Re: MCP4725 Breakout Board - Any more than 2 ?

Post by adafruit_support_bill »

You can have two per I2C bus. Assuming an Arduino, that is two max. On a Raspberry Pi, there are two busses, so you can have four.

User avatar
wdickenson
 
Posts: 184
Joined: Fri Nov 16, 2012 8:43 pm

Re: MCP4725 Breakout Board - Any more than 2 ?

Post by wdickenson »

Oh... now thats an interesting comment. So I can have two busses on an UNO ? I guess that never occurred to me but I suppose just defining one with A4+A5 and another with A2+A3 would work ?

Thanks

User avatar
adafruit_support_bill
 
Posts: 88087
Joined: Sat Feb 07, 2009 10:11 am

Re: MCP4725 Breakout Board - Any more than 2 ?

Post by adafruit_support_bill »

Unlike the Raspberry Pi, The UNO only has one 'hardware' I2C bus (on A4 & A5).

There is a "software I2C" library: http://forums.adafruit.com/viewtopic.php?f=25&t=13722
But you would have to hack the MCP4725 library a bit to use it.

Locked
Please be positive and constructive with your questions and comments.

Return to “Arduino”