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.

Comments

  1. Cyk says:

    Very similar: TPS (site in german): http://www.elektronik-labor.de/Lernpakete/TPS/TPS0.html
    Available as commercial product, but also open source.

    There’s also an english version of that, but I couldn’t find the link, sorry.

  2. Megol says:

    A DUO Decimal system? I guess it’s intended mainly for libraries?

  3. Erororo says:

    Beutiful!

  4. APL says:

    Is that really a wool carpet it’s lying on?

  5. HTFCirno2000 says:

    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

  6. localroger says:

    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

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 92,119 other followers