Page 1 of 1
Rotary Switch doesn‘t count
Posted: 03 Nov 2017, 21:46
by olem_de
Hello
I have a problem with the rotary switch:it does not count !
I have connected the two outer pins of the switch (Not a shield with pwr and gnd) to the gpio‘s,configured them ...but no counting at all. Do i have to connect the pins via a resistier to Vcc?
Thx if someone has a hint or workaround .
Ole
Re: Rotary Switch doesn‘t count
Posted: 03 Nov 2017, 21:56
by grovkillen
A picture or two of your setup would help. Have you rebooted the ESP after the configuration is done (just to be sure)?
Re: Rotary Switch doesn‘t count
Posted: 03 Nov 2017, 22:20
by olem_de
ok . yes i did a reboot

- rotary.png (63.28 KiB) Viewed 4557 times
Re: Rotary Switch doesn‘t count
Posted: 03 Nov 2017, 22:27
by grovkillen
What about the rotary encoder? Possible to have a picture/name of it?
And:
Do not use GPIO 16 for this plugin, it will not work properly.
https://www.letscontrolit.com/wiki/inde ... ry_Encoder
Do you need it to be reset by the use of "I"? You can at least try without it.
Re: Rotary Switch doesn‘t count
Posted: 03 Nov 2017, 22:33
by olem_de

- Rotary-encoder-pinout.png (18.88 KiB) Viewed 4547 times
such a type
Re: Rotary Switch doesn‘t count
Posted: 03 Nov 2017, 22:34
by grovkillen
Great, let's try without the gpio 16 first.
Re: Rotary Switch doesn‘t count
Posted: 03 Nov 2017, 22:41
by olem_de
i tried this first - no success