

Genlink
An AVR128DB64 development board
- Size
- 85 × 56 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 13
- Nets
- 55
- Pads
- 173
- Tracks, vias
- 63, 1
- Pours
- 1
- Routed
- Yes
- KiCad
- KiCad 8.0 (file 20240108)
- Created
- 10 Jan 2024
- Updated
- 20 Jan 2025
Overview
Genlink is an open-source printed circuit board by jblang, from the jblang/avrbrain repository on GitHub, published under the MIT licence. It is a 2-layer board of 85 × 56 mm with 13 parts on 55 nets, routed with 63 tracks and 1 via.
It belongs with the microcontroller boards boards of this library.
README
README.mdAVRBrain
AVRbrain is an AVR128DB64 dev board. The AVR Dx series are modern AVRs with many desireable features over the classic ATmega AVRs, such as multi-voltage I/O, configurable logic, advanced analog features, and a single-wire programming and debug interface.

Arduino Compatibility
AVRbrain is compatible with the DxCore Arduino Core. I have tested the AVR128DB28 on a breadboard with the same programming circuit I intend to use on the finished board, and confirmed that it works.
Once flashed in UPDI programming mode, the Optiboot_Dx bootloader can be used to reprogram the board in serial comms mode, and there is an auto-reset circuit connected to the DTR line (possible to disable with a jumper).
PlatformIO Compatibility
AVRbrain is compatible with PlatformIO using the Atmel megaAVR platform. PlatformIO supports Arduino development using DxCore, or native development using avr-libc.
Here's the platformio.ini that I used to build a simple non-Arduino led blinking example for the AVR128DB64:
[env:AVR128DB28]
platform = atmelmegaavr
platform_packages = platformio/toolchain-atmelavr@^3.70300.220127
board = AVR128DB28
upload_speed = 115200
upload_flags =
--tool
uart
--device
avr128db28
--uart
$UPLOAD_PORT
--clk
$UPLOAD_SPEED
upload_command = pymcuprog write --erase $UPLOAD_FLAGS --filename $SOURCEThe above example can be made to work with DxCore just by adding the line framework = arduino to this file.
Hardware Features
- Onboard CH340C USB-to-serial converter with a micro-USB connector, and a switch to select between USB communication or programming via SerialUPDI.
- Onboard 3.3V regulator for MVIO. The board is configured to have 3.3V on PORTC and 5V on the other ports.
- SD card holder connected to 3.3V SPI Bus, and an I2C RTC (PCF8563T) with battery backup via CR 1612 coin cell.
- UEXT port that exports 3.3V UART, I2C, and SPI buses. Many peripheral modules are available from Olimex.
- Qwiic I2C port to work with the Qwiic and Stemma QT ecosystems. Many peripheral modules are available from Sparkfun and Adafruit.
- Headers breaking out all pins of the 8-bit ports A-G, except pin 7 of port F which is UPDI. Pin sockets can be used for stackable shield-style add-on boards, or pin headers can be used to connect to breadboards or elsewhere using IDC cables.
- Port F is used for UPDI, Reset, the USB UART, SD card chip select (level shifted), and optionally the RTC's interrupt and 32 kHz clock signals.
- The RTC's interrupt and 32 kHz clock signals can be connected to port F by adding a solder bridge on the surface mount jumper. The RTC can be disconnected from the I2C bus by cutting the traces in the SDA and SCL jumper pads in case of a conflict with other RTC devices.
- UPDI header for use with a PicKit and MPLAB X for debugging.
- Same size as a Raspberry Pi Model B, though it is not mechanically or electrically compatible. The right-side mounting holes are on the corners instead of toward the middle of the board, and no attempt has been made to reproduce the GPIO header pinout used on the Pi.
Relationship to z80ctrl NG
z80ctrl NG is the next-generation z80ctrl board I am designing concurrently with AVRbrain. It uses all the same hardware components, including the AVR128DB64, the USB chip, RTC, voltage regulator, sd card slot, etc. The primary difference is the pinout. The z80ctrl NG is intended to interface with the RCBus parallel bus used primarily by Z80-based retrocomputers, whereas AVRbrain is intended as a general-purpose dev board with stacking shield-style modules or IDC cables. z80ctrl also includes a 512K SRAM chip with optional banking that can be initialized by the AVR and then used by the 8-bit processor that z80ctrl shares a bus with.
Parts
13| Qty | Value | Footprint | References |
|---|---|---|---|
| 4 | MountingHole_Pad | MountingHole:MountingHole_2.2mm_M2_Pad_Via | H1, H2, H3, H4 |
| 2 | 5749180-1 | SamacSys_Parts:5749180-1 | J10, J11 |
| 1 | Conn_01x09 | SamacSys_Parts:182-009-213R561 | J1 |
| 1 | PORTA | Connector_PinSocket_2.54mm:PinSocket_2x09_P2.54mm_Vertical | J5 |
| 1 | PORTB | Connector_PinSocket_2.54mm:PinSocket_2x09_P2.54mm_Vertical | J6 |
| 1 | PORTC | Connector_PinSocket_2.54mm:PinSocket_2x09_P2.54mm_Vertical | J7 |
| 1 | PORTD | Connector_PinSocket_2.54mm:PinSocket_2x09_P2.54mm_Vertical | J2 |
| 1 | PORTE | Connector_PinSocket_2.54mm:PinSocket_2x09_P2.54mm_Vertical | J4 |
| 1 | PORTG | Connector_PinSocket_2.54mm:PinSocket_2x09_P2.54mm_Vertical | J3 |
More from jblang/avrbrain
3Similar boards
- 2 layers40 × 20 mm

- 2 layers74.9 × 49.5 mm

- 2 layers35 × 29 mm

MagSpoofTC
samyk/magspoof
A portable device that can spoof/emulate any magnetic stripe, credit card or hotel card "wirelessly", even on standard magstripe (non-NFC/RFID) readers.
13 parts4.2k - 2 layers20.6 × 23.6 mm

AO-03 signal amplifier
fossasia/pslab-scripts
Pocket Science Lab - Scripts for Sensor Experiments
13 parts1.6kApache-2.0 - 2 layers47 × 35.6 mm

- 2 layers95 × 95 mm

Cube batteryboard
willem-pennings/balancing-cube
A cube that balances itself in a corner or edge using reaction wheels
13 parts1.1kGPL-3.0 - 2 layers15.2 × 20.3 mm

Pt100stick
VoronDesign/Voron-Hardware
Cool Hardware designed by the Voron Design group
13 parts1.1kGPL-3.0 - 2 layers53.9 × 23.2 mm

Buffer
hoglet67/RGBtoHDMI
Bare-metal Raspberry Pi project that provides pixel-perfect sampling of Retro Computer RGB/YUV video and conversion to HDMI
13 parts1kGPL-3.0
Questions
How big is the Genlink PCB?
It measures 85 × 56 mm and has 2 copper layers, 1.6 mm thick.
What parts does the Genlink use?
13 parts. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
Where can I download the Genlink KiCad files?
From the jblang/avrbrain repository on GitHub, at the commit this page was made from: the board is caps/genlink/genlink.kicad_pcb and its schematic avrbrain.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the Genlink design in my own project?
Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).

