“The Thing”: A Homemade FPGA Board

The Thing is an unassuming name for an ambitious project to build an FPGA board from easy to find components.

The project stems from an earlier build submitted to the 2018 Hackaday Prize by [Just4Fun] where two dev boards – an STM32-based Arduino and an Altera MAX II CPLD board – were combined with the Arduino used as a stimulus generator for the CPLD. This way, the Arduino IDE, interfaced through USB, can be used for programming the CPLD.

The Thing similarly uses the STM32 Arduino as a companion processor for the FPGA, with a 512KB SRAM and common I/O for GPIOs and a PS/2 keyboard for running HDL SOCs. It can also run Multicomp VHDL SOCs, a modular design that was made to run some older 8-bit CPUs made by [Grant Searle].

The FPGA (EP2C5T144C8N) uses the Quartus II IDE for configuration with a USB Blaster dongle through the JTAG or AS connector. The FPGA side controls a 4 digit seven segment LED display, four push buttons, 3 LEDs, a push button to clear all internal FFs (sampling rates), a push button to force a reboot (configuration reload), and a switch to force all pins to Hi-Z mode. Both an onboard 50MHz oscillator and connector for an external oscillator are also present on the FPGA side.

In one demo of the MP/M system capability of the board, The Thing was made to handle four concurrent users with one serial port connector to a PC and terminal emulator and the other serial ports connected to terminal emulators on VT100 boards routed through a dual-channel RS232 adapter board.

Both the Arduino and FPGA sides can also be used as standalone boards, but why use one when you can harness both boards together?

Continue reading ““The Thing”: A Homemade FPGA Board”

Upgrading A MIDI Controller With An FPGA

While the “M” in MIDI stands for “musical”, it’s possible to use this standard for other things as well. [s-ol] has been working on a VJ setup (mixing video instead of music) using various potentiometer-based hardware and MIDI to interface everything together. After becoming frustrated with drift in the potentiometers, he set out to outfit the entire rig with custom-built encoders.

[s-ol] designed the rotary-encoder based boards around an FPGA. It monitors the encoder for changes, controls eight RGB LEDs per knob, and even does capacitive touch sensing on the aluminum knob itself. The FPGA communicates via SPI with an Arduino master controller which communicates to a PC using a serial interface. This is [s-ol]’s first time diving into an FPGA project and it looks like he hit it out of the park!.

Even if you’re not mixing video or music, these encoders might be useful to any project where a standard analog potentiometer isn’t accurate or precise enough, or if you just need something that can dial into a specific value quickly. Potentiometers fall short in many different ways, but if you don’t want to replace them you might modify potentiometers to suit your purposes.

Continue reading “Upgrading A MIDI Controller With An FPGA”

Who Could Possibly Need An FPGA With 9M Logic Cells And 35B Transistors?

Xilinx recently announced the Virtex UltraScale+ VU19P FPGA. Of course, FPGA companies announce new chips every day. The reason this one caught our attention is the size of it: nearly 9 million logic cells and 35 billion transistors on a chip! If that’s not enough there is also over 2,000 user I/Os including transceivers that can move around 4.5 Tb/s back and forth.

To put things in perspective, the previous record holder — the Virtex Ultrascale 440 — has 5.5 million logic cells and an old-fashioned Spartan 3 topped out at about 50,000 cells — the new chip has about 180 times that capacity. For the record, I’ve built entire 32-bit CPUs on smaller Spartans.

That led us to wonder? Who’s buying these things? When I first heard about it I guessed that the price would be astronomical, partly due to expense but also partly because the market for these has to be pretty small. The previous biggest Xilinx part is listed on DigKey who pegs the Ultrascale 440 (an XCVU440-2FLGA2892E) at a cost of $55,000 as a non-stocked item. Remember, that chip has just over half the logic cells of the VU19P.

Continue reading “Who Could Possibly Need An FPGA With 9M Logic Cells And 35B Transistors?”

Smoothieboard Gets An Ambitious Update For V2

If you’ve been reading Hackaday for awhile, there’s an excellent chance you’ve seen a project or two powered by the Smoothieboard. The open source controller took Kickstarter by storm in 2013, promising to be the last word in CNC thanks to its powerful 32-bit ARM processor. Since then we’ve seen it put to use in not only the obvious applications like 3D printers and laser cutters, but also for robotic arms and pick-and-place machines. If it moves, there’s a good chance you can control it with the Smoothieboard.

But after six years on the market, the team behind this motion control powerhouse has decided it’s time to freshen things up. The Kickstarter for the Smoothieboard v2 has recently gone live and, perhaps unsurprisingly, already blown past its funding goal. Rather than simply delivering an upgraded Smoothieboard, the team has also put together a couple “spin-offs” targeting different use cases. If Smoothie v1 was King of CNC boards, then v2 is aiming to be the Royal Family.

Smoothieboard v2-Prime with breakouts

The direct successor to the original board is called v2-Prime, and it’s everything you’d expect in an update like this. Faster processor, more RAM, more flash, and improved stepper drivers. There’s also available GPIO expansion ports to connect various breakout boards, and even a header for you to plug in a Raspberry Pi. If you’re looking to upgrade your existing Smoothieboard machines to the latest and greatest, the Prime is probably what you’re after.

