RPi PICO Interfacing with Quadrature Encoders

preview_player
Показать описание
This video covers programming and interfacing rotary encoder switches and motor encoders to the Raspberry Pi PICO microcontroller. Back ground information is provided on applications for both types of encoders. Several program examples are provided and explained covering practical applications in user interfaces and for direction, distance and velocity monitoring of motors..

SEE ASSOCIATED VIDEOS:

SOURCED ITEMS USED IN SOME OF THE VIDEOS
Рекомендации по теме
Комментарии
Автор

Wow, worth every minute of viewing. Very clearly explained - a very challenging task. Thanks for all your effort, much appreciated.

quaternion-pi
Автор

What a fantastic video! I came here looking for some info for onverting a ps2 mouse to quadrature for an acorn archimedes computer but have learnt so much more

syrusk
Автор

I come back again to refresh my memory - Thanks

nigelworwood
Автор

Hi, very good explanation and an elegant way of dealing with switch bounce without using external components. Thank you

duncanmarks
Автор

This is a very well done description of rotary encoder decoding in the main loop. The length of the video is quite appropriate for anyone wanting to actually learn about rotary encoders. They are as ubiquitious as you showed with the many examples. Thank you.

I was really hoping you were going to show how to utilize the GPIO programming so the decoder routine and delay times between reads didn't use up any time in the main loop. I am, perhaps mistakenly, thinking that that is the purpose of the GPIO state machines programming - to offload repetitive i/o tasks from the M0 cores.

I keep searching high and low for such a method, and the only one I have seen uses up all 16 interrupt spaces as a jump table state machine. I think it probably could be re-located using an offset, but that is above my skill level at present on the Pico.

I subscribed and will look for other videos you have done on the Pico. I think the Pico is just starting to take off and develop a base of knowledge like the Arduino microcontrollers has. Sooo much more power!!!

BartMcCormick
Автор

is there a way to make all these utorials in C? your vids are amazing but there is a severe lack of documentation onhow to do stuff with rasberry pi in C :/

Ewig_Luftenglanz
Автор

This is exactly the video I was looking for. Thank you for making it.
However, I can't get this to work. I am getting this error: name machine is not defined. Apparently I do not have the machine library installed.

I am using Raspberry Pi 4B. Using 'pip install' I have installed machine as well as micropython-machine. But it still does not work. So how can I install the machine library?

ankurbhatnagar
Автор

very helpful video, Sir. Thank you. The click encoder's code works so well. However, regarding the shaft encoder, the code does not read the data. I have make sure to follow all of your instruction. Please help me!

tiarakusumadewi
Автор

Hi, very usefull and well explained.
Can you update downloads site, files are not there ?

carloscarvicais
Автор

This is the stuff I was looking for. You are leveraging interrupts, much better than polling. Are there any debounce issues?

PaulaBean