A shift register is all you’ll want to construct an Arduino Nano-based retro pc

[ad_1]

A shift register is all you’ll want to construct an Arduino Nano-based retro pc

Arduino Staff — April fifth, 2024

In case you’ve ever tried to provide an analog video sign with an Arduino, then that it isn’t straightforward. That’s a bit counterintuitive should you consider analog video as “outdated” and assume that producing an analog video sign could be trivial with our highly effective fashionable {hardware}. However there are numerous methods wherein analog alerts are tough and that’s very true if you’d like one thing like VGA output, which requires very exact timing. That’s why it’s so spectacular that Slu4 was capable of construct this retro pc with simply an Arduino Nano and a shift register.

This was no easy feat and it actually showcases Slu4’s programming prowess. His creation can output 320×200 decision VGA video whereas studying PS/2 keyboard inputs, with sufficient processing energy leftover to deal with fundamental online game logic and graphics. He demonstrates that with a Tetris­-like video games that runs very easily. And Slu4 says that it’s even doable so as to add 16 colours per row, although he doesn’t present that in motion.

Slu4 first achieved an analogous consequence a number of years in the past, however that required a number of IC (Built-in Circuit) chips. This model solely wants one: a regular 74HC166 shift register. That helped him overcome among the challenges associated to VGA timing, which the Nano’s ATmega328 microcontroller can simply barely sustain with. This did necessitate some low-level programming to maximise effectivity, however Slu4 was capable of pull it off. Much more spectacular, he was capable of learn PS/2 keyboard enter on the similar time so the participant can management the sport. 

You may comply with any responses to this entry by way of the RSS 2.0 feed.
You may depart a response, or trackback from your personal website.

[ad_2]

Supply hyperlink

Samsung Galaxy Watch FE is on the way in which

ORGANIC FOOD AND PROTECTING THE ENVIRONMENT