Pic 12f629


Closed Thread
Results 1 to 15 of 15

Thread: Pic 12f629

Hybrid View

  1. #1
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by runrite View Post
    Yes 12V to relay and 5V to pic
    flyback diode
    If I change the code I can get the relay to go on and off
    am i not doing something wrong with the configuration in MP Lab
    I am using microcode studio with PBP
    Maybe try turning off the WDT?
    Try different code, just for grins...
    main:
    if pswitch = 1 then relay = 0
    if pswitch = 0 then relay = 1
    goto main
    end

  2. #2
    Join Date
    Jan 2008
    Posts
    6


    Did you find this post helpful? Yes | No

    Default

    Hi There thanks will try
    to morrow let you know the outcome

  3. #3
    Join Date
    Jan 2008
    Posts
    6


    Did you find this post helpful? Yes | No

    Default

    Many thanks it works..
    It is sensing now..
    the relay chatters when I get it on
    Is it to do with the external MCLR
    There is an error message that comes on it says that ICD can not program internal clock and internal MCLR at same time any way to sort it out I have to use the on board clock

Similar Threads

  1. SMS via pic
    By kenandere in forum GSM
    Replies: 15
    Last Post: - 10th March 2010, 10:00
  2. pic to pic ir link versus wired link : help please anyone
    By xnihilo in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 30th May 2008, 21:01
  3. program a pic 12f629
    By cancan in forum General
    Replies: 3
    Last Post: - 28th April 2008, 15:15
  4. Serial Pic to Pic using HSER
    By Chadhammer in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 11th March 2005, 23:14
  5. Problem Pic 12f629
    By diegover in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 19th July 2004, 11:51

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