"Question - do we need to use digital tech if we just go for the "expression pedal with a very light, fast action and an auto-return mechanism" model rather than the "measure the velocity and shape an envelope from it" model?" - Gordon
Sorry Gordon, I am not following this.. I think ive been infected by some AU in one of the crazy videos recently ..
Reasons for digital:
simpler and lower cost control of ADSR. If CapSense is not used, any MCU with an ADC and usual timer/PWM etc could probably be used.
Reasons for PSoC:
Reconfigurability and Capsense primarily.
The above can also work with
(1) simple contact.
(2) could be adapted to 'keyboard' velocity type changeover contact.
(3) can also work with analogue sensor (FSR,HALL,CAPACITANCE etc) in either (a) Single contact mode (b) changeover velocity contact mode (c) continuous analogue mode
The big advantage to the above is that the interface to the sensor can be implemented entirely in the PSoC and changed with configuration / firmware.
The big disadvantage to a analogue front-end is that one must get the sensor right and stay with this - as in, the front end can only be developed with a sensor / pedal assembly close to its final form.
The ""measure the velocity and shape an envelope from it"" was, I thought, just a possible future option .. I saw the primary requirement as "light touch for on/off - drive envelope from this" as defined by your specification.
The simplest:
If we dont need to worry about amplifying a 'sensor' and determining a threshold (as in, a single make / break contact is available) - OR if we are using a FSR as a switch with a simple comparator - Then, for a simple AD envelope analogue is possiblyy easier.
BUT:
When we start to add anything beyond simple AD, even adding invert and certainly if adding ADSR and reverse ADSR, the digital option has clear benefits - the ONLY big benefit analogue has is that it could be put together by any hobbyist and eventually be made to work.
CapSense:
My "And it could work well with a shielded capacitance sensing plate - double sided PCB with shield layer facing the bottom, and sense layer facing up.. Perhaps no need for squidge!"
Is only possible due to the shielding function - Active shielding effectively eliminates any ground influence from the shielded side.. Its how I have made conductive objects "invisible" to the theremin and implemented directional antennas. The problem with shielding is that the shield must be driven at exactly the same voltage and perfectly track the signal on the sense antenna - it is a bugger to implement on high voltage antennas.
Capsense now provides shielding - without shielding the bottom side capacitance of the sensor would reduce sensitivity and hugely increase drift - It may be that there would still be enough sensitivity - but there will be at least a 100% and probably more like a 600% improvement by using shielding..
Without (active) shielding, all the prior arguments against using capacitive sensing return..
The "sandwich" sensor arrangement with ground on both sides of the sensor overcomes the need for shielding because both grounds are 'squidged' towards the sensor - this should increase the capacitance change, and the 'bottom side' capacitance is not merely a "capacitive load" on the sensor...
Also, the way CapSense works (and here I am talking about an area I am not an expert in, so I really cannot say how well it works) is by monitoring base-line drift so that slow changes in the base-line due to thermal factors or whatever are compensated.
To me, changing the pedal mechanics is a side issue if one is looking for an 'on/off' detection, and a side issue if one enhances to dual threshold "velocity keyboard" detection - it only becomes an issue if one is looking for proportional analogue control.
Perhaps my DAC/ DCA frightened you a bit.. Sorry ;-) ..
<Content removed>