Switch / Potentiometer


Closed Thread
Results 1 to 13 of 13
  1. #1
    Join Date
    May 2004
    Posts
    81

    Default Switch / Potentiometer

    Hi all,

    Im pulling (whats left) of my hiar out trying to find a part. Basicly I need a low profile Pot with built in spst momentary switch... anyone know of a part number and source? thanks

  2. #2
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,614


    Did you find this post helpful? Yes | No

    Question

    Wow ...

    Never heard of that !!! ... in 40 Years of electronics ...

    your switch might be activated at a moment, but which ... Could you explain further what you want to do ???

    Alain
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  3. #3
    Join Date
    Oct 2004
    Location
    Italy
    Posts
    695


    Did you find this post helpful? Yes | No

    Default

    Hi,

    See these links.

    Best regards,

    Luciano



    http://www.alpsusa.com/


    Single-shaft momentary push (0.5mm-travel) switch
    RK117111400C:
    http://www3.alps.co.jp/WebObjects/ca...117111400C.pdf

    RK1171114D01:
    http://www3.alps.co.jp/WebObjects/ca...1171114D01.pdf

    * * *

    Single-shaft momentary push (1.5mm-travel) switch
    RK1171114V02:
    http://www3.alps.co.jp/WebObjects/ca...1171114V02.pdf

    ----

  4. #4
    Join Date
    May 2004
    Posts
    81


    Did you find this post helpful? Yes | No

    Default

    Its for a "Knight Rider" project.. .specificaly the "Surveilance Mode" box. Basicly there is one switch... you push it in and it turns unit on or off. You rotate it and it will move the LED's in responce to the movement. I might just say heck with that function and just go with a push on push off. I think the other function was only used in one episode if that. The rest of the time it just sat there ramping the bargraph up and down. It would be nice if I could find it... lord knows It took an act of congress to get the duplicate bargraph display... But I got an exact replacement part... Im probably better off focusing on developing the rest of the dash for now.

  5. #5
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Talking David Hasselhoff?

    Quote Originally Posted by bearpawz View Post
    Its for a "Knight Rider" project.. .specificaly the "Surveilance Mode" box. Basicly there is one switch... you push it in and it turns unit on or off. You rotate it and it will move the LED's in responce to the movement. I might just say heck with that function and just go with a push on push off. I think the other function was only used in one episode if that. The rest of the time it just sat there ramping the bargraph up and down. It would be nice if I could find it... lord knows It took an act of congress to get the duplicate bargraph display... But I got an exact replacement part... Im probably better off focusing on developing the rest of the dash for now.
    Knightrider?
    Wasn't that on television just before dirt was invented? I really doubt they used PICs to do that, I would bet they used an Lm3914 bargraph display driver and just ramped up the voltage to light the procession of LEDs.

  6. #6
    Join Date
    Feb 2003
    Posts
    432


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Joe S. View Post
    Knightrider?
    Wasn't that on television just before dirt was invented?
    Thanks a lot Joe !!!!!

    Do you realise how old that statement makes me feel ?

    I was in my twenties when Knight rider was on first TV. As if making me feel old isnt bad enough, I have that bloody theme tune running through my head now
    Keith

    www.diyha.co.uk
    www.kat5.tv

  7. #7
    Join Date
    Oct 2004
    Location
    Italy
    Posts
    695


    Did you find this post helpful? Yes | No

    Default

    Hi Keith,

    The bloody theme is still around! Enjoy!

    http://www.teamknightrider.com/music/krtheme.wav


    Best regards,

    Luciano

    P.S. Before you click the above link, cover the PC keyboard with plastic wrap.

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


    Did you find this post helpful? Yes | No

    Default Another possibility

    If your not commited to a POT, you could use an encoder with a switch to do essentially the same thing (but you would not have the "stops" that a POT has). I love to use these for input devices. One knob is all you need! However, if you have never used an encoder with a PIC there is a bit of learning curve to get them working well. Worth the effort, though (IMO), and lots of resources on the forum/net to learn from.

    Here are some from Digi-Key. More options to choose from on other pages as well.

    SteveB

  9. #9
    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

  10. #10
    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

  11. #11
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by keithdoxey View Post
    Thanks a lot Joe !!!!!

    Do you realise how old that statement makes me feel ?
    yeah, About as old as me.
    I was in my twenties when Knight rider was on first TV. As if making me feel old isnt bad enough, I have that bloody theme tune running through my head now
    Ugh! better you than me, it could be worse though, it could be "It's A Small World . . . ", Oh Damn it, now I have to listen to that!

    JS

  12. #12
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default Movie Prop?

    Hey bearpawz, are you building a movie prop car or just pimpim' someone's ride?

  13. #13
    Join Date
    Feb 2003
    Posts
    432


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Joe S. View Post
    yeah, About as old as me.

    Ugh! better you than me, it could be worse though, it could be "It's A Small World . . . ", Oh Damn it, now I have to listen to that!

    JS
    Youve done it again !!!!

    I got sick of hearing that at Disneyland Paris as that was my daughters favourite ride so we went on it far too many times!!!!!
    Keith

    www.diyha.co.uk
    www.kat5.tv

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 : 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