Dx24 (AVR128DB32)

9 months ago

Profile:AVR128DB32 dev board with NRF24L01+

Open source license: Public Domain

Project source: Cloned from MiniDx24 (AVR Dx)

  • 600
  • 0
  • 0



Dev board for AVR*DB32 with optional NRF24L01+ SMD module

Compatible with

  • AVR128DB32
  • AVR64DB32
  • AVR32DB32

(and probably AVR128DD32 in the future)

It may also work with AVR*DA32 MCUs, but it's not tested.

The board was designed for hand soldering.

There is a smaller version (with less pins) of this board here: https://oshwlab.com/Miraculix200/minimegazero24_copy_copy_copy


This is a new generation of AVR MCUs which has builtin OPAMPs, 24MHz CPU speed at 1.8V, 12-bit ADC, increased noise immunity, builtin level shifter (MVIO) and more.

The MVIO section is within the rectangle on the silk screen.

To use it as a level shifter, remove the 0 Ohm resistor and connect VDDIO2 to a voltage source, e.g. 5V. Then the signals in the MVIO section have 5V. On this board you can enable the I2C function for 2 of the 4 pins within the MVIO section, so you don't need to use a level shifter for 5V I2C modules. For the other 2 pins you can enable 5V UART.

Instead of using a 0 Ohm resistor for normal (3.3V) operation, you could also connect the VDDIO2 pin to the 3V3 pin of the board.

It is recommended that you add an external 1uF capacitor to the VDDIO2 pin, when powering it seperately.

If you leave the 0 Ohm resistor in place, the MVIO section will be fed with 3.3V.

WARNING: Do not connect a seperate voltage source to VDDIO2 before you have removed the 0 Ohm resistor.

Optionally you can solder a NRF24L01+ SMD module to the board. Use GPIO 13 as CE pin and GPIO 7 as CS pin. GPIO 25 is connected to the IRQ pin of the NRF24L01+ module.

Example code to measure battery voltage without a voltage divider (using MVIO):



To burn the bootloader, start by connecting your USB to serial board to your dev board like this

Screen Shot 01-19-21 at 12.49 PM.png

WARNING: Do not power the board with 5V through the 3V3 pin if a NRF24L01+ module is present in the circuit. Otherwise you will damage your NRF24L01+

Using Arduino IDE with DxCore

Install DxCore using the Board Manager of Arduino IDE, following the instructions here: https://github.com/SpenceKonde/DxCore/blob/master/Installation.md

DxCore now includes pymcuprog, so you can easily burn the bootloader by selecting "Serial Port + 4.7k Resistor (pyupdi style)" as programmer, then selecting "Burn Bootloader".

Now you can directly connect your FTDI board to the FTDI header on the dev board, and flash it through Arduino IDE, like you would flash a Arduino Pro Mini.

Using pymcuprog by Microchip

If you prefer to play around with the various possibilties pymcuprog gives you, you can start by burning the bootloader like this

  1. Download the DxCore bootloader: https://raw.githubusercontent.com/SpenceKonde/DxCore/master/megaavr/bootloaders/hex/optiboot_dx128_ser0.hex
  2. Install Python if you don't have it already
  3. Install pymcuprog using Pythons pip install pymcuprog
  4. Connect your serial (e.g. FTDI Basic 3.3V) to UPDI and burn the bootloader like this

pymcuprog -t uart -u COM3 -c 9600 -d avr128db32 write -f optiboot_dx128_ser0.hex

5. Set the BOOTSIZE fuse

pymcuprog -t uart -u COM3 -c 9600 -d avr128db32 write -m fuses -o 8 -l 0x01

6. Set the SYSCFG/RSTPINCFG fuse

pymcuprog -t uart -u COM3 -c 9600 -d avr128db32 write -m fuses -o 5 -l 0xc8

Note that if you want to overwrite your bootloader with a new bootloader, you need to manually erase the chip like this: pymcuprog -t uart -u COM3 -c 9600 -d avr128db32 erase

Uploading sketches

Install DxCore in your board manager, following the instructions here https://github.com/SpenceKonde/DxCore/blob/master/Installation.md








Sheet_1 copy copy copy copy

Open in editor

PCB_2020-11-24_13-48-47 copy copy copy copy

Open in editor


ID Designator Footprint Quantity
1 KEY1 KEY-3.0*6.0 1
2 J1 1X06_LOCK 1
3 Q1 SOT-23_L2.9-W1.3-P0.95-LS2.4-BR 1
4 U1 SOT-23-3_L2.9-W1.6-P1.90-LS2.8-BR 1
5 F1 F0805 1
6 C3 CASE-A_3216 1
7 J5,J4 HDR-M-2.54_1X5 2
8 J3,J2 HDR-M-2.54_1X10 2
9 C9 C0603 1
10 U4 TQFP-32_L7.0-W7.0-P0.50-BL 1
11 R1 R0805 1
12 R2 R0805 1
13 U2 NRF24L01+ SMD 1
14 C5,C7,C6 C0603 3
15 C2,C1 C0805 2
16 C4 C0603 1


Project Members

Project Attachments


周一至周五 9:00~18:00
  • 0755 - 2382 4495
  • 153 6159 2675


周一至周五 9:00~18:00
  • 立创EDA微信号


  • QQ交流群


  • 立创EDA公众号