mcnobby:
Very nice project, but is it Arduino friendly ?
The project has been developed using free software only (except Microsoft Windows 7): the PCB has been developed using Kicad (free and open source), the firmware using AVRStudio from Atmel (free but not open source).
The DMX code comes from a public library:
// Copyright (c) 2011 by Matthias Hertel, http://www.mathertel.de
// This work is licensed under a BSD style license. See Software License Agreement (BSD License)
All the rest of the job comes from me.
If you tell me more precisely how to check if the project is Arduino friendly I will do it. For now I enclose here the source code. I believe it is readable enough as it is, but it could be changed and/or commented if necessary. It is written almost completely in C language so it is portable, the only problem is that I did not make a hardware abstraction layer file but it is together with the main file. The only exception is the routine to change the clock prescaler at the beginning (written in assembler) but still portable among ATMEL MCUs.
If you tell me the other criteria I shall stick on in order to make the project "Arduino friendly" I will give it a look.
DMX_Driver.rar (73.1 KB)