Some_RPI-Pico_stuff
Some experiments I did with the Raspberry Pi Pico (by GitJer)
rp2040pio
By soundpaint
Some_RPI-Pico_stuff | rp2040pio | |
---|---|---|
15 | 2 | |
183 | 214 | |
- | - | |
0.0 | 0.0 | |
over 1 year ago | over 2 years ago | |
C++ | Java | |
MIT License | GNU General Public License v3.0 only |
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.
Some_RPI-Pico_stuff
Posts with mentions or reviews of Some_RPI-Pico_stuff.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-07-09.
-
Best way to temporarily store a certain amount of ADC reading values in order to do averaging, but then continually delete previously values to not create a massive array of values?
You don't need to sum anything if you don't want to! If you use DMA, it can do the summing for you. Here is an example.
-
How to trigger an interrupt when pin goes stable low or high for a period of time
The problem is very similar to a combination of the button-debouncer with the pio/C++ IRQ mechanism from this rotary encoder.
- Update of my Pico pio state machine emulator
-
PIO for PWM inputs
There's an example PWM input implementation here: https://github.com/GitJer/Some_RPI-Pico_stuff/blob/main/PwmIn/PwmIn.pio which uses one state machine per input.
-
Raspberry Pi Pico schematic (and PCB) review
Just realised you were talking about PWM inputs, I had outputs on my mind. For testing I have just been counting the pulses by adding an interrupt on falling edges, but if I can treat it like a PWM input that simplifies things. Is that what you're doing here with a Hall-effect sensor?
-
What are some microcontroller companies that value hobbyists?
I needed a way to get sensor-data from an LMT-01. The pulses were too fast so Interrupts were out of the question. After some help and some fiddling around we came up with this.
- Driving led panels with pico pio sm, 16 levels of brightness, 144Hz
-
Bitbanging PS/2 first 3 bit error
The pico datasheet does a reasonably good job. And maybe you can look at some examples and explanations here.
-
Made a pulse counter for the LMT01 temperature sensor with PIO, how do I pull the last value automatically?
I have implemented pio code to measure the pulses in the pulse train as you described it (I do not have a LMT01, so I generated the pulses using another MCU). Since I do not use micropython I have made it using the C++ SDK, but if you look at the .pio file here, it should be no problem to implement it. The problem with the wrong readings only happen the very first time if the state machine starts in a pulse train.
-
Blowing out a(n) LED
Where Paul's code is rather simple and elegant, mine is rather convoluted. Why? Because I wanted to play with the DMA sniffer and a repeated timer! The DMA sniffer allows summing of all values that pass through the DMA. So, there is no need to sum the values yourself afterwards.
rp2040pio
Posts with mentions or reviews of rp2040pio.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-07-09.
-
How to trigger an interrupt when pin goes stable low or high for a period of time
PIO emulator: https://github.com/soundpaint/rp2040pio
-
A Practical Look at PIO on the Raspberry Pi Pico
Be sure to check out the RP2040 datasheet for more in-depth learning and this PIO emulator for more advanced development and debugging scenarios.
What are some alternatives?
When comparing Some_RPI-Pico_stuff and rp2040pio you can also consider the following projects:
Adafruit_CircuitPython_Bundle - A bundle of useful CircuitPython libraries ready to use from the filesystem.
pico-micropython-examples - Examples to accompany the "Raspberry Pi Pico Python SDK" book.