5V Gate Output from FSR

I am looking to use a FSR connected to an Arduino that, when stepped on, will create a single 5V gate pulse output (one gate for each press). This 5V gate output would be connected to Eurorack module inputs that expect a minimum gate in order to toggle on or off.

I would think this is possible using Analog read. But if anyone out here has any guidance, I'd very much appreciate it.

John
Brooklyn, NY

Where are you stuck ?

Read the sensor using analogRead() and when the reading changes from less than the trigger value to greater than the trigger value then output the pulse on a digital pin

NOTE - you trigger the pulse when the input becomes greater than the trigger value, not when it is greater than the trigger value

Take a look at the StateChangeDetection example in the IDE to see the principle, albeit using a digital input

  • A hardware solution would be to feed the analog output from the FSR to a voltage comparator (with hystereses); feed the 0v to 5v comparator output to the Arduino . . .
1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.