xtal design labs incorporated
custom embedded development

xdesignlabs

home
services
contact us
oem

products

xMega
xTach
xLogger
xLED

projects

digital tach
palm adc

xtal's reference

avr guide
pcb tutorial
bookshelf
companies
chip review



xmega mk II


mega

get started.... fast!

The xMega was developed to provide an affordable quick-start platform for data acquisition and embedded control. Using a proven base board with a serial communications interface, in-circuit programming header, voltage regulator, and a real time clock, custom circuit boards can be jumpered on and prototyped rapidly, or custom one-off solutions can be packaged together. Use our code samples & development guides to get moving quickly.

xMega Features:

  • RS232 serial communication port
  • Dallas Semiconductor DS1302 Real Time Clock w/Supercap backup
  • Self-programming with integrated bootloader
  • 8 channel 10-bit analog/digital conversion
  • Up to 32 channels of GPIO
  • Onboard ISP header for programming
  • All onboard IC's socketted
  • External regulated 5V out, TVS protected input

Just need a fast micro interface board? Building a large serial DAQ setup? Order the bare PCB and save.


must-have information:

  • xMega mk II Schematic Diagram (png)
  • xMega mk II Bill of Materials (BOM) ( xls )
  • Atmel ATmega16 AVR Reference (pdf)
  • Dallas Semiconductor DS1302 RTC (pdf)
  • WinAVR AVRGCC Compiler Distribution (Windows)
  • Atmel AVR-Studio Programming Software (Windows)


pricing:

xMega assembled & tested: $48
xMega bare PCB: $10

email: orders@xdesignlabs.com

no isp programmer required:

All xMega boards are self-programming and come pre-configured with a AVRProg-compatilble bootloader.

Programming is as simple as connecting your xMega, hitting the reset switch, and launching AVRProg. AVRProg is part of Atmel's AVR studio package. No other external inputs or signals need to be generated.

avrprog


application samples:


Palm Device Interfacing
Example application covers reading analog values and toggling the state of a I/O lines from a palm handheld device. Includes source code. Based around the Palm Data Acquisition article published in Circuit Cellar 159. (html)

tested code samples:

The samples below consist of documented source code, a schematic diagram, and a compiled hex file that is compatible with the xmega board running at 4mhz. Read the introductory notes in the .c file for more details, or see xtal's avr guide for more information on AVR programming.


Basic Serial Communication
Covers basic sending and recieving of serial data from a terminal program and the xMega board. (serial.c, zip)

Real Time Clock Interfacing
Shows how to set and display the current time via a serial communications link. Sets up a bit-bang interface to the DS1302 RTC to set & retrieve current time. rtc.c, zip)

ADC Setup & Sensor Reading
Shows how to set up the analog/digital converter, read the temperature from a LM34 temperature sensor, and send the temperature to the serial port. (adc.c, zip)

Hardware PWM output
Demonstrates the mega's hardware PWM output. (pwm.c, zip)

Hardware Interrupts
Trigger LEDs based on a hardware interrupt (interrupt.c, zip)

Alarm Clock
Uses the real time clock and a serial link to light the onboard LED on demand. (alarm.c, zip)


support:

xMega boards come with free technical support - email support@xdesignlabs.com.


Notice: In no application should this product be used in any device or application that could cause injury, loss of life, or property damage. Xtal Design Labs Incorporated makes no warranties whatsoever regarding the performance, operation, or fitness of this board for any particular purpose.