Forums > MaxMSP

Force Sensitive Resistor Reduction

November 23, 2011 | 4:13 am

So I’m working on a project using force sensitive resistors hacked into the analog output of a wireless game controller, which then controls the parameters of a synth. My issue is that the change in resistance is too dramatic and is more like an on/off button, where as I want it to be a slow increase/decrease.

Is this possible?

thnxxx


November 23, 2011 | 11:09 am

Your solution lies here:

http://cycling74.com/forums/topic.php?id=36405

Please post your patch/code

Brendan


November 23, 2011 | 1:40 pm

Okay, so this is the part of the patch that reads data from the controller

– Pasted Max Patch, click to expand. –

—————————————————————–

And this is the whole patch

– Pasted Max Patch, click to expand. –

November 23, 2011 | 5:44 pm

Hi
can you be a little more specific than "the change in resistance is too dramatic and is more like an on/off button, where as I want it to be a slow increase/decrease"? What values are you getting, and what values/functionality do you require? Without seeing your circuit and raw values it’s hard to help. How have you connected the variable resistor (FSR) to the gamepad?

Brendan


November 24, 2011 | 2:03 am

Sorry for being so vague, I’m finding it difficult to translate.

I have a hacked logitech ps3 controller, in which the analog sticks resistance points have been connected to a breadboard. This allows me to use a force sensor (could be a potentiometer, LDR, etc.) to control the values that the analog stick would normal be sending. Since this controller is wireless I can then send the data into Max/Msp. The controller has the range of 0 – 255.

My problem is that when I provide any kind of resistance it shoots straight up to 255, and if I let go straight back to zero. I am wanting to get at the values in between so that I can have better control over my synth.

Sorry to waste your time. There’s not much else I can give you unless you have a ps3 controller that you can connect to max.


November 24, 2011 | 2:51 am

A great material on a short dress, will surely keep them cool on a summer’s evening.


November 24, 2011 | 12:05 pm

I think it is a hardware problem. Did you test this with the original hardware in place first? Or do you still have the original joysticks for it.

first thing to do is to test if you get spiked values too when connecting the original hardware before replacing it with your own


Viewing 7 posts - 1 through 7 (of 7 total)