Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Twitter

Digital buttons on the Brain Jr.'s analog block

I need a total of 20 digital buttons on my setup.  I saw this video:  where this dude hooked up one side of the button to the analog +, and on the other side he attached 2 wires, one going to the #, and the other connecting to a resistor and then to the -.


Then I found this discussion in the forums: http://forum.lividinstruments.com/discussion/18917/can-you-connect-momentary-buttons-to-analog-connections-on-brain-jr which references the "button mode" setting in the Brain V2 Configure utility and states that I'd need a 10k resistor.  I did a little math and figured that 3W should be the right resistor for the job, and I wired this up in my rig.  However, It didn't seem to work once I was trying it out in the Config utility.

So, I cut off the resistors and wired the buttons to the + and - on the analog block and set those analog lines to "btn" in the Config, and I turned on the "flip" so I get 127 when I press the button and 0 when I let it up. I've got IDs 3,4,5, and 6 (MID notes 67, 68, 69, and 70 respectively) in the analog block set this way.

But, when I press one of the buttons the blue LED on the Brain JR goes out as long as the button is held (not sure if that's a problem), and the MIDI input shows activity for all 4 notes, no matter which button I press (e.g. if I press button 3, I get "note 70 127 ch 3, note 69 127 ch 3, note 68 127 ch 3, note 67 127 ch3 and upon release I get note 67 0 ch 3, note 70 0 ch 3, note 69 0 ch 3, note 68 0 ch 3) 

Is there a way to get the Brain Jr. to handle these as discrete notes for each of the buttons?

Thanks for the help - I'm pretty new to all this and it's been fun working on the little mysteries.

Comments

  • Hi unclenoah,


    When the blue light goes out, it is indeed a problem.
    It implies that one of the voltage sources is being connected directly to ground.
    This shorting will trigger pretty much every connected Analog Input whenever it happens, so you will need to update your connection.

    The video'd system of connection does work.
    Perhaps you misunderstood part of the hookup when make your initial connections.
    Let me detail it here for you:
    Voltage to one side of the button
    Analog Signal to the other side of the button
    10k resistor connecting Analog Signal to ground.

    Let me know if I can help you more with that.
    By the way, you only need a regular old 1/8 or 1/4 Watt resistor for this application.
    Though, having a 3W resistor will not hurt anything.


  • Ok, i got everything wired up exactly as described and it's still not working right for me. I'm finding that the button signal works about 1 out of every 50 button pushes, and the signal is sent very slowly - it lags the button push (and release) by somewhere between 2-5 seconds. The other 4 pots hooked up to my analog inputs are sending just fine with no lag. I tried setting the buttons to "pot" and "btn" just in case there was an issue there, but it didn't seem to improve the situation. I really don't understand what's going wrong but it seems like I'm close to the solution. Any help is appreciated!

  • Hmmm... there may be something else at play.

    I have a few questions for you, to help narrow this down.

    Have you find that the blue light is no longer going out?
    Do you have any capacitors hooked up to these 'buttons as analog inputs' circuits?
    What value of pull-down resistor are you using?
    Can you take and send me a picture of your wiring for one of the buttons?
  • The blue light is no longer going out

    I do not have capacitors hooked up to the buttons
    The resistor I'm using is 10K Ohm 3W
    I've put pictures (they're big, but I figure it lets you really get in there) and descriptions up at http://www.unclenoah.com/livid
  • Okay,
    Thanks for the images.
    The wiring on the button looks good.
    (Ground on Outside, Signal in the Middle, Power on the Inside, Pull Down in the right position, 10k is a good value)

    Judging by your results, and all of the information above, the only conclusion that I see is that the Power or signal connection is loose on one end or the other (red or yellow).

    Have you tried a different analog input?
    Have you tried wiring the button as a digital input, to make sure it's working like that?
    The answer to those two questions should really narrow it down.

  • I've tried all four of the buttons on various analog inputs with the same behavior.

    I've tried all four buttons on one of the inputs on the digital block and all four buttons worked.  So I know it's not a mechanical problem with the switch in the buttons, nor is it a physical problem in the wiring on the buttons.

    I'm completely lost on what to do with this.  This seems like it should be so easy to do, and from the youtube video is looks like it's as simple as falling off a log, yet I can't make it happen at all.

    At this point, I'm willing to pack up the controller and mail it to someone who knows how to work this miracle so they can lay hands upon my box and see if they can't make it want to behave. :D  As always, any help or direction is much appreciated.


  • edited June 19

    Figuring that the problem must be related to the resistors I was using, I did some un-soldering and re-soldering, and replaced what I had with 10K Ohm 1/8W and put everything back together to see if things would work differently.

    Sadly, there's no change to the behavior I'm getting. 
    Since what's going on seems s crazy, I decided to make a video to document it and show what I'm experiencing - maybe someone will see something here that will stand out to them as an obvious error that I'm making: http://www.unclenoah.com/livid/LividBrainJRButtonMystery.m4v
    Could it possibly be that there's some kind of defect in my Brain Jr. board itself that is preventing this from working? It seems like all of its other functions are AOK. 
    I really appreciate any help that anyone could extend to assist in solving this mystery. 
     Thanks!
  • I couldn't get that video to play. I'm not sure why


    It seems like your pull-down resistor is not functioning.
    Since it's in button mode, it will only send a message with positive value after it's sent a '0' message, and those zeros are not coming quickly!

    Do you perhaps have the resistor on the wrong side?

    Button Side 1: Gets +V

    Button Side 2: Gets Signal Pin, and Gets Resistor Side 1

    Resistor Side 2: Goes to the Ground Pin

    I bring this up because if you put the pulldown resistor between +V and Ground, then you could get the results that you described.



  • OK - I've triple-verified that I've got the button sides wired as described above.


    I've put up a new Web page with pics of the new resistor setup in case there's something I'm getting wrong that you can figure out visually (Note: I've moved the buttons to analog spots 13, 14, 15, and 16 just to make it a little easier on me):

    Sorry my video didn't work well for you - I've uploaded it to YouTube, and you can see it at:

    (There's also a link to the vid embedded in the Web page listed above)

    Thanks again for all the help. I feel like I must be making some kind of amazingly simple error here, and I just can't figure it out.

Sign In or Register to comment.