Reply to topic  [ 80 posts ]  Go to page Previous  1 ... 4, 5, 6, 7, 8  Next
Tiny RTC DS1307 + 24C32 Real Time Clock Module (HCMODU0011) 
Author Message

Joined: Sat Feb 01, 2014 11:47 am
Posts: 3
Post Re: Tiny RTC DS1307 + 24C32 Real Time Clock Module (HCMODU00
I have tried connecting both the pins SDA1 and SDA2 and the pins 20 and 21. In both cases I have used adafruit 4 bit converter BSS138, with LV at 3,3V and HV at 5V. I have also tried using a 1.8KOhm pull-up resistors on SDA and SCL lines, but without success.


Sat Feb 08, 2014 4:29 pm
Profile
Site Admin

Joined: Sun Aug 05, 2012 4:15 pm
Posts: 627
Post Re: Tiny RTC DS1307 + 24C32 Real Time Clock Module (HCMODU00
It seems that when compiling for the due it doesn't like the Wire library to be initialised before the setup() function. In the HCRTC.cpp file can you comment out the Wire.begin(); function (don't forget to save it) like this:

HCRTC::HCRTC(void)
{

//Wire.begin();

}

Then in your sketch add Wire.begin(); as the first line in the setup() function.

I don't have an appropriate level shifter to hand at the moment so I can't confirm that it will fix it but it should stop getting stuck.

_________________
Comments made by this poster do not necessarily reflect the views of Hobby Components Ltd.


Sun Feb 09, 2014 4:05 pm
Profile

Joined: Sat Feb 01, 2014 11:47 am
Posts: 3
Post Re: Tiny RTC DS1307 + 24C32 Real Time Clock Module (HCMODU00
Now it seems to work properly... :)
Thank you very much andrew


Mon Feb 10, 2014 7:02 pm
Profile
Site Admin

Joined: Sun Aug 05, 2012 4:15 pm
Posts: 627
Post Re: Tiny RTC DS1307 + 24C32 Real Time Clock Module (HCMODU00
Great. I'll make this modification the next time I update the library.

_________________
Comments made by this poster do not necessarily reflect the views of Hobby Components Ltd.


Tue Feb 11, 2014 9:59 am
Profile

Joined: Fri Feb 28, 2014 10:21 pm
Posts: 6
Post Re: Tiny RTC DS1307 + 24C32 Real Time Clock Module (HCMODU00
Hi, After reading through all the posts, I cant find any mention of someone mounting a ds18b20 module in the three holes outlined.
What if any are the 'gotchas'
regards john


Tue Apr 01, 2014 10:35 pm
Profile

Joined: Sun Jan 19, 2014 12:06 am
Posts: 3
Post Re: Tiny RTC DS1307 + 24C32 Real Time Clock Module (HCMODU00
The only gotcha is:

Do you really want to measure the temperature of the module pcb ?

Or the temperature at the end of an external probe?


Tue Apr 01, 2014 10:56 pm
Profile
Site Admin

Joined: Sun Aug 05, 2012 4:15 pm
Posts: 627
Post Re: Tiny RTC DS1307 + 24C32 Real Time Clock Module (HCMODU00
@john_m0ers

We haven't tested this ourselves but I see no issues. You can access the output at the DS pin. I believe that the module places a 3.3K pullup on the data pin of the sensor.

_________________
Comments made by this poster do not necessarily reflect the views of Hobby Components Ltd.


Wed Apr 02, 2014 2:32 pm
Profile

Joined: Fri Feb 28, 2014 10:21 pm
Posts: 6
Post Re: Tiny RTC DS1307 + 24C32 Real Time Clock Module (HCMODU00
Hi,
I was thinking of the insulated ds18b20s that I got from Hobby, but I suppose in a small self contained unit
with a controller and lcd this could be useful.
The main reason for asking was that I read somewhere that a similar module burned out the ds18b20. I suppose
there could be a few reasons why that might happen though.
Anyway thanks for letting me know there are no real issues with this.
Regards john


Wed Apr 02, 2014 9:15 pm
Profile

Joined: Thu Dec 04, 2014 9:30 pm
Posts: 10
Post Re: Tiny RTC DS1307 + 24C32 Real Time Clock Module (HCMODU00
Quick question for you Andrew about this module, which is about the recharge bit of it.
These units can use the LIR2032 rechargeable batteries, so using the 4 pin headers on the left (SCL, SDA, VCC, GND) do you know if this enough for the module to charge the battery once the Arduino board is powered up, or do any of the 7 headers on the other side of the module.


Mon Jan 05, 2015 7:12 am
Profile
Site Admin

Joined: Sun Aug 05, 2012 4:15 pm
Posts: 627
Post Re: Tiny RTC DS1307 + 24C32 Real Time Clock Module (HCMODU00
It will charge the battery via any of the pins marked VCC and GND. You'll need to apply +5V across these pins for it to charge correctly.

_________________
Comments made by this poster do not necessarily reflect the views of Hobby Components Ltd.


Mon Jan 05, 2015 12:16 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 80 posts ]  Go to page Previous  1 ... 4, 5, 6, 7, 8  Next

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Thank you to phpBB.com & phpBB.ro.
Design created by Florea Cosmin Ionut.
© 2011 All contents of this site are © Hobby Components LTD