pico-examples
picodvi
DISCONTINUED
Our great sponsors
pico-examples | picodvi | |
---|---|---|
62 | 30 | |
2,479 | 195 | |
4.1% | - | |
4.9 | 0.0 | |
8 days ago | about 3 years ago | |
C | C | |
BSD 3-clause "New" or "Revised" License | BSD 3-clause "New" or "Revised" License |
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.
pico-examples
-
Raspberry Pico C: Remote Sensor
Navigate to the Pico Examples repository.
-
Show HN: MicroLua – Lua for the RP2040 Microcontroller
https://github.com/raspberrypi/pico-sdk/ links to a PDF about connecting to the interwebs with a pi pico.
micropython/micropython//ports/rp2/boards/RPI_PICO_W: https://github.com/micropython/micropython/tree/master/ports...
raspberrypi/pico-sdk /lib: btstack, cyw43-driver, lwip, mbedtls, tinyusb https://github.com/raspberrypi/pico-sdk/tree/master/lib
raspberrypi/pico-examples//pico_w/wifi/access_point/picow_access_point.c:
https://github.com/raspberrypi/pico-examples/blob/master/pic...
There's an iperf opkg pkg, or is it just netperf (which works with fluent)?
raspberrypi/pico-examples//pico_w/wifi/iperf/picow_iperf.c:
-
Trouble Getting NeoPixel Libraries to Compile in C
Okay I abandoned both of those libraries and tried the simpler WS2812 example in the Pico SDK and I did get it working....finally.
-
Beginner question
For C++, you could look at the pico-examples on Github https://github.com/raspberrypi/pico-examples
- So I started porting braids to the PI PICO and ended with a generative drum machine
-
Pi Pico driving an SPI display SSD1351 driver - corrupted image?
I'm sorry I don't use the pico-sdk so I'm not 100% sure of which method it'd be. A short lookup in the pico-examples repository brought me to this.
-
Compile error on Ethernet PHY module
cd ~/ mkdir pico git clone https://github.com/raspberrypi/pico-sdk.git --branch master cd pico-sdk git submodule update --init cd .. git clone https://github.com/raspberrypi/pico-examples.git --branch master cd pico-sdk git pull git submodule update cd .. git clone [email protected]:sandeepmistry/pico-rmii-ethernet.git cd pico-rmii-ethernet md build cd build export PICO_SDK_PATH=../../pico-sdk cmake ..
-
PIO Period
Do you have to use PIO for this? What is the period you are trying to measure? Could you use [this C example](https://github.com/raspberrypi/pico-examples/blob/master/pwm/measure_duty_cycle/measure_duty_cycle.c)?
-
Very slow refresh rate for ST7735
The office repository for the Raspberry Pi Pico examples has a example that implements all of this here
-
External Quad SPI pins?
The RP2040 differs from most cheap microcontrollers in that it has two CPU cores (they even threw in a programmer friendly hardware interface in the form of a pair of FIFOs (with interrupt support) and hardware spinlocks). Dedicating one of your two CPU cores to hard realtime bitbanging is a simple solution to annoying to interface with protocols, but most of the time PIO is the better solution. Using them as 1 bit wide SPI is among the simplest uses for them. The official example collection contains code doing just that: PIO SPI example code. Extending the example to transfer 4 instead of 1 bits and half duplex instead of full duplex should get you there. The PIO state machines are connected to short FIFOs and best served through DMA for high bandwidth applications. This gets you as many fast QSPI interfaces with low CPU utilisation as there are GPIO pins to map them to.
picodvi
-
FuryGpu – Custom PCIe FPGA GPU
The RP2040 is a great MCU for playing with graphics as it can bit bang VGA and DVI/HDMI. There's some info on the DVI here: https://github.com/Wren6991/PicoDVI
I wrote a couple of articles on how to do bit banged VGA on the RP2040 from scratch: https://gregchadwick.co.uk/blog/playing-with-the-pico-pt5/ and https://gregchadwick.co.uk/blog/playing-with-the-pico-pt6/ plus an intro to PIO https://gregchadwick.co.uk/blog/playing-with-the-pico-pt4/
-
Video Game Module for Flipper Zero
A few years back someone was bit banging DVI and 720p 30fps video straight off the RP2040 GPIO pins with just inline resistors between not and the HDMI cable.
-
VGA driver using PIO and DMA on the RP2040
I have the Adafruit DVI board and have been hacking on it some. It's more fun than should be allowed.
There's a project to get this running using Rust[1]. Currently it outputs the blue channel with sync, but has trouble with the other two channels. I don't have a hardware lab with scope, logic analyzer, etc., so it's not easy for me to debug.
In the meantime, I've been doing some experiments in the C codebase as well[2], mostly in the direction of proportionally spaced bitmap text, using the fonts in the X11 distribution.
-
Recommend MCU with dual USB - one host and one device IF?
There is even bit-banged DVI library for pico.
-
Show HN: PicoVGA Library – VGA/TV Display on Raspberry Pi Pico
Apparently, there is a digital video output project for the RP2040 already out there [0]! As for why digital video is more rare, it is because the common digital video formats are higher bandwidth and require higher signal integrity.
-
Has anyone created a graphics card/engine?
I have seen Micro controllers bit bang HDMI https://github.com/Wren6991/picodvi
-
My newest project: Dedicated blinkenlights for your rack.
Its a great chip all around. 133Mhz Dualcore M0+ and it has 5 programmable state machines. With those it punches way above its weight. Here is a very interesting dvi project for the pico
-
RP2040 Doom
FWIW, it's possible to bit-bang DVI at 640x480 on the 2040. Takes about half of the available resources:
-
Microcontroller VGA Interface Projects
The RP2040 (as used by the Raspberry Pi Pico) can generate some impressive video thanks to its PIO. E.g. Luke Wren's work giving DVI output https://github.com/Wren6991/picodvi and the scanvideo library: https://github.com/raspberrypi/pico-playground
I did a write up going over how to generate VGA video from scratch to produce some SNES like graphics:
-
A Closer Look at Raspberry Pi RP2040 Programmable iOS (PIO)
> HDMI is a 10Gbps port.
> The PIO ports discussed here are on the order of 100kHz
PIO runs at the system clock, 125 MHz by default, overclocks of over 400 MHz have been reported stable. A single PIO can clock out 32 bits every cycle (with a DMA and a memory system that can feed this), giving you a total of 4 Gbps.
Running at full throttle like that, especially for a decent length of time is tricky if you want to actually do anything other than blast out bits but 16 or 8 bits per cycle is a lot more straight forward, so 2 or 1 Gbps.
DVI output has already been demonstrated, running two displays at 480p: https://github.com/Wren6991/picodvi
The DVI is maybe more of a party trick than something you'd do in production hardware but it does demonstrate how capable the PIO can be. You could happily implement the same concept in a more performant device and reach 10 Gbps or more in a reasonable way.
What are some alternatives?
qmk_firmware - Open-source keyboard firmware for Atmel AVR and Arm USB families
pico-sdk
pico-playground
Pico-Game-Controller - Raspberry Pi Pico Firmware for a SDVX or IIDX controller setup. Supports 11 buttons, 10 LEDs, 1 WS2812B strip, and 2 encoders.
qmk_firmware - See the "forkreadme" branch or the following link for a description of branches maintained in this fork.
ch32v307 - Including the SDK、HDK、Datasheet of RISC-V MCU CH32V307 and other relevant development materials
Arduino_STM32 - Arduino STM32. Hardware files to support STM32 boards, on Arduino IDE 1.8.x including LeafLabs Maple and other generic STM32F103 boards
Arduino_Core_STM32 - STM32 core support for Arduino
Adafruit_CircuitPython_HID - USB Human Interface Device drivers.
makeEspArduino - A makefile for ESP8266 and ESP32 Arduino projects
wg - Coordination repository of the embedded devices Working Group