Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 19:05 07 Jul 2025 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 : OPTION RTC

Author Message
thirsty
Newbie

Joined: 22/06/2016
Location: Australia
Posts: 34
Posted: 05:08pm 22 Jul 2016
Copy link to clipboard 
Print this post

Hi All

The above command is mentioned in the manual but it's not listed under the Commands section of the manual.

I assume usage is OPTION RTC 23,32 or whatever pins are to be used for the clock.

Is that correct?
 
Phil23
Guru

Joined: 27/03/2016
Location: Australia
Posts: 1667
Posted: 05:40pm 22 Jul 2016
Copy link to clipboard 
Print this post

No Options are required for the RTC, it's all internal.

It just connects to the I²C pins on the Micromite.
17 & 18 on the 28 Pin chip.

See Pages 7 & 26.

Cheers

Phil.
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9590
Posted: 06:53pm 22 Jul 2016
Copy link to clipboard 
Print this post

Yes, just as Phil says, the MM takes care of all that for you. Just connect it up to the I2C port, and use the two RTC commands: RTC GETTIME and RTC SETTIME, and the MM will do all the work for you - can't get any easier then that!

The MM will automatically use any compatible RTC chip including the DS1307, DS3231, DS3232, PCF8563 and M41T11 - plenty of choices. I recommend you use the DS3231 or DS3232, as they are very accurate. The 1307 is a bad choice these days with the 3231 or 3232 modules on eBay being so cheap - and you get an EEPROM on those modules too......
Smoke makes things work. When the smoke gets out, it stops!
 
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3282
Posted: 06:58pm 22 Jul 2016
Copy link to clipboard 
Print this post

OPTION RTC is only available on the Micromite Plus and is documented in the Micromite Plus Addendum page 47.

Geoff (still overseas)
Geoff Graham - http://geoffg.net
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9590
Posted: 07:12pm 22 Jul 2016
Copy link to clipboard 
Print this post

Hi Geoff.

Having a nice time?

Yes, that is a point - I was only thinking standard MM2, but if thirsty is using a MM+......

From the Advanced manual, page 47 as above:




Smoke makes things work. When the smoke gets out, it stops!
 
Paul_L
Guru

Joined: 03/03/2016
Location: United States
Posts: 769
Posted: 11:01am 23 Jul 2016
Copy link to clipboard 
Print this post

Hi Geoff,

I hope you're enjoying yourself over here!!!

Give me a ring if you get lost in the crowds.

Paul Lepkowski in Wappingers Falls, NY


 
thirsty
Newbie

Joined: 22/06/2016
Location: Australia
Posts: 34
Posted: 02:37pm 23 Jul 2016
Copy link to clipboard 
Print this post

Thanks guys, not sure how I missed that entry in the manual as I did a search but still missed it! I'm using a ds3231 module and the standard i2c interface currently and it just works! Very nice.
 
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3282
Posted: 03:40am 24 Jul 2016
Copy link to clipboard 
Print this post

  Paul_L said   Hi Geoff,

I hope you're enjoying yourself over here!!!

Give me a ring if you get lost in the crowds.

Paul Lepkowski in Wappingers Falls, NY



Having a fantastic time.

I'm currently in Kalispell in Montana (Rocky Mountains country) and unfortunately will not be making it across to your side of the country. Next stop is Calgary in Canada.

Geoff
Geoff Graham - http://geoffg.net
 
Paul_L
Guru

Joined: 03/03/2016
Location: United States
Posts: 769
Posted: 08:13pm 24 Jul 2016
Copy link to clipboard 
Print this post

Geoff,

Kalispell is pretty country. 3000' altitude, on the west side of the 7500' east range of the rockies, just east of the second 6500' range.

US route 2 goes through there. US 2 is the northernmost east-west route but it is discontinuous. It runs from Houlton ME to Rouses Point NY, and then from Saint Ignace MI to Everett WA where the B747 aircraft is assembled. In the old US route system the even numbers run east-west, the odd numbers run north-south.

Calgary Alberta is just about 200 miles due north of Kalispell, but it is on the east side of the east range of the rockies at about 3500' altitude so it is on the western edge of the prairie. The east range of the rockies are a little higher there at about 8500' altitude.

Have a good time! If you get up above 6000' altitude don't exert yourself too much, the air can be a little thin up there for a lot of activity if you're used to sea level in Perth. On a normal flight the aircraft cabin won't get to more than 7000' and there you're just resting.

Paul
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025