Unused pins


Closed Thread
Results 1 to 14 of 14

Thread: Unused pins

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

    Quote Originally Posted by skimask View Post
    At the risk of starting another argument/discussion...
    An argument is a statement (premise) or group of statements (premises) offered in support of another statement (conclusion).

    I was not thinking about the pin changing to an output. A resistor is good insurance.
    Dave
    Always wear safety glasses while programming.

  2. #2
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mackrackit View Post
    An argument is a statement (premise) or group of statements (premises) offered in support of another statement (conclusion).
    Good point...let me rephrase myself...

    At the risk of sounding like a complete idiot..............................

  3. #3


    Did you find this post helpful? Yes | No

    Default Thank you John

    Thank you for the suggestion John. At the time of the problem I tried EVERYTHING - caps, grounding the motor casing, separate battery supplies for PIC circuit and motor, etc. Seemed the the PIC was just too close to the motor itself (I had no control over this). But by repeating the commands constantly (especially the TRIS commands to keep inputs as inputs and outs as outs) and the HIGHs as HIGHs, etc., the problem vanished. I also had another motor problem where the HPWM was set to a specific duty cycle and intermittently become an output HIGH or output LOW. Again, after setting the HPWM, I constantly repeated the command in other parts where the program would go and that fixed it. Of course the program took more memory, but that wasn't an issue.

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


    Did you find this post helpful? Yes | No

    Wink

    Who's John?
    Steve

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

  5. #5
    Join Date
    Mar 2007
    Location
    Boston, MA USA
    Posts
    12


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mister_e View Post
    Who's John?
    That was me..

    I sent peterdeco1 a private message regarding motor noise effecting A/D. My problem was solved by using .1uf caps from each motor lead to the motor's metal case. It seems to work with the small (noisy) hobby motors. I used shielded cable to the A/D inputs.


    --John
    Last edited by JohnH; - 4th May 2007 at 00:36.

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


    Did you find this post helpful? Yes | No

    Default

    Welcome on the forum, and thanks to share your tips on the public area
    Steve

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

  7. #7
    Join Date
    Mar 2007
    Location
    Boston, MA USA
    Posts
    12


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mister_e View Post
    Welcome on the forum, and thanks to share your tips on the public area
    Thanks Steve! I have learned a lot about Pic's from some of your posts and others here.

    --John

Similar Threads

  1. 16f877 Unused Pins
    By DavyJones in forum General
    Replies: 8
    Last Post: - 25th September 2009, 04:12
  2. 16F877A Pullups/Pulldowns and unused pins
    By DavyJones in forum General
    Replies: 6
    Last Post: - 17th April 2009, 01:39
  3. Change On Interrupt, PIC16F884
    By elec_mech in forum mel PIC BASIC Pro
    Replies: 17
    Last Post: - 14th November 2008, 17:25
  4. Five unused pins and one resistor
    By Cabomba in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 27th May 2007, 18:07
  5. PIC PORT 'special' pins
    By barkerben in forum General
    Replies: 1
    Last Post: - 18th January 2005, 21:40

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