No announcement yet.

Duino Demo + uVGA MD1

  • Filter
  • Time
  • Show
Clear All
new posts

  • Duino Demo + uVGA MD1

    I was able to use the uVGA MD1 module for a project that displays motion graphics using an ATMEGA328 (arduino nano). My biggest bottleneck was the speed of the uVGA serial interface.
    I increased the speed to 1M baud and barely managed to get 10fps @ 92 x 64 pixels. Here is the final result[/video]]
    I wanted to revisit this project with the uVGA II module circuit that just came out, but it doesn't seem possible. uVGA II has a slower interface speed of 256K and requires more data for each pixel. Is there a way to send this chip graphic commands via the 8 bit parallel IO and skip the serial interface completely? How many full frames per second can you get from a uVGA II module using serial interface pixel commands?
    Here are some other test videos of the uVGA MD 1 in action:
    an>A small 98x34 bitmap drawn @ 9600x8bit speed. Its pretty slow and you can see each line being drawn. (6 seconds in)[/video]]
    Double Buffering / 3D Cube test:
    Full screen 256 color bitmap drawn to screen @ 1M Baud:

    fire source

    using uVGA line function

    using uVGA paging feature

    div style="text-align: center;">

    interfacing uVGA with Computer via serial FTDI Chip:text-align: left; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; ">
    browse through the full arduino source code here:

  • #2

    You will never get anything remotely approaching any reasonable fps rate over serial, the bandwidth required is just too great.

    With the uVGA II you can store preprepared images on uSD and call them up at will, it will also play 160x240 videos at around 12 fps.

    You can also use 4DGL on the uVGA II which means you can put processing power directly onto the display driver chip.


    • #3

      I did not know uVGA II could execute 4DGL. I thought it could only run 4DSL(a logged sequence of commands) from an SD card. I do not see anything in the documentation about 4DGL.
      I wanted to use this chip for a demoscene competition in 2011 which requires all graphics execute in real-time and not be a pre-recorded script or animation.
      I was thinking of placing a modified "autoexec.4ds" file on an SDcard, removing the last command (EXIT MC Program), then hijack the SPI bus to send graphic commands via SPI from an external microcontroller. I don't see any pin-outs to the SD card pins, so I may have choose another VGA product altogether.


      • #4

        Documentation on the j1 and j2 pins is in the manual, as well as writing and reading the sdcard. I'm using the sgc firmware (you can replace that) so I'm limited in what I can do over serial, but I just need to display some colored boxes with the value of a few variables inside.
        Steve Spence KK4HFJ


        • #5

          Now I'm ready to put my card into gfx mode, and put data on it over the parallel bus for it to display. This means moving all my display code off the arduino, and onto the uVGA-II in GFX mode (4DGL).

          Serial in SGC mode was too slow.
          Steve Spence KK4HFJ