Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support sabre #6

Open
Yohannfra opened this issue Jun 6, 2021 · 2 comments
Open

Support sabre #6

Yohannfra opened this issue Jun 6, 2021 · 2 comments
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@Yohannfra
Copy link
Owner

Issue tracker for sabre support

@Yohannfra Yohannfra added the enhancement New feature or request label Jun 6, 2021
@Yohannfra Yohannfra self-assigned this Jun 6, 2021
@Yohannfra Yohannfra added the help wanted Extra attention is needed label Jun 18, 2021
@lmilekic
Copy link

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

@Yohannfra
Copy link
Owner Author

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants