Page 2 of 7 FirstFirst 1234567 LastLast
Results 11 to 20 of 63

Thread: Multiple Button w/ Resistors

  1. #11
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,045
    You need a pulldown to ground. You are basically floating an input which is an electrical no-no. So take a couple hundred Kohm resistor and tie it between the analogue input and ground.
    Fusion Brain Version 6 Released!
    1.9in x 2.9in -- 47mm x 73mm
    30 Digital Outputs -- Directly drive a relay
    15 Analogue Inputs -- Read sensors like temperature, light, distance, acceleration, and more
    Buy now in the MP3Car.com Store

  2. #12
    Variable Bitrate
    Join Date
    Aug 2005
    Posts
    422
    Quote Originally Posted by 2k1Toaster View Post
    You need a pulldown to ground. You are basically floating an input which is an electrical no-no. So take a couple hundred Kohm resistor and tie it between the analogue input and ground.
    Thanks for chiming in. You mean literally from the ground pin to the input pin?

    I'm googling what you said so I can understand it, but just wanted to confirm that's what you meant.

  3. #13
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,045
    Quote Originally Posted by SKiTLz View Post
    Thanks for chiming in. You mean literally from the ground pin to the input pin?

    I'm googling what you said so I can understand it, but just wanted to confirm that's what you meant.
    Indeed I do.

    Basically the FB's input is an empty bucket when you power it on. Then you press your button and it fills the bucket up to the level specified by your resistor divider combo. The FB reads the level of this bucket by skimming a bit off the top. (A very very very small amount, like a couple drops). When you disconnect your button that bucket is still full. What you need to do is poke a hole in the bucket. So when the button dumps in its goo, it can drain away when disconnected. Now if you make this hole too small, it won't drain. If you make this hole too big, the button has to put more current (more pressure) to maintain the same level.

    So pulldowns are a common occurance.

    Alternatively, you can connect the input to power and ground the button through a resistor.
    Fusion Brain Version 6 Released!
    1.9in x 2.9in -- 47mm x 73mm
    30 Digital Outputs -- Directly drive a relay
    15 Analogue Inputs -- Read sensors like temperature, light, distance, acceleration, and more
    Buy now in the MP3Car.com Store

  4. #14
    Variable Bitrate
    Join Date
    Aug 2005
    Posts
    422
    Well, I think I killed my brain. I can't get MDX to read any voltage now. Make you a deal. I'll buy another one if you can give me a diagram so I don't kill the next one..

  5. #15
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,045
    Quote Originally Posted by SKiTLz View Post
    Well, I think I killed my brain. I can't get MDX to read any voltage now. Make you a deal. I'll buy another one if you can give me a diagram so I don't kill the next one..
    How EXACTLY did you hook it up and what values of what did you use.

    Also, there is a thermal fuse on there. If the board looks dead, give it a few minutes to cool down and try again. You may have killed that output, but the brain should come back to life.

    ---------- Post added at 11:34 PM ---------- Previous post was at 11:33 PM ----------

    And please tell me you were messing around with bare leaded components with a live device...
    Fusion Brain Version 6 Released!
    1.9in x 2.9in -- 47mm x 73mm
    30 Digital Outputs -- Directly drive a relay
    15 Analogue Inputs -- Read sensors like temperature, light, distance, acceleration, and more
    Buy now in the MP3Car.com Store

  6. #16
    Variable Bitrate
    Join Date
    Aug 2005
    Posts
    422
    Ok the board appears to have come back to life. Looks like you called it..

    This is what I had/have.

    Left side of Button -> 100ohm resistor -> +5V
    Right side of Button -> Input
    +5V -> 100k ohm resistor -> input

    I see it lowers the voltage when the button isn't pressed, but pushing the button still does nothing.

    I know i'm in over my head, but I will get it... Eventually.

  7. #17
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,045
    Quote Originally Posted by SKiTLz View Post
    Ok the board appears to have come back to life. Looks like you called it..

    This is what I had/have.

    Left side of Button -> 100ohm resistor -> +5V
    Right side of Button -> Input
    +5V -> 100k ohm resistor -> input

    I see it lowers the voltage when the button isn't pressed, but pushing the button still does nothing.

    I know i'm in over my head, but I will get it... Eventually.
    Are you sure you meant +5v on both of those?

    When it goes dead like that, you shorted it. VERY bad. But protected against slightly.
    Fusion Brain Version 6 Released!
    1.9in x 2.9in -- 47mm x 73mm
    30 Digital Outputs -- Directly drive a relay
    15 Analogue Inputs -- Read sensors like temperature, light, distance, acceleration, and more
    Buy now in the MP3Car.com Store

  8. #18
    Variable Bitrate
    Join Date
    Aug 2005
    Posts
    422
    Are you sure you meant +5v on both of those?

    When it goes dead like that, you shorted it. VERY bad. But protected against slightly.
    Sorry.. I made a mistake. This is what I meant.

    Left side of Button -> 100ohm resistor -> +5V
    Right side of Button -> Input
    +5V -> 100k ohm resistor -> Ground

    That is how I interupted your bucket analogy. But that doesn't mean I got it right.
    Last edited by SKiTLz; 03-04-2011 at 01:07 AM.

  9. #19
    Variable Bitrate
    Join Date
    Feb 2002
    Posts
    411
    You were supposed to hook the ground through the 100k ohm resistor to the input.

    ---------- Post added at 11:09 PM ---------- Previous post was at 11:06 PM ----------

    The input has three pins. V+, input, Ground. Connect V+ to one side of your button, from the other side of your button connect your 100ohm resistor in series to your input pin. Then connect the input pin to the ground pin with a 100K ohm resistor (since its what you have).

    right?
    Old School MP3CAR.com member!

  10. #20
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,045
    Code:
    +5v
    ---
     |
     |
      >
    <    1Kohm to 250Kohm
      >
    <
     |
     |
     |--- Input
     |
     |
    ------
    BUTTON
    ------
     |
     |
    ---
    GND
    Fusion Brain Version 6 Released!
    1.9in x 2.9in -- 47mm x 73mm
    30 Digital Outputs -- Directly drive a relay
    15 Analogue Inputs -- Read sensors like temperature, light, distance, acceleration, and more
    Buy now in the MP3Car.com Store

Page 2 of 7 FirstFirst 1234567 LastLast

Similar Threads

  1. multiple command button syntax help
    By yonu in forum RR Skins
    Replies: 3
    Last Post: 01-13-2010, 10:32 PM
  2. setting multiple keyboard strokes in one button
    By igo4bmx in forum Road Runner
    Replies: 10
    Last Post: 09-02-2009, 05:28 PM
  3. MDX -- Linking multiple Outputs/Votes to a single Display Button
    By 2k1Toaster in forum FB Documentation and Tutorials
    Replies: 0
    Last Post: 04-06-2008, 04:54 PM
  4. FS: 75 Ohm Resistors (4 Available)
    By AEFL92 in forum Classified Archive
    Replies: 16
    Last Post: 02-08-2005, 08:12 PM
  5. Using resistors
    By babas151 in forum General Hardware Discussion
    Replies: 7
    Last Post: 03-27-2002, 01:57 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •