MIDI device resetting itself

Status
Not open for further replies.
Yes, should work. You can use the ADC connected to the tip. Previously there were problems since the 10k pullup for the FSR was connected to the ring.
Now connecting the pullup directly to the tip, then the mono plug will not make problems, since the ring pullup, shorted to ground by the plug can be disabled.
Same pullup should work for FSR and switch.
 
Last edited:
One of my pedals is a switchable sustain / expression pedal. If I used your suggestion, I would not be able to detect the the switch from sustain back to expression as I would have to set the 5V pin to LOW and the only way to reset it safely to high would be to first unplug the cable from the jack.
 
That one will have a stereo connector then ?
Anyway if the connection to the ring is through a current limiting resistor (200 ohm)
then you can safely switch it on and off.

Now for switchable pedals, a new and interesting complications, you probably must
find out the internal wiring by measuring resistance between the ring, sleve and tip in
open and closed position.

For rechecking the pedal configuration you might add a little "test" button or periodically
make a config test or test when no activity is detected for a specified time.
 
I tried your last suggestion and it results in the FSR only registering values from 0 - 7. I've gone back to my last posted setup minus the 10k resistor. That configuration can detect changes to the pedal while it's plugged in it just seems like a more elegant solution. The only issue I'm having is that there's a bit of instability when measuring voltages close to zero. I think I'll just implement some low pass filtering to smoothen things out. It appears that the expression pedal input on my keyboard does this aswell.

Rob
 
I've finished my device and have begun selling it online. If you send me your mailing address to sales at audiofront dot net, I'll send you one.

Regards,
Rob

Here's a link to the product page:
www.midiExpression.com
 
Status
Not open for further replies.
Back
Top