![]() | ![]() | ![]() |
| |||||||
| Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution. |
![]() |
| | Tools |
| | #1 |
|
Hello, I'm beginner and i need to built a Pic based board with real time clock. The goal is to set into the code a some dates and time and when those occurs PIC will send out a frame on its USART or set one of its output to "1" level. I'm not able to write the code myself, this is why i'm a existing a project that i would modify to suit my need. Do you know where i should find this kind of example written in Microchip C18 ? Many thanks for your help, | |
| |
| | #2 |
|
This sounds like a school assignment. You need to make an effort to do the work and then we will provide help. Start with Google! Are you supposed to use a RTC clock chip ?
__________________ Please post questions to the forums. PM's are for personal communication. BCHS/3v0's Tutorials Junebug USB PIC programmer kit., USB Bit Whacker, The 15 Minute Printed Circuit Board! (+drill time) | |
| |
| | #3 |
|
No, it is not a school homework ! ![]() I'm too old for that ... ( i'm 33 ) ![]() This is a project for myself and i will accept any help with any RTC chip ... I tried google but i did not found any project written in C18 for Pic Microchip that suit my need . Your help will be much appreciated. | |
| |
| | #4 |
|
Which clock chip ?
__________________ Please post questions to the forums. PM's are for personal communication. BCHS/3v0's Tutorials Junebug USB PIC programmer kit., USB Bit Whacker, The 15 Minute Printed Circuit Board! (+drill time) | |
| |
| | #5 |
|
Don't some PIC have RTC's built in? Especially in the 18 series? What exact model of PIC are you using?
__________________ "Because I be what I be. I would tell you what you want to know if I could, mum, but I be a cat, and no cat anywhere ever gave anyone a straight answer, har har." | |
| |
| | #6 |
|
well, i don't care about PIC series to be used. But i like 18F452 ou 18F2620 or 18F4620 Many thanks for your help, | |
| |
| | #7 |
|
I just rean an announcment that PIC has released a PIC with a built in RTC, capacitive sensor, and LCD drive. It may not be in production yet. Which clock chip do you want to use ? How can you expect a pointer to code without specifing the clock chip. There are a few types out there. If you do not care that is also a good answer. On thing that gets my goat is people who want help but are too whatever to answer simple questions. 3v0
__________________ Please post questions to the forums. PM's are for personal communication. BCHS/3v0's Tutorials Junebug USB PIC programmer kit., USB Bit Whacker, The 15 Minute Printed Circuit Board! (+drill time) | |
| |
| | #8 |
|
Well, i don't have any prefer. SPI RTC chip such as PCF2123 would be fine or maybe a DS1307 ? Last edited by crocu; 19th March 2009 at 02:40 PM. | |
| |
| | #9 |
|
You can emulate a RTC with any microcontroller. My Dragonfly kit is a 6 digit PIC clock and has a 32768hz crystal osc plus it can support the 18F2525.
| |
| |
| | #10 |
|
Now that people know what you need there is a chance that they can help you. I do not have code for these chips. How about working through a tutorial or two on SPI and learn to code it yourself.
__________________ Please post questions to the forums. PM's are for personal communication. BCHS/3v0's Tutorials Junebug USB PIC programmer kit., USB Bit Whacker, The 15 Minute Printed Circuit Board! (+drill time) | |
| |
| | #11 |
|
If this is not school work then what are you going to learn by having someone else write the code for you? If this isn't for learning why don't use a PDA or a date book like most people? What is the output trigger supposed to do?
__________________ "Because I be what I be. I would tell you what you want to know if I could, mum, but I be a cat, and no cat anywhere ever gave anyone a straight answer, har har." | |
| |
| | #12 |
|
It should trigger a IR module that receives a the command over USART serial interface. I would like that the RTC board sends a serial command to my external board at a specific date and time . | |
| |
| | #13 |
|
Unless you plan on writing it yourself are you offering to pay someone to write it for you?
| |
| |
| | #14 |
|
You do not know what processor or clock chip you want to use. So far you have only hinted at the end use. What about that would cause anyone to be interested enough to spend time doing this for you. Some of us are willing to help people who help themselves. I, and others, have written code and done some PCB work for posters. But these were cases where the people were activly working on the project. You have not even started. It still sounds like school to me. 33 is not too old to be in school ![]() Maybe you are thinking we are not exactly helpful. If you want to learn we are will to help. Some of the people helping here started out from the ground floor. It takes work but can be done if you want it to happen. As suggested by Bill. If you do not want to do the work you should pay to have it done. 3v0
__________________ Please post questions to the forums. PM's are for personal communication. BCHS/3v0's Tutorials Junebug USB PIC programmer kit., USB Bit Whacker, The 15 Minute Printed Circuit Board! (+drill time) | |
| |
| | #15 |
|
Hello I've found an example here : Simple Clock with PIC 16F877 & DS1302 but for now, i need to add alarm function to this code but i'm not able to do it myself . Would you please tell what i should add to set an event and light a led when event date and time occurs ? I will really appreciate your help, | |
| |
|
| Tags |
| board, clock, events, pic, real, schedule, time |
| Thread Tools | |
| Display Modes | |
| |
Similar | ||||
| Title | Starter | Forum | Replies | Latest |
| Real Time Date-Clock | joe_1 | Micro Controllers | 15 | 10th July 2008 03:49 PM |
| Real Time Clock With 8051 | blackhat | Electronic Projects Design/Ideas/Reviews | 8 | 28th March 2007 09:52 PM |
| Real Time Clock RTC 8583 | sonic | Micro Controllers | 4 | 17th May 2004 09:08 AM |
| Real Time Clock on LPT | l30 | Electronic Projects Design/Ideas/Reviews | 1 | 5th May 2004 07:50 AM |
| real time clock | finst | Micro Controllers | 4 | 17th January 2004 01:11 AM |