www.roland-riegel.de

You are here: Homemega-eth: Extendable microcontroller board

Microcontroller board with Ethernet, MMC/SD card interface and USB

This project is a basis for developing microcontroller applications connected to an ethernet network.

The hardware

Hardware components already integrated on the reference design include:

The hardware design is expandable by connecting additional components to the existing pin header. Several digitial I/Os, A/D inputs as well as the standard SPI and I2C (TWI) serial interfaces are available for user-defined purposes.

The curcuit board is designed as a two-layer board of size 100mm x 80mm. Most components use SMD packages.

Pictures

The software

The software is written in pure standard ANSI-C. Sure, it might not be the smallest or the fastest one, but I think it is quite flexible.

By providing the software for this project under the GPLv2, great flexibility is achieved. The following modules are already available:

I implemented a simple command prompt which is accessible via the UART at 115200 Baud. With commands similiar to the Unix shell you can setup the network parameters, browse the SD/MMC memory card and more.

Adapting the software to your needs

The software has been written with reusability in mind. Most modules are hardware independent, and hardware abstraction has been used where hardware access is needed. That said, it should be fairly easily adaptible to different hardware configurations.

By changing the MCU* variables in the Makefile, you can use other Atmel microcontrollers or different clock speeds. Some modules are configurable, the parameters reside in extra files named for example tcp_config.h or ethernet_config.h.

Downloads

This section is continuously updated with the newest software revisions. The documentation is available online, but it is also included in the software package.

date comments files
2008-05-22
  • [FAT16] Make listing a directory much faster.
  • [FAT16] Code size reduction.
software sources (570kB)
2008-05-17
  • First release.
software sources (570kB)
eagle schematics (revision 1.1) (105kB)

Bugs or comments?

If you have comments or found a bug in the software - there might be some of them - you may contact me per mail at feedback@roland-riegel.de.

Copyright 2006-2008 by Roland Riegel

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation (http://www.gnu.org/copyleft/gpl.html). At your option, you can alternatively redistribute and/or modify the following files under the terms of the GNU Lesser General Public License version 2.1 as published by the Free Software Foundation (http://www.gnu.org/copyleft/lgpl.html):

Last modification: 05-22-2008 06:21pm