pin 12f683


Closed Thread
Results 1 to 23 of 23

Thread: pin 12f683

Hybrid View

  1. #1


    Did you find this post helpful? Yes | No

    Question onward

    this functions but not as expected at first pin to v+ caused change
    than after short time v- caused change which is what i would expect
    dont quiet understand inital operation but this is doing what i want
    thanks

  2. #2


    Did you find this post helpful? Yes | No

    Thumbs down backwards?

    this program works but still get times when it functions backwards
    should be gnd to pin to work but sometimes after downloading program
    it will be just the oppisite + volts to pin

    any changes that will stop this from accuring

  3. #3
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    Are you sure it's not a hardware problem? I ran this on a 12F675, and it works
    exactly as expected. No matter how many times I re-program it.
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

  4. #4


    Did you find this post helpful? Yes | No

    Cool hardware

    bruce:
    not 100 % sure but seems strange that sometimes + volts cause the pic the way - volts should than sometimes it works just the right way - volts causes the pic to respond properly is there some sort of start up or setting that could cause this maybe pullup not coming on?

  5. #5
    dharwood's Avatar
    dharwood Guest


    Did you find this post helpful? Yes | No

    Default

    Quick question:
    What are you using as V+ for your input signal ? +5v +12v etc.....?

    I had a project where I was trying to read a ~12v input (DCD on a rf modem) and it would sometimes work, other times not. Set up a voltage divider so that my input voltage would not exceed 5v and from that point on, it has worked as planned.

    HTH,

    Dale

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


    Did you find this post helpful? Yes | No

    Default an obvious hardware problem

    You have to give us your WHOLE schematic, there's no obvious reason why it shouldn't work.

    If you supply line is pure crap, it will give you crap. In car it's usual. Tie ALL unused pin to somewhere first. ALL floating i/o in car apps (and everywhere anyways, trust me or not i don't care)... is often a killer situation.

    Now if one of your input is MCLR and you didn't use the right voltage divider, your PIC will fall into programming mode... too bad.
    Steve

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

Similar Threads

  1. Is this a K Type sensor?
    By jessey in forum mel PIC BASIC Pro
    Replies: 20
    Last Post: - 21st November 2009, 13:55
  2. What's the best way to output 30 to 40 kHz from a 12F683 pin?
    By fizyxman in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 1st June 2009, 00:08
  3. DS1820 with 16f688
    By jessey in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 23rd May 2009, 05:07
  4. Microcontroller with 2 way paging application problem
    By oneohthree in forum mel PIC BASIC Pro
    Replies: 30
    Last Post: - 20th April 2007, 17:27
  5. Another RTC, DS1287
    By DavidK in forum Code Examples
    Replies: 0
    Last Post: - 12th December 2006, 17:07

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