PIC16F628A Time Switch


Closed Thread
Results 1 to 3 of 3
  1. #1
    Dazzy's Avatar
    Dazzy Guest

    Default PIC16F628A Time Switch

    A am building a time switch with a PIC16F828A and I need a code that will enable it to keep time as well as scan a list of alarm times. is it possible and if so do you have a code?

    Thanks, Dazzy

  2. #2
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    mmm perfect application to use an external RTC like DS1307.

    Melanie did an excellent code example http://www.melabs.com/resources/samp...ted/MN1307.txt

    this should be enough to start. The only things you'll have to add is the alarm... BUT as i know, there's some RTC with built-in alarm. Maybe somebody here can suggest you one.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  3. #3
    Join Date
    Feb 2004
    Location
    Germany
    Posts
    762


    Did you find this post helpful? Yes | No

    Default

    Steve has already mentioned the DS1307

    As your request for a code example was your very first post, you should start HERE

    if you don't want to use an RTC, and had searched the Forum you would have ended up THERE

    There are many other RTC examples, do some searching...
    regards

    Ralph

    _______________________________________________
    There are only 10 types of people:
    Those who understand binary, and those who don't ...
    _______________________________________________



Similar Threads

  1. I don't understand this code!
    By Russ Kincaid in forum mel PIC BASIC Pro
    Replies: 46
    Last Post: - 13th February 2008, 02:55
  2. Replies: 14
    Last Post: - 26th September 2007, 05:41
  3. Can't get switch to work
    By JeffnDana in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 4th April 2007, 20:44
  4. Serout2/serin2 Pbp Problem
    By SOMRU in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 11th December 2006, 19:55
  5. Timer in real time
    By martarse in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 29th July 2005, 14:24

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts