Problem with switch input on 16f818


Closed Thread
Results 1 to 6 of 6

Hybrid View

  1. #1
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default Re: Problem with switch input on 16f628

    Good job on catching the mistake.

    Pretty interesting. A member here has PICs in space and now we have one using PICs with chickens... Very versatile.
    It would have been nice to have had PICs back in the day. The "waffer" temperature controllers ( I hated those things) could have been replaced with a PIC.
    Dave
    Always wear safety glasses while programming.

  2. #2
    Join Date
    Dec 2011
    Location
    IO93ok
    Posts
    190


    Did you find this post helpful? Yes | No

    Default Re: Problem with switch input on 16f628

    The chickens are real characters. I have 4 who are completely free range and quite tame, that doesn't mean they are not wily though. They do 'go in' each night.

    I have to leave the system to work on 'timed' right now as I won't be about to check it for a few days, however last night they were locked out due to their greed.

    I went round to check at dusk but they saw me, cue chickens thinking late feed, so they stayed out hanging around me till it was quite dark. Obviously the door had closed and left them out !

    I don't think this will be a problem in normal use, no-one is about at dusk. I've adjusted the LDR read, to close the door at a darker setting.

    When I get back I'm going to complete the limit switch again and test it when I'm around.

    The whole reason for this is so I can go away for a few days and the door is taken care of, else Mr Fox would be in !!

    I dabbled with Pics back in the 90's but then moved out of electronics.

Similar Threads

  1. 16f818 from 16f628a
    By andybarrett1 in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 27th August 2014, 08:31
  2. Replies: 6
    Last Post: - 9th January 2011, 16:26
  3. Problem getting switch info into FOR..NEXT Start
    By Roddy Wayne in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 26th October 2010, 00:02
  4. Using input from Switch to control a loop
    By MrRoboto in forum mel PIC BASIC
    Replies: 9
    Last Post: - 2nd February 2009, 06:02
  5. Replies: 1
    Last Post: - 7th November 2007, 21:36

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