Rules | Recent posts | topic RSS | Search | Register  | Log in

Digital Clock (RTC) with Temp Help!!!

 
Post new topic  Reply to topic    EDAboard.com Forum Index -> Microcontrollers
Author Message
aq_mishu



Joined: 16 Jul 2007
Posts: 41


Post04 Oct 2008 20:57   Digital Clock (RTC) with Temp Help!!!

Hey,
Please help me on this...

I need to make a Digital RTC with Thermometer. I wanna use a RTC with the DS18B20 Thermometer. I want to use the 12Bit accuracy. For RTC, if the function is with date, that's great. Need switch for +/- in time/date setting. Time can be 12h. All the data will be displayed in an lcd with 2 or 4 line display. back end can be an mega8 or pic16f86 or 87. best is mega8. please let me know...
also in case of firmwire, C is best... if any one has any idea, let me know please...

Mishu~
Back to top
blueroomelectronics



Joined: 17 Sep 2006
Posts: 1229
Helped: 60
Location: Toronto, Canada


Post05 Oct 2008 20:54   Digital Clock (RTC) with Temp Help!!!

Sounds doable, C is a good choice. What else do you need?
Back to top
aq_mishu



Joined: 16 Jul 2007
Posts: 41


Post11 Oct 2008 8:44   Re: Digital Clock (RTC) with Temp Help!!!

all i need is to make a RTC with date function including a 12bit accuracy thermometer. that's all...

LCD display, mega8/pic16f87 and C as code...
Back to top
pasicr



Joined: 13 Aug 2005
Posts: 261
Helped: 7


Post11 Oct 2008 12:02   Re: Digital Clock (RTC) with Temp Help!!!

Hi, I send to you my code for digital time and temp, shown on 2x16 lcd.
I use MIKROBASIC from www.mikroe.com, DS1307 is connected to pic16f877 at 20MHz with SOFT_I2C (SDA = RB1, SCL = RB2), DS18B20 is connected on RA5. LCD is config to PORTD.
On first screen you will see in first row date and on second row day on week, after 5 sec you will see on first row time and on second row temp,
day of week is on Macedonian language, you may corect them (PONEDELNIK = Monday...),
work very fine, I do not use external key for adjust date and time, becouse RTC use external battery I put that info in RTC on my code directly,
If you have a question please mail me,
regards



Sorry, but you need login in to view this attachment

Back to top
aq_mishu



Joined: 16 Jul 2007
Posts: 41


Post11 Oct 2008 18:31   Re: Digital Clock (RTC) with Temp Help!!!

pasicr wrote:
Hi, I send to you my code for digital time and temp, shown on 2x16 lcd.
I.......regards

Hi pasicr,
Thanks a LOT. But i cant open rar file. Can you send me a zip?? you may email me to aq_mishu(at)yahoo.com/tomari_ami(at)yahoo.com

Is it have switches to set time/date??

Mishu~
Back to top
mrcube_ns



Joined: 10 Apr 2002
Posts: 416
Helped: 10
Location: Dark side of the Moon


Post11 Oct 2008 21:50   Re: Digital Clock (RTC) with Temp Help!!!

Hi aq_mishu,

Here it is.



Sorry, but you need login in to view this attachment

Back to top
aq_mishu



Joined: 16 Jul 2007
Posts: 41


Post12 Oct 2008 18:45   Digital Clock (RTC) with Temp Help!!!

well thanks mrcube_ns... but is it giving RTC?? and the code is in ASM. I need C since i only know that a little....
Back to top
pasicr



Joined: 13 Aug 2005
Posts: 261
Helped: 7


Post12 Oct 2008 20:55   Re: Digital Clock (RTC) with Temp Help!!!

The code is in MIKROBASIC from MIKROE.COM,
that is pic basic language,
If you prefer C, you may use MIKROC from MIKROE.COM,
http://www.mikroe.com/en/tools/rtc/
regards



Sorry, but you need login in to view this attachment

Back to top
Post new topic  Reply to topic    EDAboard.com Forum Index -> Microcontrollers
Page 1 of 1 All times are GMT + 1 Hour


Abuse
Administrator
Moderators
topic RSS 
sitemap