EncSim
Quadrature signal generator for testing encoder software. Requires a PJRC Teensy board. Generates quadrature signals with adjustable frequency, phase and bouncing (by luni64)
TaskScheduler
Cooperative multitasking for Arduino, ESPx, STM32, nRF and other microcontrollers (by arkhipenko)
EncSim | TaskScheduler | |
---|---|---|
2 | 5 | |
16 | 1,178 | |
- | - | |
0.0 | 0.0 | |
almost 2 years ago | 4 months ago | |
C++ | C++ | |
MIT License | BSD 3-clause "New" or "Revised" License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
EncSim
Posts with mentions or reviews of EncSim.
We have used some of these posts to build our list of alternatives
and similar projects.
-
Replacing Rotary Encoder Quadrature with Accelerometer
Anyway, found my answer. That was all. Enjoy yalls place here, un-subbed. https://github.com/luni64/EncSim
-
Encoder simulation
I’m looking around for a way to simulate rotary quadrature encoders but haven’t found anything yet. I have found some for (teensy)[https://github.com/luni64/EncSim] and some for (arduino)[https://forum.arduino.cc/index.php?topic=383189.0] but nothing that allows me to simulate encoders using atmel hardware (I only have atmega328 and 32u4 available) with adjustable timings and most importantly, bounces on the encoders.
TaskScheduler
Posts with mentions or reviews of TaskScheduler.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-01-25.
-
How do you make a code that does like 2 or 3 things simulatneously?
When you get a little more advanced it's not hard to extend the BWD code to hsndle any number of "time when something should happen". Or you can use something like the TaskScheduler library.
-
Understanding the rarely seen EVERY_N_MILLIS_I ?
Or just use TaskScheduler and never have to worry about this again. https://github.com/arkhipenko/TaskScheduler
-
Event-driven architecture
For reference, I'm a big fan of this scheduler in particular, due to it's simplicity, OO support and a neat extra of sleeping each unused millisecond (low power for free).
-
Current consumption between arduino and HAL?
One of my favourite low power techniques involves using a scheduller for your loop code, and sleep for 1 ms at a time when there are no tasks to run. As seen here.
-
Garden irrigation system based on ESP32
Have you looked at the task scheduler library? https://github.com/arkhipenko/TaskScheduler