Hi everyone, currently I have a final project which includes Udoo neo full, three DC Motors with quadrature encoder for each of them. My problem is I didn't find quadrature encoder library for Udoo Neo, so I still can't read the data of the encoders. Is anyone here knows any source of libraries for reading quadrature encoder in Udoo Neo? FYI, I use Udoo Neo as headless device mode with Board definition installed in my laptop's Arduino IDE thanks, Rivier
There is no encoder library for the Neo Basic. You could modify an existing one. Most libraries work with attachinterrupt() as that is normally the best solution but the Neo has problems with this function https://www.udoo.org/forum/threads/interrupts-are-unstable.6613/
Thanks for the information, I've read that link. In that thread, its mentioned to use FreeRTOS for using M4 side. I've already tried that too. Unfortunately, I can't find the way to generate such interrupt like in Arduino IDE to read the encoders. I also haven't found the way to generate PWM signal for controlling the DC Motors. Do you have any source or literature about that? I really need to fix this problem for my final project Thanks