MCP4725 Breakout Board - Any more than 2 ?

by wdickenson on Mon Jan 07, 2013 1:15 pm

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
wdickenson
 
Posts: 50
Joined: Fri Nov 16, 2012 7:43 pm

Re: MCP4725 Breakout Board - Any more than 2 ?

by adafruit_support_bill on Mon Jan 07, 2013 1:23 pm

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
adafruit_support_bill
 
Posts: 25582
Joined: Sat Feb 07, 2009 9:11 am

Re: MCP4725 Breakout Board - Any more than 2 ?

by wdickenson on Mon Jan 07, 2013 1:29 pm

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
wdickenson
 
Posts: 50
Joined: Fri Nov 16, 2012 7:43 pm

Re: MCP4725 Breakout Board - Any more than 2 ?

by adafruit_support_bill on Mon Jan 07, 2013 3:16 pm

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

There is a "software I2C" library: viewtopic.php?f=25&t=13722
But you would have to hack the MCP4725 library a bit to use it.
User avatar
adafruit_support_bill
 
Posts: 25582
Joined: Sat Feb 07, 2009 9:11 am