Controller module ATxmega128A1U v1.x

The main module of the HomeLab is a controller development board (controller board) equipped with a new generation of Atmel ATxmega128A1U USB-enabled microcontroller. In addition to the microcontroller, the board consists of several peripherals, voltage stabilizer, connectors, SD memory card slot. The controller board has the following features:

  • ATxmega128A1U microcontroller
    • 128 kB flash-memory (program memory)
    • 2 kB EEPROM-memory
    • 8 kB SRAM-memory (data memory)
    • 2 x 8-channel 12-bit 2 MHz analog-digital converter(ADC)
    • 2 x 2-channel digital-analog converter (DAC)
    • 8 x 16-bit timer
    • Hardware USB 2.0 Full speed
    • 8 x UART interface
    • 4 x SPI interface (max. 16 MHz)
    • 4 x I2C/TWI interface
    • External interrupt on each pin.
  • 16 MHz clock, 32 MHz Operating frequency
  • Micro SD memory card slot
  • Programmable status LED (PQ2) and power LED
  • Programmable button S0 (PQ3) and reset (reset) button
  • USB indicator LED (PQ0), USB power indicator LED (PQ1)
  • Grouped AVR pins (1: ports C, D, E; 2: ports K, J, H; 3: ports A, B, F, Q)
  • 2,1 mm power socket
  • Automatic power switch (USB or external power supply)
  • Built-in voltage stabilizer, with 3,3 V output
  • Mini USB connection to program the microcontroller and to communicate with the computer
Robotic HomeLab Controller module

The module is equipped with a LDO voltage stabilizer (with low dropout). The module can be powered with a step down transformer with an output voltage which is greater than 6 volts and lower than 14 volts. In order to reduce power losses it is recommended to use power supply between 6-9V. The power LED signalizes a connected feed. The power LED must be lit, when connecting to the power. If it does not illuminate, the cause may be an inadequate power supply or a short circuited Controller module or a short circuit in other connected devices. Controller is equipped with fuses. If overcurrent occurs, the fuse blow and protect the most expensive components. Fuses can be changed, but it is recommended to do an experienced electronics experts. Fuses are small SMD components, and the user is difficult to replace them. The microcontroller can be programmed over USB, through the bootloader. To enter the bootloader, press and hold the button S0 on the Controller module, and then reset the controller.

The Controller module is equipped with a status LED, which is connected to the microcontroller pin PQ2. The status LED will light up, if the pin is set to low (logical 0). It is good to use as a simple indicator. Another LED is connected to the pin PQ0, but it is reserved for the USB connection, and the programmatic management is not recommended. Pin PQ1 is connected through the voltage divider to USB power. This pin can be used to read, if the USB cable is connected to the Controller module or not. The module is equipped with SD memory card slot, where it can be used as a standard microSD memory card. The memory card is connected to the microcontroller via the ISP interface and can be used to store data where data must be maintained even if the power supply is removed.


When connecting the controller module with other modules or devices, you must first make sure that the controller module power supply is not connected. Modules and devices must be connected to each other with care. It is important not to use excessive force, wrong handling may damage the module. For programming and to power with low currency (less than 500mA) you must only connect the controller module with a PC using an USB port. If you are using modules that need to use a greater current than 500 mA, you must use a separate power source. If a controller module is connected to a separate power source, then the module automatically does not use USB a power supply.

en/hardware/homelab/controller/xmega128.txt · Last modified: 2020/07/20 09:00 by
CC Attribution-Share Alike 4.0 International Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0