hi,
i want to measure a given area on a floor on which i can move my foot around (x and y) axis and i get the distance from the lower left corner of this area.
in the end i want to control two synthesiser parameters with this. the area will be about 30 x 60 cm, though this is not final as of yet.
i considered different scenarios:
-build a wooden outer frame with a construction on it that can move horizontally and vertically and use encoders (connected to the construction with a string on each axis) to measure the distance each axis traveled from/to the 0,0 origin
-use two ultrasonic sensors and move around an object in a frame and measure both x and y distances to the frame.
-use a mouse that i repurpose for foot usage and get absolute position from the usb-mouse output.
since i would like to control synth parameters via midi, it should react with low latency.
i will aquire a teensy 4.1 board to have the usb-host available (for the mouse idea) and have plenty of teensy lcs around for one of the other ideas.
any ideas/inputs on what would work best?
i guess the encoder thing will be a bit fiddly, with the strings etc.
the idea with ultrasonic sensors will maybe not have a very smooth/low latency response? are there other distance sensors i could use?
i like the mouse idea the best, i have a logitech wireless mouse which is optical, but i am not sure that the teensy will recognize it and i don't know if it is easy to calculate an absolute value from the mouse output.
maybe i could also attach something like an optical mouse sensor directly to a teensy?
thanks
i want to measure a given area on a floor on which i can move my foot around (x and y) axis and i get the distance from the lower left corner of this area.
in the end i want to control two synthesiser parameters with this. the area will be about 30 x 60 cm, though this is not final as of yet.
i considered different scenarios:
-build a wooden outer frame with a construction on it that can move horizontally and vertically and use encoders (connected to the construction with a string on each axis) to measure the distance each axis traveled from/to the 0,0 origin
-use two ultrasonic sensors and move around an object in a frame and measure both x and y distances to the frame.
-use a mouse that i repurpose for foot usage and get absolute position from the usb-mouse output.
since i would like to control synth parameters via midi, it should react with low latency.
i will aquire a teensy 4.1 board to have the usb-host available (for the mouse idea) and have plenty of teensy lcs around for one of the other ideas.
any ideas/inputs on what would work best?
i guess the encoder thing will be a bit fiddly, with the strings etc.
the idea with ultrasonic sensors will maybe not have a very smooth/low latency response? are there other distance sensors i could use?
i like the mouse idea the best, i have a logitech wireless mouse which is optical, but i am not sure that the teensy will recognize it and i don't know if it is easy to calculate an absolute value from the mouse output.
maybe i could also attach something like an optical mouse sensor directly to a teensy?
thanks