what are the performance implications of using arduio-pico compared to micropython and the official c sdk #2821
Unanswered
gregorianrants
asked this question in
Q&A
Replies: 1 comment 4 replies
-
I suggest you benchmark a few things if you're really concerned. If you don't use FreeRTOS everything here should be comparable to bare metal C, but Python on a RP2350/RP2040 may be good enough and REPL does make it easy to experiment. FWIW the PIO encoders may be a solved problem, check the pico-example repo. No need to dedicate an entire core to the task if there's anything else it could be doing. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
i dont have a lot of experience with microcontollers and am looking for a platform to start with.
i am fairly experienced with physical computing on raspberry pi though.
arduino is attractive because there are a lot of resources
pico has impressive specs including 2 cores.
which to choose.
i am wondering does this library give us native c performance (or close to it)?
or is there something about the way it works that means it is not as fast?
if it has native c performance with the ability to use the arduino libraries and learning resources then its a no brainer.
i do robotics so i will be doing real time stuff such as controlling motors with encoders so performance is important.
i have heard the micropython is not up to high speed real time stuff and dont really want to go down the pio route just yet.
would love to use 1 core for reading counting ticks on encoder and do everything else in another core.
Beta Was this translation helpful? Give feedback.
All reactions