Fractal Viewer Can Zoom And Enhance Like On CSI

This fractal viewer is a great way to get your feet wet with Field-Programmable Gate Arrays. The project will give you some experience working with video output, user input, and a whole bunch of math and memory management. [Hamster] built it using the Papilio Plus board which hosts a Spartan 6 FPGA. This continues his odyssey into the realm of hardware design; part of which we looked at back in December.

The arcade Megawing for the dev board gives him easy access to the controls needed to scroll and zoom on the fractal design. Calculations to generate the shape are being run at 240 MHz, with the VGA output running at 80 MHz. The device has enough horse power and SRAM to show an 800×600 pixel output with a 60 Hz refresh rate.

We really liked the logic diagram that [Hamster] drew up when planning how the calculations would be handled. It’s not overly complex, but it took us a while to conceptualize how everything fits together. It’s certainly an improvement from his last attempt as we couldn’t make heads or tails out of that flow chart.

If you’re just interested in the pretty shapes and colors there’s a demo embedded after the break.

Continue reading “Fractal Viewer Can Zoom And Enhance Like On CSI” →

Modular Controllers You Can’t Wait To Show Off To Your Friends

Let’s get this straight, [Alex] is going to show us how to make controllers like this one? Where do we sign up? Even without seeing it in action we want one, but the urge to build is even greater after he shows it off (check the clip after the break). He’s a design student who made an open source project aimed at making it easier to build hardware controllers that pair with just about any software application.

The need for external controllers is on the rise, starting with music-based applications like DJ tools, and Midi controllers for musicians (we’re thinking Monome clones). But anything that can take input from a USB HID can be controlled with something like this. That’s because [Alex] is using the Teensy controller board as an interface. Just select the input types you want – sliders, potentiometers, buttons, switches – then wire them up to the microcontroller pins. If you start to run out of inputs he also discusses some add-on chips to use as port expanders.

Of course there’s a lot to be said for the physical appearance as well. Even though he used point-to-point connections for all of the controls, that wiring is hidden behind the aesthetically pleasing laser-cut dashboard. Follow his advice for layout and find a friend with access to a sweet laser cutter and you’re in business. Continue reading “Modular Controllers You Can’t Wait To Show Off To Your Friends” →

Custom Microcontroller Using Only A Dremel

Check out this 6-pin MSP430 microcontroller. What’s that you say? TI doesn’t make a 6-pin MSP430? True, Texas Instruments doesn’t make one, so [Greg] grabbed his Demel and a cutoff wheel, and chopped up a larger uC to arrive at this package.

It may sound a bit crazy at first, but when you think about it there’s nothing really all that special about this. The plastic package on DIP components these days is mostly empty. The silicon die which does the computing is quite small in comparison, and usually mounted in the very center of the part. [Greg] simply cut off eight of the unneeded pins (four from each end).

Well, it might be a stretch to call them unneeded since he cut the ground and voltage pins. He gets around this issue by taking advantage of the same properties of the I/O pins used in this barebones RFID tag. You can inject power through the I/O and we’d bet you could easily use this chopped-up MSP430G2211 as an RFID tag if you wanted to.

[Thanks Ian]

Matrix Backpack Was A Fun Design Project

[Greg] is really working on a small scale with his LED Matrix backpack PCB. It’s a toy that he designed as an activity. He constrained himself to a board which would exactly match the outline of an 8×8 bicolor LED matrix package.

What you see here is the side of the PCB which will be facing the underside of the LED dot matrix module. Let’s call this the top of the board. The underside has a CR2032 battery holder which provides enough juice to run the display. Since the matrix is bi-color there’s a slew of pins to drive. [Greg] uses three shift registers for the high side, and sixteen N-channel MOSFETS for the low side. He’s chosen an MSP430G2201 microcontroller which has a nice sleep mode for power conservation. It has no problem driving tri-color animations as seen the clip after the break, but also has an unpopulated clock crystal footprint if you wanted to use it as a timepiece.

Despite the small footprints and cramped board [Greg] still hand soldered all of the components. He even posted a time-lapse of the process in the page linked at the top.

Continue reading “Matrix Backpack Was A Fun Design Project” →

Numerous Quiz Buttons Built On The Cheap

[Sprite_TM] was tapped to build a rather large quiz buzzer system. Judging from his past work we’re not surprised that he seemed to have no trouble fulfilling the request. As the system is not likely to be used again (or rarely if it is) he found a way to finish the project that was both quick and inexpensive.

Each buzzer consists of a base, a button (both mechanical and electrical), and a couple of LEDs to indicate who buzzed in first. The mechanical part of the button uses a plastic bowl from Ikea and a wooden dowel surrounded by some pipe insulation. A momentary push switch is glued on the top of that dowel, and the insulation projects above that just a bit. This way it acts as a spring. The Dowel has been sized so that the bowl lip will hit the wooden base just as it clicks the switch.

As you can see, all of the buzzers are interlinked using Ethernet cable. The real trick here is how to read 14 buttons using just one CAT5 cable. This is done with the clever use of a 4×4 button matrix for a total of 16 buttons. The matrix also includes the LEDs for each buzzer. Since CAT5 has four twisted pairs this works out perfectly.

Looking for a more robust system thank this? Here’s a pretty nice one.

FPGA Snake Game Uses No VHDL At All

We’re really not supposed to start a feature like this; but this hack is awesome. It’s a game of Snake implemented by an FPGA dev board. It uses a 16×16 LED matrix as the display and an SNES controller for input. So far it sounds like a very normal version of the game. But as you start to hear how it works in the presentation after the break you fall in love with what’s going on here.

First of all, it’s not written in VHDL — the predominant programming language for FPGAs. Instead, [Darrell] used the schematic-only approach to build the logic. Okay, that’s starting to get more interesting. As he continues to explain the circuit we get to see how the control input works (pretty simple since the SNES controller uses a parallel-to-serial shift register) and how the display is multiplexed. But the actual game logic is where things really take off. Each pixel in the display has its own individual logic circuit. Basically every cell is its own processor which reacts both to what is passed into it, as well as to a random seed. That seed system is called the ‘bucket brigade’ and passes a chance to spawn a piece of food from one cell to the next. All of this together makes for one simple game that is eloquently executed. Continue reading “FPGA Snake Game Uses No VHDL At All” →

Ball-in-maze Game Shows Creativity And Classic 8-bit Sound

[M. Eric Carr] built this a long time ago as his Senior Project for EET480. It’s an electronic version of the ball-in-maze game. We’ve embedded this video after the break for your convenience.

The game has just one input; an accelerometer. If you’re having trouble visualizing the game, it works the same as this Android-based version, but replaces the physical maze and marble with a virtual maze on the graphic LCD screen. This has huge implications. Instead of just recreating the maze on the screen, [Eric] designed a multi-screen world, complete with warp blocks, which adds difficulty to  finding a solution. It also means that multiple different mazes can be played if you get tired of playing the same level.

This game also features music. A separate PIC microcontroller uses PWM to push out the 8-bit sound heard in the video. From the YouTube comments we learned that [Eric] didn’t write the music himself, but we still appreciate the playback quality he achieves with his hardware.

Continue reading “Ball-in-maze Game Shows Creativity And Classic 8-bit Sound” →