Hello FPGA and Arcade games fans! A couple of weeks ago we posted about how to play the Snake game on your FPGA in fore easy steps, our community member mkarlsson was not totally satisfied with the amount of FPGA resources the Verilog code uses and decided to rewrite the game to make it use less resources and now it even fits an LX9 based board like Papilio Pro or Duo with a VGA wing:
The GadgetFactory blog page has this story about the snake game written in Verilog so I decided to take a look at it. Sadly to say it’s pretty much a textbook example of how not to write HDL code. However, this idea seemed pretty cool so I decided to do an almost complete rewrite of the code (basically the only thing left from the original code is the VGA controller) while still keeping all the functionality of the original code. The new version uses about a 1/4 of the FPGA resources compared to the original code when compiled for Spartan6 and it now fits an LX9.
Over in the forums Ken Boak, James Bowman, and myself have been playing with a prototype shield (codename Evita) using the EVE FT812 chip and the Papilio DUO. Ken developed a nice board and James has been able to overclock the thing to output a nice crisp 1024×768 resolution through a VGA connector. Things have been coming along so nicely we have to ask ourselves, could this be the birth of the Gameduino 3? Do people want a Gameduino 2 with VGA output at 1024×768 resolution? If so then please drop by the forum and join the discussion, let us know what you like about the design and what you would like to see added to make it the perfect board for your needs. We’ve already broken the design down to it’s individual sections in the forum and would love your feedback!
If right now you are kind of what is this guy talking about? Then you should check this and learn one of the almost infinite applications of a Papilio Pro.
Today, we bring an article that explains one use for your brand new Papilio Pro Logic Analyzer. This is to capture the communication via I2C between a Bus Pirate and the fuel gauge chip on the Fuel Tank BoosterPack.
Thanks to the work developed by a group of students at Cornell University, all you would need to do is to paint the tip of your finger in Red. This is not to fake that you are shooting that much that your finger is burning. This is because their project is based on this color. Feel free to adapt it to you likes as it is all open source.
This article presents a thorough description of their work. Read it to learn how you can use the power of an FPGA´s parallel processing to build your own shooters game.
All you need is a video camera to capture the movement of your hand and then output the NTSC signal that is processed by the FPGA board (like a Papilio). Finally, the VGA controller will output the signal to the VGA monitor. Otherwise you wouldn´t know where to shoot!
Oh! And of course, you need to read this and thank the Cornell guys for their great work!
Nowadays, you may be fed up of Star Wars jokes, baits and so on. I am sorry, I could not resist the temptation.
Anyway, this time, at least, was not a joke nor a lie. Today´s article brings the real truth to you. If you want to build your own robot, as simple as you want it to be, the first step should be to learn about controlling a DC motor! Now it does not sound as funny as watching the results achieved by the Dark Side´s Army. You may be wrong because this tutorial is everything but boring.
Very easy to read, this step-by-step article presents all you need to learn to properly understand how to control a DC motor just with your FPGA (yes you can use your Papilio). All you need is outlined and well explained (the code needed is given…). There are also some easy to understand physics explanations so you will get to understand the real ins of this project.
Do not miss this tutorial and be ready to get hired by The Dark Side!
Not long ago we published an article about using an Arduino UNO as a logic analyzer. As it couldn´t be otherwise, you can also do the same with a Papilio. And guess what? The Papilio-based logic analyzer is more powerful. No hype, just real numbers. You can achieve 32 channels, at 200 MHz, while you can only get up to 4 MHz with the Arduino UNO.
Fine, we have to admit that there might be a minor drawback. Papilio works with signals at 3.3 V. Easy to solve, all you need to do is add a level translator and then you are ready to play with 5V signals as well!
Enjoy this great tutorial and have fun with your logicanalyzer. Read the full article and you will know why you can make such a great logic analyzer from your Papilio!
In this tutorial you will learn how to use the PWM outputs of your Papilio FPGA board. For this particular step-by-step article, we have connected a button LED Wing to Wing slot AL. Basically you will be able to write a sketch that uses a PWM on any pin.
We have only used 6 pins of the 48 available! Imagine what you could control with 48 pins…
You can create your own circuit according to your goals, but in this tutorial we use the pre-existing one.
Using the flex pins adds extra freedom to move around with the code.
This is a very easy to understand tutorial but yet it is powerful on its content. Make sure you don´t missthis and overall, watch the video and enjoy the blinking lights!
There are tons of ways of creating a home-made microcontroller. Today we present a very detailed tutorial on how to achieve this using the rotary encoder from the scroll button of a mouse.
This is part 5 of a series. The goal here is to achieve a constant frequency signal at the output of the Papilio Pro and be able to vary the duty cycle just turning the wheel of the mouse. The other parts of the series would teach how to wire the whole circuitry as well as how to capture the encoder info for the different modules. Have fun!