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.
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.
A DUO Decimal system? I guess it’s intended mainly for libraries?
Beutiful!
Is that really a wool carpet it’s lying on?
At least the board isn’t wearing socks…
Or is it?
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
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.
512 bytes of SRAM its too low :(