Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/terjekbela/rgbargy
VGA driver lib for arduino rp2040/rp2350
https://github.com/terjekbela/rgbargy
arduino pico rp2040 rp2350 vga
Last synced: about 1 month ago
JSON representation
VGA driver lib for arduino rp2040/rp2350
- Host: GitHub
- URL: https://github.com/terjekbela/rgbargy
- Owner: terjekbela
- License: mit
- Created: 2024-11-17T23:36:33.000Z (about 2 months ago)
- Default Branch: master
- Last Pushed: 2024-11-21T16:16:32.000Z (about 1 month ago)
- Last Synced: 2024-11-21T16:31:57.880Z (about 1 month ago)
- Topics: arduino, pico, rp2040, rp2350, vga
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# RGBargy - a VGA display library for Arduino and RP2* microcontrollers
This is an arduino library providing a display-driver using the VGA protocol for the RP2* family of microcontrollers. The goal of this library is to provide an easy way to drive a relatively low-res vga screen from directly the arduino framework, and not having to install the pico development environment.
## Hardware connections / pinout
| RP2040 GPIO pin | VGA connector pin |
|-----------------|-------------------|
| GPIO 4 | Horizontal sync |
| GPIO 5 | Vertical sync |
| GPIO 6 | Red (w/330R) |
| GPIO 7 | Green (w/330R) |
| GPIO 8 | Blue (w/330R) |
| GND | GND |## VGA timings for popular resolutions and refresh rates
| Resolution | Refresh rate | Pixel freq | Horizontal | | | Vertical | | |
|------------|--------------|-----------:|----------------:|---------------:|---------------:|---------:|-----:|-----:|
| | | | front
porch | sync
pulse | back
porch | front | sync | back |
| | | | front
porch | sync
pulse | back
porch | front | sync | back |
| 640x480 | 60 Hz | 25.175 MHz | 16 | 96 | 48 | 11 | 2 | 31 |
| 640x480 | 72 Hz | 31.500 MHz | 24 | 40 | 128 | 9 | 3 | 28 |
| 640x480 | 75 Hz | 31.050 MHz | 16 | 96 | 48 | 11 | 2 | 32 |
| 640x480 | 75 Hz | 31.050 MHz | 32 | 48 | 112 | 1 | 3 | 25 |
| 800x600 | 56 Hz | 38.810 MHz | 32 | 128 | 128 | 1 | 4 | 14 |
| 800x600 | 60 Hz | 40.000 MHz | 40 | 128 | 88 | 1 | 4 | 23 |
| 800x600 | 72 Hz | 50.000 MHz | 56 | 120 | 64 | 37 | 6 | 23 |
| 800x600 | 75 Hz | 49.500 MHz | 16 | 80 | 160 | 1 | 2 | 21 |
| 800x600 | 85 Hz | 56.250 MHz | 32 | 64 | 152 | 1 | 3 | 27 |
| 1024x768 | 60 Hz | 65.000 MHz | 24 | 136 | 160 | 3 | 6 | 29 |
| 1024x768 | 70 Hz | 75.000 MHz | 24 | 136 | 144 | 3 | 6 | 29 |
| 1024x768 | 75 Hz | 78.750 MHz | 16 | 96 | 176 | 1 | 3 | 28 |
| 1024x768 | 85 Hz | 94.500 MHz | 48 | 96 | 208 | 1 | 3 | 36 |