-->
Page 3 of 3

Re: Capacitive Buttons on ESP8266 with Arduino IDE

PostPosted: Tue Jan 26, 2016 5:04 pm
by Chris Burns
That sounds so easy, right :D

This is probably a redundant question, but being a noob I wanted to ask it. Could you recommend any doc/guide you followed to help you get to the point of understanding capacitive buttons' with the ESP8266? That way I'm not taking up too much of your time ;)

I looked up the internal pull up resistor, and believe it is on "GPIO0", or D3 of NodeMCU. http://www.14core.com/wp-content/upload ... agram1.png

If I am reading your code correctly, how would modify your original sketch?
#define send_pin 12
#define float_pin 14

At the moment you are using pins 12, and 14. If I am understanding it correctly, would I modify one of the pins to point at "0" and wire the other one to GPIO14? Thus making the change:
#define send_pin 0
#define float_pin 14

Thank you so much for your help. I really appreciate it.

Re: Capacitive Buttons on ESP8266 with Arduino IDE

PostPosted: Tue Jan 26, 2016 5:42 pm
by martinayotte
All GPIO on ESP have internal pullups, although they are "weak", except GPIO16 which has an pulldown instead.

Re: Capacitive Buttons on ESP8266 with Arduino IDE

PostPosted: Thu Nov 09, 2017 12:22 pm
by smarichal
Did you fin any solution? I'd like to use CapSense library in D1 mini.

thank you!