Shop OBEX P1 Docs P2 Docs Learn Events
Joystick problem. Do pots go bad? — Parallax Forums

Joystick problem. Do pots go bad?

RagtopRagtop Posts: 406
edited 2012-03-07 10:19 in General Discussion
I am having a capacitance problem with one of the pots on this thumb joystick from Sparksfun that uses two pots for x and y position. When I just touch the joystick the RC value jumps on that pot but not the other one. I tried unwiring the "bad" pot to see if the other pot started displaying capacitance, it did not. Tried switching the wiring of the pots to see if it was my RC circuits, but the problem persists with the same pot no matter which RC circuit it is on. I tried grounding the metal frame of the joystick casing.

Do pots go bad?


[video=youtube_share;n1lBZS_GrMk]

Comments

  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2012-03-02 08:12
    Yes, pots can easily go bad. When the resistive element gets dirty, the resistance between it and the wiper can jump around a lot. That's what causes "static" in volume controls. Hie thee to RadioShack, and get some aerosol contact cleaner to use on your quirky pot.

    -Phil
  • RagtopRagtop Posts: 406
    edited 2012-03-02 10:35
    12 bucks a can. How often do they get dirty? Can it be used for anything else?
  • Duane DegnDuane Degn Posts: 10,588
    edited 2012-03-02 11:27
    You might want to try just some compressed air first.

    I think this type of cleaner used to be a lot less expensive back when they didn't know it was causing a hole in the ozone layer.
  • CircuitsoftCircuitsoft Posts: 1,166
    edited 2012-03-02 11:52
    I think it can be purchased cheaper at car parts stores.
  • skylightskylight Posts: 1,915
    edited 2012-03-02 13:40
    Colclene orange was brilliant for cleaning pots till it was banned in the UK, replacement stuff was rubbish and left a residue.
  • W9GFOW9GFO Posts: 4,010
    edited 2012-03-02 18:47
    I have not had much luck with SparkFun's thumb joysticks. From center they would increase in resistance both directions. One direction it is supposed to do that but not the other, it would increase in resistance before dropping off, requiring a very large null zone in order to make it useable.

    The joysticks from Parallax are much better quality IMO.
  • RagtopRagtop Posts: 406
    edited 2012-03-03 05:07
    Yeah, I am thinking about changing to the 5 position switch

    as it is more suited to my application. Just need up/down/left/right for my TV remote project. I was just trying to make do with what I had on hand.

    I haven't had that resistive problem with this joystick (yet). It centers 72-80. Goes down to 1 and up to 245, but one just goes crazy if I touch the joystick.
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2012-03-03 07:52
    Another thought: cold solder joint. Inspect the joints where the pot is soldered to the PCB, or just touch them up preemptively.

    -Phil
  • T ChapT Chap Posts: 4,223
    edited 2012-03-03 07:59
    Find a sealed pot, like Bourns, and it will have less issues. Fry's, etc.
  • RagtopRagtop Posts: 406
    edited 2012-03-07 10:16
    Finally got out of the house and got a can of QD electronic cleaner from Walmart's automotive section.

    Still seeing movement of the RCvalue when I touch the joystick, but much smaller spikes. May try another spray of it later, but
    right now it will do since I am only using the extreme positions as commands.
  • ercoerco Posts: 20,259
    edited 2012-03-07 10:19
    Pots inside servos go bad over time, too. Changes their feedback and output position for any given input signal. Less critical in RC applications than robotics, where long-term calibration to a particular value is needed.

    Such as a robot arm, for instance... :)
Sign In or Register to comment.