Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 15:05 24 Nov 2024 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Internal RTC

     Page 1 of 4    
Author Message
jman

Guru

Joined: 12/06/2011
Location: New Zealand
Posts: 711
Posted: 07:47am 19 Jul 2011
Copy link to clipboard 
Print this post

Hi All

As per the other RTC thread I have managed to get my RTC inside the orginal case.
This really cool as now when I power up the time and date is always correct.
This requires Gerard's I2C firmware
I have included the circuit diagram for reference (straight from the datasheet)






2011-07-19_174444_RTC.zip

Regards

John
 
thetinkerer

Regular Member

Joined: 16/06/2011
Location: Australia
Posts: 68
Posted: 09:05am 19 Jul 2011
Copy link to clipboard 
Print this post

Cool! Well done John.
 
Gizmo

Admin Group

Joined: 05/06/2004
Location: Australia
Posts: 5078
Posted: 12:16pm 19 Jul 2011
Copy link to clipboard 
Print this post

Yeah I agree, nice work.

I think the Maximite II should come in a bigger case. Its a bit of a squeeze in there.

Glenn
The best time to plant a tree was twenty years ago, the second best time is right now.
JAQ
 
stuarts

Senior Member

Joined: 15/06/2011
Location: Australia
Posts: 199
Posted: 12:52pm 19 Jul 2011
Copy link to clipboard 
Print this post

Thinking of putting mine into a bigger case with the Maximite mounted to the front of the case so that you have access to the leds, sdcard and switch. Extend the rear connectors to the back panel and have room to mount i/o boards behind the Maximite inside the case.

Stuart
Time is nature's way of keeping everything from happening all at once.
 
donmck

Guru

Joined: 09/06/2011
Location: Australia
Posts: 1313
Posted: 03:28pm 19 Jul 2011
Copy link to clipboard 
Print this post

  stuarts said   Thinking of putting mine into a bigger case with the Maximite mounted to the front of the case so that you have access to the leds, sdcard and switch. Extend the rear connectors to the back panel and have room to mount i/o boards behind the Maximite inside the case.

Stuart


Incidentally, the Maximite SM1 is designed to fit a larger case.

http://www.dontronics-shop.com/maximite-sm1.html

This product has been designed to fit the Jaycar Case: HB5970
http://www.jaycar.com.au/productView.asp?ID=HB5970&keywords= HB5970&form=KEYWORD



Cheers Don...
https://www.dontronics.com
 
brucepython

Regular Member

Joined: 19/06/2011
Location: Australia
Posts: 64
Posted: 03:05am 20 Jul 2011
Copy link to clipboard 
Print this post

Thanks for this contribution John. Having reached the point of being annoyed by having to enter the date and time via my autorun.bas file I'm delighted you have made this available.

However, sometimes I'm fairly thick (and extremely thick for the rest of it) and need advice about where the circuit diagram is. The ZIP file contains two sets of code, but no schematic.

BruceEdited by brucepython 2011-07-21
 
jman

Guru

Joined: 12/06/2011
Location: New Zealand
Posts: 711
Posted: 04:54am 20 Jul 2011
Copy link to clipboard 
Print this post

Sorry I forgot to add it the zip file

I have attached the datasheet circuit is in there
R1 is optional. I used 2k2 resistors for the pullups tied to +5v

John


John2011-07-20_145333_DS1307.pdf
 
brucepython

Regular Member

Joined: 19/06/2011
Location: Australia
Posts: 64
Posted: 05:14am 20 Jul 2011
Copy link to clipboard 
Print this post

Thanks John. Now all I need is a chance to go shopping.
 
VK6MRG

Guru

Joined: 08/06/2011
Location: Australia
Posts: 347
Posted: 08:01am 20 Jul 2011
Copy link to clipboard 
Print this post

Hi guys,
I thought I'd add my two cents worth about a RTC option.
http://cgi.ebay.com.au/ws/eBayISAPI.dll?ViewItem&item=270741 884749&ssPageName=STRK:MEWAX:IT




I found this on eBay, and should be a straight forward process to integrate into the Maximite.
(I think )

Matt
Edited by VK6MRG 2011-07-21
Its easier to ask forgiveness than to seek permission!

............VK6MRG.............VK3MGR............
 
jman

Guru

Joined: 12/06/2011
Location: New Zealand
Posts: 711
Posted: 08:05am 20 Jul 2011
Copy link to clipboard 
Print this post

  VK6MRG said   Hi guys,
I thought I'd add my two cents worth about a RTC option.
http://cgi.ebay.com.au/ws/eBayISAPI.dll?ViewItem&item=270741 884749&ssPageName=STRK:MEWAX:IT




I found this on eBay, and should be a straight forward process to integrate into the Maximite.
(I think )

Matt


