pimoroni-pico
crates.io
Our great sponsors
pimoroni-pico | crates.io | |
---|---|---|
25 | 661 | |
1,202 | 2,796 | |
3.7% | 2.1% | |
8.9 | 10.0 | |
4 days ago | 4 days ago | |
C | Rust | |
MIT License | Apache License 2.0 |
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.
pimoroni-pico
-
Family Photos vs 256 Kb RAM
It takes some time to decode, but I can grab- for example- this 259k JPEG: http://placekitten.com/3840/2160
And display it from the microSD card with this code: https://gist.github.com/Gadgetoid/0b8e352e377135d743338c9483...
As more or less demonstrated by this example: https://github.com/pimoroni/pimoroni-pico/blob/main/micropyt...
Decoding is done via Larry Bank's JPEGDEC: https://github.com/bitbank2/JPEGDEC
It uses roughly 20k RAM to provide the necessary buffers both for decoding JPEGs into blocks which are passed to a drawing routine that handles copying the data into the display RAM buffer (on our larger Inky display this is backed by PSRAM). I don't believe there's a hard limit to the size of the JPEGs you can display. The main bottlenecks are decoding time and the relatively limited scaling options: FULL, HALF, QUARTER, EIGHTH.
This aside, the authors solution is actually quite elegant. As long as you have control over the image pipeline there's no real reason to encumber the device with handling large (both in bytes and pixel dimensions) files. You'll also get much better dithering results writing your own routine to convert files from JPG to the raw 4-bits per pixel format for the display. Our built-in dithering is just a plain ordered dither matrix and, while quaint and retro, it leaves much to be desired visually.
If you're trying to use a public API you can also make GitHub actions automate the whole image conversion process and publish the results to GitHub pages. This works great for, for example, the daily XKCD, serving both to reformat the strip for the display, credit the author, extract the "alt" text and avoid excess requests to the origin. Eg: https://pimoroni.github.io/feed2image/xkcd-800x480-daily.jpg. Though the astute will notice I still opted for jpeg in this case.
-
Ask HN: Getting started with DIY programming of electronics
I've done a lot of programmable LED projects (keyword Neopixel or WS2812) and by far my favorite hardware has been this little raspberry pi pico board that takes care of the power requirements for you, a USB-C cable can supply 3 amps, powering one or two hundred LEDs with ease. There's lot of Arduino boards that let you program a few neopixels, but supplying power for lots of them is usually the annoying part.
https://shop.pimoroni.com/en-us/products/plasma-2040
https://github.com/pimoroni/pimoroni-pico/tree/main/micropyt...
-
Sony backs Raspberry Pi with fresh funding, access to A.I. chips
https://shop.pimoroni.com/collections/pico is the pi version of that.
I'm still not sure why the BBC went down the route of making its own platform when adapting the arduino world would have been simpler and more effective. Still its good to see that the BBC is doing computing again.
-
Pico I2C problem with SCD41 sensor
I have a problem with an I2C connection to a SCD41 sensor (Pimoroni Breakout). The strange thing is: The example provided by Pimoroni works perfectly fine.
-
Pico KuCoin Trader gadget - I spent too long on the UI and forgot I need memory for the API and important code. Not sure how to rescue the project, or I'm just asking too much from the Pico?
But I'm using the https://github.com/pimoroni/pimoroni-pico firmware with the PicoGraphics module. There doesn't seem to much documentation about compiling their version (except the c version?)
- Static Image on a 0.96inch display
- Not much Pi, but it has a RP2040 on board - Waveshare Round LCD
-
Pico W and RGB matrix 64x64 project help
I used the Pimoroni Micropython and the clock.py here.
- Can you use a real computer to replace a Raspberry Pi?
-
Remember to say no to walled garden/non-modular stuff
However you'll find that the file you have linked includes breakout_sgp30.hpp which in turn includes drivers/sgp30/sgp30.hpp which you can find here: https://github.com/pimoroni/pimoroni-pico/tree/main/drivers/sgp30
crates.io
-
Rust Keyword Extraction: Creating the YAKE! algorithm from scratch
All the code discussed in this article can be accessed through this repository. For integration with existing projects consider using keyword_extraction crate available on crates.io.
-
Migrating a JavaScript frontend to Leptos, a Rust framework
So, be sure to double-check your critical libraries and be sure their alternatives exist in the Rust ecosystem. Thereβs a good chance the crates you need are available in Rust's crates.io repository.
-
Learning Rust: A clean start
The previous section was very simple, this section is also very simple but introduces us to cargo which is Rust's package manager, as a JS dev my mind goes straight to NPM.
-
#2 Rust - Cargo Package Manager
Now, there has to be a place where all these packages come from. Similar to npmjs registry, where all node packages are registered, stored and retrieved, Rust also has something called crates.io where many helpful packages and dependencies are registered.
-
Rust π¦ Installation + Hello World
Before proceeding, let's check https://crates.io/, the official Rust package registry.
-
Underestimating rust for my Project.
The most thrilling aspect has been the joy of writing the backend. It's like every struct, enum, and method in Rust forms this interconnected Multiverse of code , which you can see in crates.io which is best Documentation experience I Ever Had.
-
Top 10 Rusty Repositories for you to start your Open Source Journey
5. Crates.io
-
Project Structure Clarification Coming From Python - With Example
When using crates from eg. crates.io, and also things like std and core
-
Cargo has never frustrated me like npm or pip has. Does Cargo ever get frustrating? Does anyone ever find themselves in dependency hell?
Vendoring your packages was very tedious to even remotely get to work with Cargo. I spent a very long time getting Cargo to work together with cargo-local-registry. We vendor crates from crates.io and a custom internal registry.
-
How did I need to know about feature rwh_05 for winit?
So this is my question: Which way was the right to find it out? There is no info about this feature on crates.io. I also have no clue what exactly it does and why it is named rwh_05.
What are some alternatives?
yocto-8 - A (WIP) PICO-8 cartridge runner for the Raspberry Pi Pico
docs.rs - crates.io documentation generator
badger2040 - Sample code I used to design my badge for events to share information with attendees
plotters - A rust drawing library for high quality data plotting for both WASM and native, statically and realtimely π¦ ππ
microphone-library-for-pico - Capture audio from a microphone on your Raspberry Pi Pico or any RP2040 based board. π€
Cargo - The Rust package manager
BME280_SensorAPI - Bosch Sensortec BME280 sensor driver. To report issues, go to https://community.bosch-sensortec.com/t5/Bosch-Sensortec-Community/ct-p/bst_community
trunk - Build, bundle & ship your Rust WASM application to the web.
wizio-pico - Raspberry Pi Pico development platform for PlatformIO
gtk4-rs - Rust bindings of GTK 4
pico-composite8 - Raspberry Pi Pico NTSC 8-bit Composite Video output using Resistor R2R DAC, interlaced at 640x480, with slideshow on second core.
Rocket - A web framework for Rust.