Main product image for Brainfuino
Product image 1 for Brainfuino
Product image 2 for Brainfuino
Product image 3 for Brainfuino
Product image 4 for Brainfuino
Product image 5 for Brainfuino
Product image 6 for Brainfuino
Product image 7 for Brainfuino
Product image 8 for Brainfuino
Product image 9 for Brainfuino
FPGA based dev board that runs brainf*ck in hardware
Prototyping
Retrocomputing
FPGA

Brainfuino

Sold by Matthew's Hobbies

$50.00

No tax for United States [change]
Stock available: 7
Check
Ships from United States
This product ships from your country, so you don't have to worry about import fees or tariffs.
Original Design
This product was designed by Matthew's Hobbies. By buying this product your support original hardware creators.

You may have seen the Brainfuino hackaday project released during covid in 2021. Originally created by Eduardo Corpeño, it's a programming board that runs the esoteric programming language Brainfuck completely in hardware. The language is extremely minimal, with just 8 characters, yet it is entirely Turing complete. When uploading code to the Brainfuino, there is no conversion or compression, the ascii brainfuck characters are saved into rom exactly as they are written. Programming in Brainfuck is difficult, hilarious, and rewarding, and doing it with Brainfuino is even better.

There are two processors on the Brainfuino, the actual Brainfuck based soft processor implemented in hardware on the Lattice FPGA, and the STM32 which makes the whole thing user "friendly". Since the FPGA is configured basically as an old fashioned Harvard CPU, instructions move through the soft processor in a continuous stream of parallel bits, these flash into and out of existence, and the STM32 is there to catch them and serialize them so you can use it with a modern PC instead of an ancient parallel based terminal interface. The FPGA does all the hard work here though. When programs are run, all the output is being generated real time in hardware via the FPGA. The FPGA reads bytes of data from good old parallel flash program memory, and when it encounters bytes representing one of the 8 ascii characters used in Brainfuck it executes that with its built in soft processor based instruction set accoding to the character. Since its a harvard style cpu, it also uses parallel based RAM to read and write data to and from for computation purposes. The STM32 uses its hardware timer to drive a clock pin to the FPGA at speeds from 500 khz up to 12 mhz. You may wonder if the STM32 is overkill, and your curiosity is valid, it probably is overkill, but by leveraging a separate microcontroller for these quality of life improvements, it allows the Brainfuck soft processor implemented in Verilog on the Lattice FPGA to remain pure and stay true to its purpose to compute Brainfuck. We leave the rest to the STM32: Usb communication, parallel to serial conversion, program memory flushing and prep, variable clock speed control, and a basic terminal interface (upcoming).

As to answer the question of why? Well: The challenge. And to quote the original author Eduardo Corpeño, with the Brainfuino you get "bragging rights for writing code that works! You certainly won't get that from the Arduino."

My revision 1.1 of the Brainfuino has:

  • Improved clock routing to the FPGA soft processor using an FPGA pin optimized for clock input rather than a generic GPIO
  • Proper VBus to 3.3v connection on the STM32 increasing STM32 clock stability
  • JLCPCB compatible parts list and reduced cost by switching to prestocked "basic" components.
  • USB C!
  • A nifty 3D printed case
  • KiCAD design files (migrated from the original Autodesk Eagle)

This project's documentation is a work in progress, so stay tuned as the docs are improved.

See the original demo video:

Links to code and documentation

Documentation (archibald.top)

Code (github.com)

Design Files (github.com)

Schematics (github.com)

Bom (github.com)

Shipping policy

Please allow 2-3 business days for packages to ship. I do my best to get items out asap, but as this is my hobby, the time I have varies and sometimes it can take a couple days.

The seller

Matthew's Hobbies

Matthew's Hobbies logo

Hillsboro, Oregon, United States
0 orders since Feb 22, 2026
I have various projects and sometimes I list my extra units for sale!