Looks like the listing has been removed
got a new link ?

John
 
jman

Guru

Joined: 12/06/2011
Location: New Zealand
Posts: 711
Posted: 08:08am 20 Jul 2011
Copy link to clipboard 
Print this post

http://www.ebay.com.au/itm/PCF8563-RTC-Board-PCF8563-I2C-int erface-3-3V-battery-/250846999759?pt=LH_DefaultDomain_0&hash =item3a67a574cf

That links works

Looks very good for small price

John
 
jman

Guru

Joined: 12/06/2011
Location: New Zealand
Posts: 711
Posted: 08:18am 20 Jul 2011
Copy link to clipboard 
Print this post

Hi Matt

I have ordered one
Once it arrives and I have it working I post the results.

John
 
Ray B
Senior Member

Joined: 16/02/2007
Location: Australia
Posts: 219
Posted: 08:34am 20 Jul 2011
Copy link to clipboard 
Print this post

also available for $7.90 is this excellent product - takes about 10 days from Thailand although it is an aussie web page
http://www.futurlec.com.au/Mini_DS1307.jsp
RayB from Perth WA
 
stuarts

Senior Member

Joined: 15/06/2011
Location: Australia
Posts: 199
Posted: 09:19am 20 Jul 2011
Copy link to clipboard 
Print this post

Ray, I ordered one about a week ago. Hoping it gets here soon. A bit hard to beat the price.

Stuart
Time is nature's way of keeping everything from happening all at once.
 
jman

Guru

Joined: 12/06/2011
Location: New Zealand
Posts: 711
Posted: 07:14am 28 Jul 2011
Copy link to clipboard 
Print this post

Hi
I recieved my PCF8563 board yesterday
Nice little board well made great price blah blah blah :)

So i have it working now
Attached is the code I used
Remember to run the wr8563 after setting the correct date and time on the Maximite

2011-07-28_171338_PCF8563.zip


John

Edited by jman 2011-07-29
 
heppy36

Regular Member

Joined: 29/07/2011
Location: Australia
Posts: 54
Posted: 10:12am 29 Jul 2011
Copy link to clipboard 
Print this post

Hi can you provide Pic on how to wire it in?
Thanks
Heppy
 
jman

Guru

Joined: 12/06/2011
Location: New Zealand
Posts: 711
Posted: 08:20pm 29 Jul 2011
Copy link to clipboard 
Print this post

Hi
This device is connected just like any other I2C device

Pin 12 maps to MCU pin 43 (SDA1) and pin 6 on the I/O connector (revised schematic) or pin 21 (original schematic).
Pin 13 maps to MCU pin 44 (SCL1) and pin 8 on the I/O connector (revised schematic) or pin 19 (original schematic).

The PCF8563 has built in pullup resistors to the VCC line so no need for those
You can get +5V from I/O connector pin 23 (revised schematic) or pin 3 (original schematic). A ground will also have to be run to the I2C device (I/O connector pins 1,2,25,26).

This device will also run from 3.3V in that case pin 24 (revised schematic) or pin 4 (original schematic)

Hope this helps

Attached is a circuit diagram ofr the PCF8563




 
jman

Guru

Joined: 12/06/2011
Location: New Zealand
Posts: 711
Posted: 09:35pm 29 Jul 2011
Copy link to clipboard 
Print this post

Hi
I have removed the vero board version and installed the PCF8563 Ebay version inside the case
Looks just like a bought one :)

John






 
heppy36

Regular Member

Joined: 29/07/2011
Location: Australia
Posts: 54
Posted: 09:55pm 29 Jul 2011
Copy link to clipboard 
Print this post

Thanks Heaps (Looks like it was made for it)
Cheers
Heppy
 
seco61
Senior Member

Joined: 15/06/2011
Location: Australia
Posts: 205
Posted: 09:57pm 29 Jul 2011
Copy link to clipboard 
Print this post

  jman said   Hi
This device is connected just like any other I2C device

Pin 12 maps to MCU pin 43 (SDA1) and pin 6 on the I/O connector (revised schematic) or pin 21 (original schematic).
Pin 13 maps to MCU pin 44 (SCL1) and pin 8 on the I/O connector (revised schematic) or pin 19 (original schematic).

The PCF8563 has built in pullup resistors to the VCC line so no need for those
You can get +5V from I/O connector pin 23 (revised schematic) or pin 3 (original schematic). A ground will also have to be run to the I2C device (I/O connector pins 1,2,25,26).


Hi John.

As regards the 5V and 3.3V connections, on the original schematic they were shown on the wrong pins - so 5V is on pin 4 and 3.3V is on pin 3.

regards

Gerard (vk3cg/vk3grs)

Regards

Gerard (vk3cg/vk3grs)
 
     Page 1 of 4    
Print this page
© JAQ Software 2024