Switch / Potentiometer


Closed Thread
Results 1 to 13 of 13

Hybrid View

  1. #1
    Join Date
    May 2004
    Posts
    81


    Did you find this post helpful? Yes | No

    Default

    Ive concidered using an encoder but doesnt that mean I'll need more than one pin for the input? Right now my pin count is prety much maxed out

    As far as using an 3914/5/6 display, they are only for 10segment LED's.
    Furthermore, This 12segment display is over used in the dash, its just everywhere... one of the other applications Im working on is the fuel consumption displays which takes the Fuel level and an odometer pulse and computes MPG and distance left... which obviously would require more than a display driver. Plus with the PIC you get the bonus of little sound effects.

    So while Im not opposed to an encoder I have no idea how they work... have always assumed they output a 4bit BCD number... As it stands now the only pin I have left for input is portA.5

  2. #2
    Join Date
    May 2006
    Location
    Del Rio, TX, USA
    Posts
    343


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by bearpawz View Post
    ...doesnt that mean I'll need more than one pin for the input? Right now my pin count is prety much maxed out
    Yes, for the Switch/Encoder combination you would need 3 Pins. 2 for the encoder (preferable on a pin with an interrupt on change feature) and one for the switch. There are different types of encoders, this probable being the most basic.

    Here is a descent explaination, but it sounds like the POT will be best, given the pin count issue.

    SteveB

Similar Threads

  1. counting switch events beginner
    By mrpete in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 22nd April 2009, 16:08
  2. Newbie - 16F628A and switch latching
    By malc-c in forum mel PIC BASIC Pro
    Replies: 45
    Last Post: - 19th May 2006, 02:35
  3. Potentiometer with indexing.
    By muddy0409 in forum General
    Replies: 2
    Last Post: - 1st January 2006, 19:41
  4. Switch Sequence
    By Tissy in forum mel PIC BASIC Pro
    Replies: 11
    Last Post: - 13th February 2005, 20:36
  5. Switch Polling vs Interrupts
    By eric blair in forum General
    Replies: 1
    Last Post: - 17th October 2003, 09:38

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