So is it right that it is a counter? It starts at 0 and when i turn rights it add 1 and at left subtract 1.
What does pulse per cycle mean? 1 for 360 degrees? So at 4 ppc every 90 degrees 1 pulse?
And last question. The min max. when I set 0-3 than i can have 4 pulses. But what happens when I reach 3 pulses? Will the counter stop at 3 pulses untill I turn left?
I want for each Pulse a seperate event. I would like to build a menu for lcd2004. Each Pulse should be a page to scroll.
Like If counter=0 then event page0
counter=1 then event page1
How does a rotary encoder works in esp?
Moderators: grovkillen, Stuntteam, TD-er
-
- Normal user
- Posts: 17
- Joined: 30 Sep 2018, 16:35
-
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
Re: How does a rotary encoder works in esp?
Please read more here https://www.letscontrolit.com/wiki/inde ... ry_Encoder
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you

ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you



-
- Normal user
- Posts: 17
- Joined: 30 Sep 2018, 16:35
Re: How does a rotary encoder works in esp?
I understand the min max value. But not the count. How much will increase the turn at 360°?
But for now I cant look at my ESP. Must wait till I´m at home.
But for now I cant look at my ESP. Must wait till I´m at home.
Who is online
Users browsing this forum: Anthropic Claude Bot [bot] and 11 guests