Sent from my iPhone
> --
> You received this message because you are subscribed to the Google Groups "NYCResistor:Microcontrollers" group.
> To post to this group, send email to nycresistormi...@googlegroups.com.
> To unsubscribe from this group, send email to nycresistormicrocon...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/nycresistormicrocontrollers?hl=en.
>
I'm guessing that this is different, though.
C
-Adrienne
On Wednesday, March 21, 2012 at 12:04 , derek enos wrote:
> Sparkfun's ADNS2620 Arduino Library (http://www.sparkfun.com/datasheets/Widgets/ADNS2620.zip) serves as an example of a software I2C-esque implementation that allows for arbitrary SDA/SCL pin assignment. It's a good starting point, but will require modification to communicate with the DS1307. For example, the ADNS2620 does not support multiple slave devices, so its protocol doesn't include a 'slave address' field, which the DS1307 requires.
>
> If your application can afford to sit idle and wait for each transaction to complete, bit-banging (implementing in software) a synchronous protocol like I2C is relatively straightforward. There's information to be found on the subject by searching for things like "bit-banging I2C", "bit-banging serial", etc.
>
> If you decide to attempt it, the "I2C Data Bus" section of the DS1307 datasheet (http://datasheets.maxim-ic.com/en/ds/DS1307.pdf) describes the DS1307's I2C protocol and the "AC Electrical Characteristics" section lists the SDA/SCL timing requirements.
>
>
> Derek
>
>
> On Tue, Mar 20, 2012 at 9:00 PM, Adrienne Humblet <amhu...@gmail.com (mailto:amhu...@gmail.com)> wrote:
> > Hi,
> >
> > I'm trying to hook up a DS1307 RTC chip to an Arduino Uno. The DS1307
> > uses the I2C bus which requires 2 connection to the Arduino. The
> > Wire.h library (which is what the Arduino uses for I2C protocol)
> > expects the SDA (serial data) and SCK (serial clock) connections in
> > the Analog 4 and Analog 5 pins of the Arduino.
> >
> > Does anyone know how to make it such that the Wire library expects SDA
> > and SCK in other pins? Pins A4 and A5 are already taken up by other
> > non I2C devices.
> >
> > Does anyone know what I'm talking about?
> >
> > I thought it would be easy, but when I look in Wire.h I don't see any
> > pin assignments.
> >
> > Thanks!
> > -Adrienne
> >
> > --
> > You received this message because you are subscribed to the Google Groups "NYCResistor:Microcontrollers" group.
> > To post to this group, send email to nycresistormi...@googlegroups.com (mailto:nycresistormi...@googlegroups.com).
> > To unsubscribe from this group, send email to nycresistormicrocon...@googlegroups.com (mailto:nycresistormicrocontrollers%2Bunsu...@googlegroups.com).
> > For more options, visit this group at http://groups.google.com/group/nycresistormicrocontrollers?hl=en.
>
>
> --
> You received this message because you are subscribed to the Google Groups "NYCResistor:Microcontrollers" group.
> To post to this group, send email to nycresistormi...@googlegroups.com (mailto:nycresistormi...@googlegroups.com).
> To unsubscribe from this group, send email to nycresistormicrocon...@googlegroups.com (mailto:nycresistormicrocon...@googlegroups.com).
> nycresistormi...@googlegroups.com.
> To unsubscribe from this group, send email to
> nycresistormicrocon...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/nycresistormicrocontrollers?hl=en.
>
>
--
Sent from my mobile device
Doug Brantner
doug.b...@gmail.com
pretendtodiy.blogspot.com project blog