Monday, August 4, 2025

Are interrupts causing the position errors with this Raspberry Pi PICO controlled robot?

Mysterious positioning errors have been a major problem for this project.  In some reason testing a very mysterious and seemingly impossible problem was discovered. This problem is related to: Interrupts, Sleep, and Print.  Sleep and Print are influencing the interrupts and associated counter. That isn't the mysterious part, it seems like it is doing the OPPOSITE of what you would expect.  This video takes a deeper dive into the problems with the Raspberry PI PICO controlled robot and its MicroPython program using Interrupts with encoders to measure distance traveled.   


Cheers!

Chris

No comments:

Post a Comment

The ZoomTown experiment has reached a fork in the road, what to do?

The results of the most recent test involving test trips have been very disappointing and extremely discouraging.  This episode discusses th...