This small Area Invaders sport runs on an Arduino Nano with a salvaged CRT show
July sixth, 2022—
Rob Cai over on Instructables has created his personal model of the traditional online game Area Invaders utilizing an Arduino Nano. Nonetheless, not like most different initiatives that might sometimes incorporate some sort of LCD or OLED display, he selected to make use of a small black and white cathode ray tube (CRT) show recovered from an previous video intercom system.
As his first step, Cai wanted to find the analog-only video enter on the salvaged display in addition to discover its rated provide voltage. From right here, he constructed a really minimalistic tiny arcade cupboard out of cardboard and used sizzling glue to affix the panels collectively. However earlier than he might assemble something, Cai wrote his port of Area Invaders by designing a number of sorts of 2D sprites and loading them into just a few arrays. Outputting a video sign was achieved through using the TVout library, which takes an array of pixels and writes them sequentially to the designated RCA video output pin, in addition to syncing every body with a secondary pin.
The controls for the sport are comprised of 5 buttons, with 4 on the left for transferring in a sure course, and the final one on the fitting for firing the participant’s laser upwards. For extra details about how Cai constructed this mini Area Invaders arcade cupboard, you may learn his information right here or watch the demo video under!