DUO Decimal – A Minimalist Single Board Computer

duodecimal

If you’ve ever struggled to fit your program into the RAM and ROM of a small micro, you’ll appreciate [Jack’s] creation, the DUO Decimal. DUO Decimal is a small single board computer running on an Atmel ATtiny84. The ’84 has 8KB flash memory, 512 bytes of SRAM, and 512 bytes of EEPROM. Not as bad as a the old days, but still tight by today’s standards.

User input to the DUO Decimal is through two buttons. Output is via a 7 segment numeric LED display. Not the easiest for typing in long programs, but on par with the switches and blinkenlights of the past. 3 bits of GPIO are available for connections to your own circuits.

[Jack] didn’t just design a board, he designed an entire language. DUO Decimal is programmed in an interpreted language called DUO Decimal Numeric Code (DDNC). There are 47 DDNC commands, covering everything from basic math to list manipulation. Programs can be entered through the buttons, or save your fingertips by downloading them through the AVR isp interface. The entire C code for the DUO Decimal, including the DDNC interpreter is available on [Jack’s] website.

[Jack] created several example DDNC programs, including a 6 function calculator with trigonometry, a Mandelbrot set tester, and an implementation of the rock paper scissors game. There’s even a platformer action game, though graphics on a single 7 segment display are simplistic to say the least.

9 thoughts on “DUO Decimal – A Minimalist Single Board Computer

  1. I gotta ask, why is he shooting for a proprietary programming format?
    He says in the video “DDNC is proprietary interface…”
    I don’t see why it is proprietary or why it needs to be, it’s not a secret sauce or anything. O.o

  2. I was going to snark that he has reinvented the Basic Stamp but no, I see it’s a self-contained development system. Maybe not one for serious use but definitely a clever hack of the very limited user interface.

Leave a Reply to APLCancel reply

Please be kind and respectful to help make the comments section excellent. (Comment Policy)

This site uses Akismet to reduce spam. Learn how your comment data is processed.