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

New Plugin Request : Touch sensors for ESP32 #2

Open
happytm opened this issue Oct 6, 2019 · 6 comments
Open

New Plugin Request : Touch sensors for ESP32 #2

happytm opened this issue Oct 6, 2019 · 6 comments
Labels
enhancement New feature or request Plugin related question Further information is requested

Comments

@happytm
Copy link

happytm commented Oct 6, 2019

As you know ESP32 has 10 touch sensors built in. If possible please implement touch sensors as plugin. It will be very useful plugin to use this for either menu system with oled display or direct input to automate some actuators (used as a switch).

https://www.youtube.com/watch?v=40tyJfvpcxw

Thank you.

@enesbcs enesbcs added the enhancement New feature or request label Oct 7, 2019
@enesbcs
Copy link
Owner

enesbcs commented Oct 7, 2019

Interesting idea, and what do you think what plugin number could be used for it?

@enesbcs enesbcs changed the title Feature Request : Touch sensors for ESP32 New Plugin Request : Touch sensors for ESP32 Oct 7, 2019
@TD-er
Copy link

TD-er commented Oct 7, 2019

I would suggest to use a new plugin for it, since it is a switch input only.
It is also something ESPeasy will have in the (near?) future, a switch input only plugin.

For the ESP32, it has the extra option to configure such a pin to wake the node.
For touch input, it does need very specific parameters like upper level/lower level to define the state.

@enesbcs
Copy link
Owner

enesbcs commented Oct 7, 2019

Thanks TD-er do you have any idea what will be the plugin id of it in ESPEasy? Maybe P101 vs original P001? :)

@TD-er
Copy link

TD-er commented Oct 7, 2019

Nope, no idea yet, but I guess 101 is a nice one to have.
Otherwise it should be 91 or something, so 101 is fine.

@enesbcs
Copy link
Owner

enesbcs commented Oct 19, 2019

Touch sensor support added in commit 5bb2747 in P102. It is a pure analog value, with a simple digital output mode if limits added correctly. But i am very displeased with it, as output values are floating around, so it is not a reliable input source. :(

@enesbcs enesbcs added the question Further information is requested label Oct 19, 2019
@enesbcs
Copy link
Owner

enesbcs commented Oct 21, 2019

In this article https://forum.arduino.cc/index.php?topic=629955.0 the solution was averaging 100 reading which looks like a little time-consuming. :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Plugin related question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants