MW2

http://claymore.engineer.gvsu.edu/~steriana/MW2/mw2a.jpg


Table of Contents

Introduction

MW2 is a USB-powered educational development board for the Atmel ATmega324P microcontroller. It is the next revision of the ATmega32 MikeWazowski board.

Here are some quick facts for the impatient:

Also see the MW2/FrequentlyAskedQuestions page for more quick facts.

For non-GVSU students a variant of the MW2 board is available commercially from Rugged Circuits.

Hardware

External Power

The three-terminal connector adjacent to the USB connector can be used to both power the MW2 board from an external power supply and to also supply +5VDC (more like +4.7V) to an external circuit. The three terminals are labelled on the top-side silkscreen as follows:

Drivers (Windows)

If your computer doesn't recognize the board when you first plug it in, you will need to download and install drivers for the FT232RL chip on the board. You may need Administrator privileges to do so.

  1. Download the latest FTDI drivers from the FTDI web site -- note where on the disk you saved the ZIP file. Alternatively, here is a direct link to the self-installing executable which allows you to skip the remaining steps.

  2. Extract the contents of the ZIP file for the drivers and note where on the disk the files have been extracted.
  3. Plug the board in to a USB port and wait for a dialog to appear indicating new hardware has been detected.
  4. Do not allow Windows to download drivers from the Internet, but instead direct it to look for drivers in the directory containing the extracted FTDI driver files.
  5. Windows will repeat the process and ask you to install drivers again. Once again, use the same directory containing the FTDI driver files.

Drivers (Linux)

Any modern kernel will already have the ftdi_sio kernel module so you should not have to install anything. If not, make sure this module is enabled in your kernel configuration and recompile your kernel.

Note that FTDI also provides a library for Linux that provides additional functionality beyond the ftdi_sio module. You can use this library to develop custom programs that access the FTDI device directly without going through the serial port. You can download this library from the FTDI drivers page.

Hardware Modifications

Here are some suggested modifications to the hardware, all very easy to do.

Downloading Programs

MW2 comes with a bootloader program that allows you to program the ATmega324P FLASH with your own program, directly over the USB connection. You do not need to use an AVRISP or other form of hardware programming connection.

On Windows, downloading programs is easiest using the MW2 program. The latest version is 1.5. Earlier versions had an incorrect version of the MW2-resident bootloader, meaning if you used the Setup tab to reinstall the bootloader, it would make the board unresponsive.

Initial Setup

In certain circumstances, you may need to re-install the ATmega324P bootloader, or program the FT232RL EEPROM. See the MW2/WindowsSetup or MW2/LinuxSetup pages for information on these advanced topics.

Applications

See the MW2/Applications page for user-contributed applications ready to run on your board.

MW2 (last edited 2009-04-06 22:25:44 by Andrew Sterian)