There was a real desire to combine the shutter & focus into a single pedal & combine the circuit board with the pedal instead of requiring a long wire. It would be easy enough & more transportable by buying a sewing machine pedal, but lack of space to store another pedal encouraged modifying the existing pedal. The existing pedal was never used for anything besides a camera shutter in 15 years.
The decision was made to start sacrificing it.
The original sensor used 2 carefully bent reeds to disengage at the halfway point. There was a place for 2 more reeds to detect a 2nd offset but lions don't have the tools to make such precise reeds.
The 3/4" range of motion of the pedal was divided down to a fraction of a mm. A common theme in musical instruments is to divide the range of motion to the smallest possible movement that can be detected, using reeds & levers. Not sure why this is.
There were more holes for mounting other kinds of sensors. The same parts are used in many different products.
The easiest sensor seemed to be a magnet hot snotted near the bottom with a hall effect sensor on a new platform. It would detect the full 3/4" range of motion.
Hot snot seemed to stabilize a magnet.
Many test prints yielded a sensor platform that could be screwed in.
It was set it in place to mark the holes.
Then it was screwed in from outside.
The magnet & sensor viewed from outside.
The firmware upgrade found it generating 5-115 on the ADC. It managed to differentiate fully raised, focus, & shutter. It burned 100mA doing nothing. The mane problems are the obsolete LED & radio being used to reduce component count.
Testing showed the LED was essential in feeling where the division point was. Being able to see the viewfinder would help. Lacking good enough eyesight, the next best option would be an aural cue. It was definitely the best pedal control of all of them.
The lion kingdom once made a foot pedal shutter control. 10 years later, there was finally a need for it.
Then came another idea make the foot pedal wireless. The foot pedal camera controller lions made many years ago worked with the EOS 5D but not the RP. The mane problem is the Yamaha pedal is open in the down state & closed in the up state. It needed an active circuit to invert the voltage.
The RP shutter pins no longer have enough pullup current for a self powered circuit. There were 2 more xbee pro's. There were enough spare parts to bodge something together.
It's unfortunate that the unplugged state is the down state for the Yamaha pedals. The user has to remember to connect a jumper when no focus pedal is connected & disconnect the jumper when a focus pedal is connected. Ideally, there would be a single pedal with 2 positions. You're in a world of hurt without a 2 position pedal.