Comments (5)
There are only 10 PCNT channels, no matter what mode.
from esp32encoder.
Really sorry, my bad!! Looks like a tiepin error!!! 3 Channels working . Start testing prope.
Please close.
Apologies
Steve
from esp32encoder.
i have tested 4 encoders simultaneously, and it should support up to 10. Is it any set of pins not working? Will the non working encoder work if the others are not enabled? Is the non working one always the same one? Is it hooked up while testing it?
It could be current draw of the third device, it could be intermittent wiring. I have definitely used more than 2 successfully.
Can you post a gist of repo of some project thats not working for you? Maybe a silly code mistake like reusing a pin in attachment, or attaching the same variable twice with different pins (copy paste error) perhaps?
from esp32encoder.
The readme mentions:
10 simultaneous quadrature encoders.
Does this then mean 40 single edge encoders? Or also 10?
I've been using it succesfully with 3 single edge encoders. With 4 there were issues (random signals for the 4th) but I have yet to properly debug what was going on there (probably faulty soldering/wiring).
from esp32encoder.
Thanks for fast response.
Maybe I didn't make it clear, but any 2 out of the 3 channels did work, so yes the non working channel did work and vice versa, I dont think its a cut and paste problem, code is identical for each channel. At the moment I'm testing with a single rotary encoder and moving between channels. Were you using Half or Full quad? I'm trying to use full, but not sure from library what the difference is. I haven't yet tested to prove it is actually working in full quad mode, busy building a test box for that or use a scope and function generator.
Thanks
Steve
from esp32encoder.
Related Issues (20)
- Trouble with RPM calculation HOT 2
- cannot even compile example for regular esp32 dev board HOT 7
- Encoder limit? ESP32S3 Bootloop Issue "Too Many Encoders!" HOT 4
- wrong counting with fast encoder HOT 2
- Liberary doesn't work when generating a PWM signal (when pins 15 and 16 split the PWM and encoder) HOT 6
- Support for MCP23017 GPIO expander
- compatibility with ESP32 core V3 HOT 2
- Not compiling for ESP32-S2 HOT 3
- Compile error 0.10.0 and 0.10.1 HOT 6
- Encoder Library with PCNT as Frequency Counter
- Function working and direction HOT 6
- Encoder not working in IO2, IO4. HOT 3
- Compile fails with soc.h not found HOT 5
- Not working with tasks HOT 1
- Compiling error HOT 12
- Attach Single edge problem HOT 1
- ESP32-C3 compile fail
- setCount after setup() HOT 2
- Encoder get difference from last read HOT 1
- Definition of NONE confliccts with other libraries
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from esp32encoder.