Touche icon indicating copy to clipboard operation
Touche copied to clipboard

Support sabre

Open Yohannfra opened this issue 3 years ago • 2 comments

Issue tracker for sabre support

Yohannfra avatar Jun 06 '21 10:06 Yohannfra

I'd be interested in helping add sabre support. What's the core issue that is stopping touche from supporting sabre currently?

lmilekic avatar Aug 30 '21 14:08 lmilekic

The limitation comes from how the capacitive touch library works. It mesure the capacitance by measuring the time needed to detect the voltage change from two pins (see : https://playground.arduino.cc/Main/CapacitiveSensor/).

For epee it just needs to read this value when the button is pressed but for foil and sabre it needs to keep reading this value all the time until it detects the touch, but since this takes a lot of time to do a read, it will slow down the whole system + the values won't be accurate.

I think this is not solvable with the arduino nano so these days I try to use the internal capacitive sensor of the ESP32 and if it doesn't work I'll try with a STM32 (It's used inside the Favero system).

Yohannfra avatar Aug 30 '21 16:08 Yohannfra