Then there’s the v2-Mini, designed to be as inexpensive as possible while still delivering on the Smoothieboard experience. The Mini has the same basic hardware specs as the Prime, but uses lower-end stepper drivers and deletes some of the protection features found on the more expensive model. For a basic 3D printer or laser cutter, the Mini and its projected $80 price point will be a very compelling option.

In the other extreme we have the v2-Pro, which is intended to be an experimenter’s dream come true. It features more stepper drivers, expansion ports, and even an integrated FPGA. Realistically, this board probably won’t be nearly as popular as the other two versions, but the fact that they’ve even produced it shows how committed the team is to pushing the envelope of open source motion control.

Our coverage of the original Smoothieboard campaign back in 2013 saw some very strong community response, with comments ranging from excited to dismissive. Six years later, we think the team behind the Smoothieboard has earned a position of respect among hackers, and we’re very excited to see where this next generation of hardware leads.

Continue reading “Smoothieboard Gets An Ambitious Update For V2”

Handmade LED Cube Is A Work Of Art

We see all kinds of projects come across the news desk at Hackaday. Sometimes it’s a bodge, neatly executed, that makes us laugh out loud at its simple ingenuity. Other times, it’s a case of great skill and attention to detail, brought to bear to craft something of great beauty. [Greg Davill]’s LED cube is firmly the latter.

The matte black finish makes the artwork really pop. Note the matrix of tiny pads for the LEDs on the backside.

The build starts with custom four layer PCBs, in matte black with gold-plated pads. It’s a classic color scheme, and sets the bar for the rest of the project. Rather than proceeding to hook up some commodity microcontrollers to off-the-shelf panels, [Greg] goes his own way. Each PCB gets a 24×24 raw LED matrix, directly soldered on the back side. By producing a “dumb” matrix, there are large savings in current draw to be had over the now-popular smart strings.

The panels are then loaded into a tidy 3D printed cube, with space inside for the FPGA running the show and a power supply. Five panels are held in with double sided-tape and screws, with the last being installed with magnets to allow access to the inside. Neatly folded flat-flex cables are pressed into service to connect everything up.

It’s a build that shows there is value in doing things your own way, and that the new methods don’t always beat out the old. With careful consideration of aesthetics from the start to the end of the project, [Greg] has built an LED cube both astounding in its simplicity, and beautiful in its execution. We’ve seen [Greg]’s work before, too – it’s not too often hand soldered BGAs cross these pages. Video after the break.

Continue reading “Handmade LED Cube Is A Work Of Art”

This LED Cube Is One Heck Of An ICEBreaker

Like the tastes of the makers that build them, LED cubes come in all shapes and sizes. From the simplest 3x3x3 microcontroller test, to fancier bespoke installations, they’re a great way to learn a bunch of useful embedded techniques and show off at the same time. [kbob] has done exactly that in spades, with a glittering cube build of his own and published a repository with all the files.

Just like a horde of orcs from Mordor, [kbob]’s cube is all about strength in numbers. Measuring 136 mm on each side, it’s constructed out of 64 x 64 P2 panels, packing 4096 LEDs per side, or 24,576 total. A Raspberry Pi is used to run the show, allowing a variety of animations to be run. Unfortunately, it lacks the raw horsepower to run this many LEDs at a decent frame rate. Instead, it’s teamed up with an ICEBreaker FPGA, which can churn out the required HUB75 signals for the panels without breaking a sweat.

Thanks to the high density of tiny LEDs, and the smooth framerate of the animations, the final effect is rather gorgeous. [kbob] notes that there’s actually a lot of people working on similar projects with ICEBreaker muscle; a recent video from [Piotr] is particularly impressive.

The LED cube will likely remain a staple for sometime, and we can’t wait to see what comes out next from the community. You can even throw in some OpenGL if you wanna get fancy. Video after the break.

Continue reading “This LED Cube Is One Heck Of An ICEBreaker”

LED Driver Board Could Be Your Ticket To FPGA Development

Microcontrollers are a great way to learn about developing for embedded systems. However, once you outgrow their capabilities, FPGAs bring muscle that’s hard for even the fastest-clocked micros to match. If you’re doing anything with high-speed signals, loads of RAM, or something that requires lots of parallel calculation, you can’t go past FPGAs. Dev boards can be expensive, but there are alternatives. There’s a nifty project on Github trying to repurpose commodity hardware into a useful FPGA development platform.

Chubby75 is a project to reverse engineer the RV901T LED “Receiver Card”. This device is used to receive signals over Ethernet, and clock data out to large LED displays. This sort of work is highly processor intensive for microcontrollers, but a cinch for FPGAs to manage. The board packs a user-reprogrammable Spartan 6 FPGA, along with twin Gigabit Ethernet ports and 64MB of SDRAM. Thanks to the fact that its firmware is not locked down, it has the potential to be repurposed into all manner of other projects. The boards are available for under $30 USD, making them a prime target for thrifty hackers.

Thus far, the team have begun poring through the hardware documentation and are looking to develop a toolchain to allow the boards to be easily reprogrammed. With the right tools, these boards could be the next thing in cheap FPGAs, taking over when the Pano Logic thin clients become thin on the ground.

[Thanks to KAN for the tip!]