<div dir="ltr">There's no need for them at all.<div>I2C only needs pull up resistors on the bus as a whole, NOT for each device.</div><div>Also, the Wire library in Arduino automatically enables the internal pullup resistors when you call begin(). You can also do the same by setting a pin as an input and then writing HIGH to it, but Wire takes care of it for you.</div><div><br></div><div>Sure, having extra won't help but you certainly don't need more than one set.</div><div><br></div><div>For the RTC, check out the DS1337, it is the DS1307's big brother and includes alarms. However, there are no alarm pins, you just have to poll for if the alarm is "going off". But there is lots of code out there already for the DS1337. If you need alarm interrupts, I'm not sure what to use... nothing I'm familiar with that has separate alarm pins.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 11, 2014 at 8:28 AM, Charles McClelland <span dir="ltr"><<a href="mailto:chip@mcclellands.org" target="_blank">chip@mcclellands.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">First, I wanted to thank Paul for the excellent presentation on interrupts.  I now have a Watch Dog Timer routine which is saving me from having to put a clock on one project.<br>
<br>
On my other project though, I still need a clock.  And since I am already using an I2C bus, I thought I could simply add one to that bus.  That way I will have two I2C sensors connected to an Arduino (ATMEGA328).  My question is how to best implement the pull-up the resistors.  Should I put resistors on each (perhaps 10k since they will effectively be in parallel) or should I put one set of pull up resistors on the main board for both?  It seems like the latter is the better approach but I did not know if there was some reason to do one over the other.<br>
<br>
On a related note, I need a 3.3V I2C Real Time Clock with Alarms - I am looking at the DS1339 and hoping I can use some of the DS1307 library since they are both from Maxim.  Any other suggestions?<br>
<br>
Thanks,<br>
<br>
Chip<br>
<br>
<br>
<br>
_______________________________________________<br>
Triangle, NC Embedded Computing mailing list<br>
<a href="mailto:TriEmbed@triembed.org">TriEmbed@triembed.org</a><br>
<a href="http://mail.triembed.org/mailman/listinfo/triembed_triembed.org" target="_blank">http://mail.triembed.org/mailman/listinfo/triembed_triembed.org</a><br>
TriEmbed web site: <a href="http://TriEmbed.org" target="_blank">http://TriEmbed.org</a><br>
</blockquote></div><br></div>