The Xmegalab is a multi purpose development board using the XMEGA AVR microcontroller.

The Xmegalab is also a fully featured Mixed Signal Oscilloscope (MSO) with Spectrum Analyzer, Arbitrary Waveform Generator (AWG) and a scientific calculator.

sd-icon SD Card Demo Manual
log Waveform Generator (AWG) Manual
log Mixed Signal Oscilloscope (MSO) Manual
chess Chess Manual
calculator Calculator Manual

The Xmegalab demonstrates:

  • Features of the new XMEGA microcontroller
  • Analog to Digital Converters
  • XMEGA's Digital to Analog Converter
  • Rotary Encoders using the XMEGA's Event System
  • Switch Matrix decoding (Keypad)
  • RS-232 Interface
  • XModem File Transfer
  • Fast Fourier Transforms
  • Pseudo Random Number Generation
  • Fixed and Fractional Numbers
  • Linked Lists
  • Memory Management

Welcome screen options:

A Lissajous curve will be drawn on the screen. Use the rotary encoders to change the curve parameters.
Buttons KA thru KE will start the corresponding application

The Xmegalab requires a DC power supply of 6V, 250mA.
To power on the Xmegalab, press KA for at least half a second, you will hear a click from the buzzer.
To power down the Xmegalab, press KA for at least 2 seconds. You will hear the power down sound.
If using an external programmer, KA needs to be pressed while programming the Xmegalab.

Test mode and calibration:

Pressing # on the welcome screen will activate the test mode.
During the test mode:

  • The LEDs will blink and the buzzer will tick continuously.
  • Data from CH1, CH2, Logic, and the AWG is visible on the screen.
  • Data from the Serial port is displayed on the screen.
  • When pressing buttons on the keypad, the corresponding character is sent to the serial port.
  • Pressing KA will execute the ADC offset calibration function. CH1 and CH2 must be connected to ground.
  • Pressing KC will execute the AWG calibration. The ADC offset calibration must have been performed prior to the AWG calibration.
  • Pressing KE will restore the default settings and clear calibration data.

The serial port settings for the Xmegalab are: 115200 bps, 1 start bit, 1 stop bit, no parity, no hardware control.

To develop your own application for the Xmegalab, you will need an external programmer, such as the AVRISP mkII, the AVR JTAGICE mkII or the AVR ONE!.
The Xmegalb will soon have a bootloader, so that firmware updates can be done via the serial port.

Hardware Overview






Search Store


Shopping Cart


You've developed an absolutely incredible and wonderful product. (Xprotolab)

Matt Bechberger


Official PayPal Seal