Tiny RTC DS1307 + 24C32 Real Time Clock Module (HCMODU0011)
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.
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.
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.
Re: Tiny RTC DS1307 + 24C32 Real Time Clock Module (HCMODU00
Now it seems to work properly...
Thank you very much andrew
Thank you very much andrew
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.
-
- Posts: 12
- Joined: Fri Feb 28, 2014 10:21 pm
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
What if any are the 'gotchas'
regards john
-
- Posts: 3
- Joined: Sun Jan 19, 2014 12:06 am
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?
Do you really want to measure the temperature of the module pcb ?
Or the temperature at the end of an external probe?
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.
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.
-
- Posts: 12
- Joined: Fri Feb 28, 2014 10:21 pm
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
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
-
- Posts: 10
- Joined: Thu Dec 04, 2014 9:30 pm
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.
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.
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.