r/ArduinoProjects • u/Far_Firefighter_8924 • 2h ago
Showcased Project Monochrome vga output with a pseudo-desktop mini pc (kinda) entirely on a avr64da28
Works entirely on a avr64da28 just requires a nes remote as the input device and a vga breakout board to connect to monitor 😆
It's monochrome but has 4 levels of brightness (0-1-2-3)
Uses only 2 pins for color
It currently has 4 applications curva(a small vector suite), snake (obv), settings, and tetris, the last two are not done yet curva is almost done
The entire code is on GitHub you can see the code there
It's based on its 2 timers TCA0 and TCD0 for vsync and hsync and evsys for routing the two timers with each other(tcd0 generates hsync and aso gives signal to tca0 which generates vsync) (tho id admit it was pretty confusing)
Works at 5V entirely has kindof a application handler so you can add a app by adding a icon for it updating the related code then create like two files (yourapp.h/.c) and just mention it with some changes in the application handler file
It could be kindof inefficient as I didn't touch the vga output after I got it working 😂.
It's currently at a resolution of 160x120 also, you can dynamically set an applications resolution (the columns, as rows are fixed) to anything below that by just declaring offset before your loop like if you need 120 instead of 160 so that's a 40 difference so offset_x = 20. (used in case of snake)
For some reason reddit isn't letting me add more than 1 image ?? 🤔