PIC-Powered Timer Project


Closed Thread
Results 1 to 7 of 7
  1. #1
    T.Jackson's Avatar
    T.Jackson Guest

    Post PIC-Powered Timer Project

    <img src="http://www.picbasic.co.uk/forum/attachment.php?attachmentid=1618&stc=1&d=117880566 9" align="right">

    Timers make great electronic projects. Especially this one. Now before you say that I can go down to my local hardware store and pick one up that has an LCD and every possible conceivable feature for less than the price of my daily bus ticket - simply put, you just can't go and buy anything quite like this. It's entirely unique in all regards. The timer uses an 8 WAY dip switch bank to accept user-defined intervals in seconds, minutes & hours. This is all done in BCD. Binary Coded Decimal. So you'll need to brush up on your binary counting to be able to drive it. At a glance, directly above the dip switch bank is a bar graph LED display. This display is driven by the two push buttons adjacent to the dip switches. The menu is quite self-explanatory, so I'll just go as far as to say that, toggling the menu button navigates you through the menu while pressing enter will load the current menu item with the data that's set on the dip switches. So to begin with, when you first power it up, the event number LED on the display will be lit. Here you're required to select an event from 1 to 8 on the dip switches, after doing so it's now just a matter of pressing enter. Now, pressing the menu button after this will navigate you through the display to show the seconds LED on. Same as before with the event number you're required to select a value on the switches, this time between 0 to 255 followed by hitting enter. It's a snack, so I'll leave it at that, except to say that there would be literally countless practical applications for a timer such as this. Just to name a few; irrigation, security lighting, general purpose automotive, the list is huge! Especially when you consider that it has the ability to operate cyclically with up to 8 events. One last thing before we move on to the schematic - the events are executed sequentially, starting from the duration of the relay being switched on to the amount of time that it's switched off. And yes, you guessed it, it could be configure it to oscillate. Would make a great lamp flasher too. But a word of caution, don't attempt to switch mains voltages unless you're entirely competent with working with them.

    <table width="500px" align="center" border="10" cellpadding="0">
    <tr>
    <td>
    <img src="http://www.picbasic.co.uk/forum/attachment.php?attachmentid=1617&stc=1&d=117880566 9">
    </td>
    </tr>
    </table>

    Trent Jackson
    <hr/>
    Attached Images Attached Images   
    Attached Files Attached Files

  2. #2
    Join Date
    May 2007
    Posts
    5


    Did you find this post helpful? Yes | No

    Default Very Nice sir

    HI sir
    It is nice achievement.I am a biggner in pic programming.I need a 60 hz oscillator on pic.can you help me.

  3. #3
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    Trent,

    Your zip file has a .HEX file in it. But no source code.
    <br>
    DT

  4. #4
    T.Jackson's Avatar
    T.Jackson Guest


    Did you find this post helpful? Yes | No

    Post

    Your zip file has a .HEX file in it. But no source code.
    Yeah - the source code is missing in action at the moment, I have it archived on a CD somewhere. I did this project way back, it was published in the Silicon Chip magazine in November of 2003. I retained copyright to it. Stay tuned - I might actually write some much better software for it shortly.

  5. #5
    Join Date
    Sep 2003
    Location
    INDIA
    Posts
    161


    Did you find this post helpful? Yes | No

    Default

    hello Trent,

    any luck finding the hero missing in action. Would love to evaluate it.

    Looking forward to it.

    regards.

  6. #6
    T.Jackson's Avatar
    T.Jackson Guest


    Did you find this post helpful? Yes | No

    Post

    The hex file's in the download, so there's nothing stopping anyone from building it. This was actually my first real PIC-based project. Everything I did prior to this with PIC's was just rough experimenting on bread board.
    Last edited by T.Jackson; - 18th May 2007 at 04:20.

  7. #7
    Join Date
    Sep 2003
    Location
    INDIA
    Posts
    161


    Did you find this post helpful? Yes | No

    Default

    Thank you for providing the hex file in the download, surely it will not stop anyone from building it, but the source would help some one understand it.

    regards

Similar Threads

  1. SMS via pic
    By kenandere in forum GSM
    Replies: 15
    Last Post: - 10th March 2010, 10:00
  2. HSERIN & Interupts (aka controlling PIC programs from a remote PC)
    By HankMcSpank in forum mel PIC BASIC Pro
    Replies: 16
    Last Post: - 17th June 2009, 14:46
  3. help my bluetooth and PIC 16F877A?
    By slimpeng in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 18th March 2008, 06:52
  4. Replies: 22
    Last Post: - 9th April 2007, 15:25
  5. pic project help
    By dizzy1 in forum General
    Replies: 2
    Last Post: - 5th February 2006, 18:30

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