Slashdot Mirror


Micro-SD Card Slot Abused As VGA-Port

dvdkhlng writes "The Ben NanoNote open-source hand-held computer has often been criticized for not being very extensible hardware-wise. A community effort now starts to challenge this by shipping the so-called UBB board, which plugs into the micro-SD port, making 6 I/O lines available to hardware hackers. The most impressive use so far is this VGA port implemented by just a few resistors, with signal-generation mostly controlled by software. The guy who did this calls it an 'unexpected capability.' Schematics and source code are available under the GPL."

8 of 77 comments (clear)

  1. Great-grandson of "Cheap Video Cookbook" by shoppa · · Score: 5, Interesting
    Don Lancaster did a pretty good job explaining raster-scan-generated-by-cleverness-of-using-main-CPU in the Cheap Video Cookbook. Back in 1978.

    So slashdot is about, oh, 33 years late :-).

    1. Re:Great-grandson of "Cheap Video Cookbook" by Anonymous Coward · · Score: 4, Interesting

      The concept is as old as time. There are also lots of similar VGA out implementations for various microcontrollers, FPGAs, etc. What's new here is that the MMC controller is used to send out the pixels, which a) allows for a comparably high resolution, b) makes the operation reasonably efficient (i.e., in the future, it may even be possible to do other things in parallel), and c) hides some of the complexities of instruction timing in modern CPUs, with caches, DRAM, multiple bus masters, etc. Within the qi-hardware community, it was also a nice surprise to discover that our little Ben could actually do this.

    2. Re:Great-grandson of "Cheap Video Cookbook" by DarkOx · · Score: 4, Insightful

      Well the technique was pretty darn common in the 8 bit home computer era. So you are right in that this is not novel, but it shows its still a good method to add video to hardware that the manufacturer maybe never intended to have video out. I think this is a pretty good "News For Nerds" post even if its strictly New(s) that you can do this. I think it might be an interesting technique to apply in things like Rockbox and plug computers, as well.

      --
      Repeal the 17th Amendment TODAY! Also Please Read http://www.gnu.org/philosophy/right-to-read.html
  2. Re:Nice, but... by pvera · · Score: 4, Insightful

    Because it opens the possibilities of other "unexpected" hacks that people can't visualize simply by looking at the available ports for a given device (not just the one in the article). If you can plug that thing into the microSD port and make it talk to VGA with 10 resistors and a bit of software, it means you can probably use microSD as a connector on other devices knowing that the connector and board are not only dirt cheap but open.

    --
    Pedro
    ----
    The Insomniac Coder
  3. Re:Nice, but... by cfriedt · · Score: 4, Interesting

    It's often ___immeasureably__ useful to get some (any) kind of console output when porting Linux to an existing device running e.g. windows mobile 5 or 6. Take a look at HaRET. Porting is often harder than most would imagine, as some manufacturers actively use hardware obfuscation methods to prevent hacktivists from getting console access.

    Try to imagine how long it would take to use LEDs or haptic feedback to iteratively check all conditions required to bring up Linux on a board without a serial port. The first thing you would probably do is try to use a hardware subsystem that was known to work and fashion a serial port out of it. This is the same concept but graphical.

    Great work!

  4. Re:Why? by cptdondo · · Score: 5, Insightful

    For one it's fun. It's OK to have fun. If we only do those things that need to have a (serious) reason, we'd never have any fun. You must have gone straight from diapers to curmudgeon, without the usual goofy and fun states.

    For another, this would be great for a low-cost embedded project. I can easily see this being adapted to an embedded playroom I play with.

    Lastly, ti's cool.

  5. Don Lancaster by Anonymous Coward · · Score: 5, Interesting

    "Cheap Video Cookbook" is exactly what came to mind when heard about the VGA port (I have a Ben Nanonote and subscribe to the mailing list). I enjoyed Don Lancaster's books so much when I was a kid. He taught me not to be afraid of a soldering iron. He showed me how to disassemble software. But mostly, he explained hacker values better than anyone.

    In one of his columns, he told the flute story, and it always stayed with me. I became a teacher in College ten years ago, and I always repeat this story to my students. Here it is.

    "Many years ago, I was at a rock concert. The opening act was a single flute player standing solo in front of the closed stage curtains. His job was to warm up the audience for the high priced talent that was to follow. He was good. But as he went along, the musical vibes got stranger and stranger, then totally bizarre. He was playing chords on his flute. Combined with utterly unbelievable riffs. Much of the audience got impatient and bored at what seemed like a bunch of god-awful squawks. Then I happened to notice a friend beside me who had both been in and taught concert band. He was literally on the edge of his seat. He turned to me and slowly said 'You Can't Do That With a Flute.'

    Of the thousands and thousands of people in the theater audience, at most only five realized they were witnessing a once-in-a-lifetime performance of the absolute mastery of a difficult and demanding instrument.

    Always play for those five."

  6. Re:Why? by Jafafa+Hots · · Score: 4, Funny

    Why comment on slashdot articles? What's that going to achieve?

    --
    This space available.