miditron & max/msp

Aug 2, 2008 at 12:35am

miditron & max/msp

so, i had previously been using the miditron to transmit data to max, but am coming up against a problem that seems inconsistent.

i have the miditron ports 1 & 2 switched to ‘analog in’
i have two contact switches set up on 1 & 2

while they are ‘open’ both 1 & 2 read spurious data, just random numbers around 30 (between 0 – 127, so i’m guessing .8v or so)

when the switch on 1 is closed, port 1 reads ’0′

however, when switch on 2 is closed, both port 1 AND 2 read ’0′

i am having a lot of problems with cross – port readings. also, i can’t get sensors to output any sensible info. i have used 2 different miditrons, and it happened on both of them.

did i fry something? maybe my wiring is no good?

help!

#39098
Aug 2, 2008 at 12:36am

oh, also, when i switch the ports to ‘analog out’
there is no problem getting individual LEDs to light up on individual channels…
arg

#137214
Aug 2, 2008 at 2:02am

Sounds like you don’t have pull-up resistors on your switches. When
they are open, your terminals float and will read random values or
the values of adjacent ports. See the schematic for wiring switches
in the MidiTron manual. Also, check out the MidiTron Wireless manual,
which has more detailed wiring diagrams. Everything’s at

http://miditron.com.

Eric

At 6:35 PM -0600 8/1/08, jason wrote:
>so, i had previously been using the miditron to transmit data to
>max, but am coming up against a problem that seems inconsistent.
>
>i have the miditron ports 1 & 2 switched to ‘analog in’
>i have two contact switches set up on 1 & 2
>
>while they are ‘open’ both 1 & 2 read spurious data, just random
>numbers around 30 (between 0 – 127, so i’m guessing .8v or so)
>
>when the switch on 1 is closed, port 1 reads ’0′
>
>however, when switch on 2 is closed, both port 1 AND 2 read ’0′
>
>i am having a lot of problems with cross – port readings. also, i
>can’t get sensors to output any sensible info. i have used 2
>different miditrons, and it happened on both of them.
>
>did i fry something? maybe my wiring is no good?
>
>help!

********************************************
* MidiTron *
* The MIDI to Real World Interface *
* *
* MidiTron Wireless *
* The Wireless Sensor to MIDI Interface *
* *
* Now available from http://miditron.com *
********************************************

#137215
Aug 2, 2008 at 4:04am

thanks for the quick reply.

i tried this and the ports do not react to anything at all.
in ‘digital in’ mode they all bang 1 (toggled on), occasionally oscillating 0.

i kept the switches in place and tried it in analog mode and the same thing happened, no input or reaction at all.

also, when i had been trying it in the previous mode, i hooked up at least 6 terminals, and they would all react to any one switch that was flipped.

is there anything else i can try?

#137216
Nov 3, 2008 at 9:57pm

I was successful in getting some nice values with a FSR with a 10k-Ohm resistor (0-123) without a resistor it goes from 0-127. I just using a simple noise~ patch to test resistance. With a Flex sensor (using the same resistor) it starts out a value of 63 and when bend the volume fader goes below 63 the opposite direction than the FSR with Wireless MidiTron. I have the Miditron Program patch to default 0-127.

#137217

You must be logged in to reply to this topic.