It seems like all the cool kids are leaving the 8-bit hobby microcontrollers in the parts bin and playing with more advanced parts like Complex Programmable Logic Devices. [Chris] is no exception to the trend, and set out to generate his own VGA signal using one of the beefy semiconductors.
It seems that he’s using the acronyms CPDL and FPGA interchangeable in his post but according to the parts list this setup uses an Altera EPM7128SLC84-7N CPLD. In order to generate the VGA signal he needed a way to convert the digital signals from the chip into the analog values called for in the video standard. He chose to build a Digital Analog Converter for the RGB color values using a resistor network which he calculated using PSpice. The other piece in the puzzle is a 25.175 MHz oscillator to clock the CPLD. As you can see after the break, his wire-wrapped prototype works exactly as designed. The example code generates the rainbow bars seen above, or a bouncing box demo reminiscent of a DVD player screen saver.
Want to know more about programming CPLDs? We did a tutorial on the subject a while back.
Continue reading “Dabbling with CPLD generated VGA signals”
[Matt’s] finishing up his computer science degree. As part of a class assignment he programmed his own sequencer which runs on a Cyclone-II FPGA development board. We’ve embedded a video below the fold that shows you what it can do. The buttons and LEDs offered on the board actually allowed him to create a nice user interface. Each slide switch has a surface mount LED above it, giving feedback for which beats in the loop are on and off. There’s also a bank of momentary-push buttons seen in blue above. [Matt] uses these to tweak settings like the pitch that is stored for each slide switch. He even puts on a light show with the VGA output.
We’ve seen this Altera board before, used to drive a falling sands game. The hardware will run you around $200 but that’s not bad considering all of the fun things you can do with it.
Continue reading “Sequencer built on a Cycle II FPGA board”
This falling sand game runs on a field-programmable gate array. The Altera Cyclone II resides at the heart of that development board, running the game which was written in Verilog. [Skyler Schneider] modeled his project after a Java version of the game called Pyro Sand Game. He treats each pixel of the 640×480 VGA screen as its own cell, following a set of rules to change the cells around it. This is very similar to Conway’s Game of Life, except that there are different categories of cells that behave uniquely (oil, water, plant, fire, etc.) and gravity is a key factor. Of particular interest to us were the rules for each cell, and the method [Skyler] used to feed and sync the VGA output. After the break you can see his demonstration videos, which walk through all of the features including the Troll button.
Continue reading “Falling sand game on an FPGA”
[ViDAR] was looking for a project to keep him occupied and settled on creating a VGA converter for his Game Boy. He had some difficulty finding pinouts for the LCD and CPU but working with what was known, and an oscilloscope, he found the necessary signal. Tap into just a few lines using those thin blue wires; Vsync, Hsync, clock, and two data pins. From there a development board with an Altera Cyclone II field-programmable gate array takes care of the heavy lifting. The board already has hardware for a VGA connection so it was just a matter of processing the incoming signals into the VGA standard. His demo video is embedded after the page break.
Want a dedicated solution? Check out this Game Boy video adapter inside a VHS cassette.
Continue reading “Game Boy VGA using an FPGA”
This is a fantastic high school project. [Shmendrik213] built and robot a programmed it to follow common traffic rules. The robot drives itself with a DC motor, using one servo for steering and another to pan a webcam back and forth. The netbook that comes along for the ride is running a VB.NET program that can detect an upcoming intersection, read the street sign, and react based on other cars currently at the intersection.
The hardware is running on an Altera processor using firmware programmed in VHDL. We remember building a tissue box holder for one of our high school projects. Looks like the times have changed since then.
[Greg] managed to clone a SEGA Genesis using a field programmable gate array. He used a Terasic/Altera DE1 board, which will set you back about $160, during development. The onboard push buttons are currently used as the controller with VGA for the display. Who knows, maybe there’s enough programming space left to drive a PSP screen and turn this into a handheld?
You can see some gameplay footage after the break. If SEGA was never your thing don’t forget that there is an NES FPGA hack out there too.
Continue reading “SEGA Genesis cloned with an FPGA”
Got a special place in your heart for Atari computing? Now you can quench that need using new hardware. The Suska project has achieved complete hardware emulation of the Atari ST using an FPGA. The project’s progress tracker shows implementation of the major chips at 100%. They are running EmuTOS, an Atari emulator, as the operating system because running the original would violate copyright. The chip used is an Altera Cyclone III. You could load up the code on your own hardware but judging from the number of connections needed it might be less of a headache to buy a board from these guys.