Electronics - AVR - MonoCube

Open-source 3D led matrix display project with 5x5x5 pixels driven by a Atmel AVR Microcontroller. Also know as Elektor 080355 project.

Installation

Prebuild binaries

In the “bin” directory there are hexfiles for different targets:

  • Atmega16 at 1MHz and 8MHz
  • Atmega32 at 1MHz and 8MHz

Fuses

“Be carefull while burning new fuse settings !!!”

  1. Disable JTAGEN bit
  2. Set correct internal F_CPU speed (1MHz or 8MHz)

Atmega16/32 settings for high and low fuse:

1MHz and JTAGEN disabled:

  • hfuse 0xD9
  • lfuse 0xE1

8MHz and JTAGEN disabled:

  • hfuse 0xD9
  • lfuse 0xE4

The fuses can also be calculated with this online script,

http://www.engbedded.com/fusecalc

Downloads

Authors

Jerry Jacobs

Special thanks to:

  • Elektor International Media BV the Netherlands to finish this home project during traineeship.
  • Mr Beamer for his random led animation posted on Dutch Elektor forum,
  • Elias for contributing a movie of his red monocube.

ChangeLog

Version 0.0.3 (2009/03/24)

Removed all C++ comment

  • Main
    • Renamed cube.c to monocube.c
    • Added monocube.h
    • Added five cube buffers
  • Draw
    • Functions now get buffer parameter (pointer) to save ram
    • Renamed all functions to make more clear
    • Deleted column stuff (big fat function)
    • Deleted buffer stuff (obsolete)
  • Animations
    • Added random_leds
    • Added random_layer_shiftup
    • Added fill_left_to_right
    • Deleted blink_slow_to_fast

Version 0.0.2-1 (2008/11/17)

  • Main
    • Expanded demo program
    • Big bang
    • Character set display
    • Diagonal line loop trough cube
  • Draw
    • Moved separated drivers to draw.c/draw.h library
    • Optimized library flash memory size
  • Graphics
    • Added Character set (A to Z)
    • Added Diagonal lines
    • Added Line retangles

Version 0.0.2 (2008/10/30)

  • Effect
    • Cleanup blink_slow_to_fast()
  • Led
    • toggle_led added
  • Planes
    • Cleanup c and h file
    • Comment fit to doxygen
  • Columns
    • Row bits written to macros

Version 0.0.1-1b (2008/10/21)

First stable public firmware