Using PIC16F84A as a timer for several I/O


Results 1 to 8 of 8

Threaded View

  1. #6
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mackrackit View Post
    I know...I am missing something.
    I think he wants to switch the circuit he has from 1 motor to the other so as not to buy / build another tracking circuit. It is doable but the issue I see is when switching from 1 set of sensors to another the calibration difference may throw things out of whack. I think all you need is a simple loop to switch a relay, something like:
    Code:
    loop:
    PortB.0 = 0
    pause 60000
    portb.0 = 1
    pause 60000
    goto loop
    EDIT: Another issue came to mind, and that is how your tracking circuit will react to having its outputs go from open circuit to loaded
    being switched by a relay, I am thinking some big resistors (high watt high ohm value) joining those circuits to handle the transients, or perhaps MOVs. Better yet use FETs to switch instead of relays . Damn I must be getting old . . .
    Last edited by Archangel; - 22nd March 2009 at 18:07.
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

Similar Threads

  1. Elapsed Timer Demo
    By Darrel Taylor in forum Code Examples
    Replies: 111
    Last Post: - 29th October 2012, 17:39
  2. High Resolution Timer & Speed Calculator
    By WOZZY-2010 in forum Code Examples
    Replies: 4
    Last Post: - 7th February 2010, 16:45
  3. Timer + rc5
    By naga in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 19th November 2009, 07:56
  4. Timer interrupt frequency
    By Samoele in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 17th January 2009, 23:49
  5. timer interupt help 16f73
    By EDWARD in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 3rd July 2005, 08:41

Members who have read this thread : 0

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