Skip to the content
2 layersAvr scroll, the printed circuit board in 3D

AVR-based device for ultra-smooth PC scrolling.

Copper layers
2
Thickness
1.6 mm
Parts
37
Nets
38
Pads
128
Tracks, vias
241, 20
Pours
2
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
31 Aug 2026
Updated
31 Aug 2026

Overview

Avr scroll is an open-source printed circuit board by kpierzynski, from the kpierzynski/avr_scroll repository on GitHub. It is a 2-layer board with 37 parts on 38 nets, routed with 241 tracks and 20 vias.

It is built around the ATMEGA48-20AU and AS5600-ASOM. Its parts include 13 resistors, 8 capacitors, 3 ICs, 2 diodes and 1 connector. It belongs with the AVR (ATmega, ATtiny) boards of this library.

Main components

2

README

README.md

AVR AS5600 Hi-Res Scroll

A high-resolution scroll wheel recognized by the host as a standard USB HID mouse. An AS5600 magnetic position sensor measures the rotation, while an AVR microcontroller converts it into mouse wheel input. No additional drivers are required.

Hardware

  • ATmega328P running at 12 MHz
  • AS5600 magnetic position sensor connected over I²C
  • USB-C interface implemented with V-USB
  • Magnet centered above the sensor
  • 3D-printed enclosure
  • 52 mm bicycle bearing (the enclosure uses a 51.5 mm press-fit seat)

Repository structure

  • src/ — AVR firmware and V-USB library
  • pcb/ — KiCad project, PCB model, and Gerber files
  • case/ — OpenSCAD enclosure source and printable STL files
  • as5600_datasheet.pdf — sensor datasheet

Building and flashing

Requires avr-gcc, avr-libc, avrdude, make, and a USBasp programmer.

bash
cd src
make
make flash

The firmware is configured for an ATmega328P running at 12 MHz. The resulting firmware is written to src/build/main.hex.

Enclosure

Print the supplied case/top.stl and case/bottom.stl files, or customize case/case.scad in OpenSCAD to adjust the bearing fit and other dimensions.

During assembly, ensure that the magnet is correctly oriented and centered above the AS5600.

Parts

37
QtyValueFootprintReferences
3100nFCapacitor_SMD:C_0805_2012MetricC1, C4, C8
310uFCapacitor_SMD:C_0805_2012MetricC2, C3, C7
210KResistor_SMD:R_0805_2012MetricR4, R11
222pFCapacitor_SMD:C_0805_2012MetricC5, C6
2470RResistor_SMD:R_0805_2012MetricR10, R13
25K1Resistor_SMD:R_0805_2012MetricR8, R9
25K6Resistor_SMD:R_0805_2012MetricR2, R3
268RResistor_SMD:R_0805_2012MetricR5, R6
2LEDDiode_SMD:D_0805_2012MetricD1, D2
2MountingHoleMountingHole:MountingHole_2.2mm_M2H1, H2
112MHzCrystal:Crystal_SMD_5032-2Pin_5.0x3.2mmY1
11K5Resistor_SMD:R_0805_2012MetricR7
11MResistor_SMD:R_0805_2012MetricR1
13V3TestPoint:TestPoint_Pad_D1.5mmTP6
1470RResistor_SMD:R_1206_3216MetricR12
1AS5600-ASOMPackage_SO:SOIC-8-1EP_3.9x4.9mm_P1.27mm_EP2.29x3mmIC1
1ATmega48-20APackage_QFP:TQFP-32_7x7mm_P0.8mmU1
1GNDTestPoint:TestPoint_Pad_D1.5mmTP5
1HT75xx-1-SOT89Package_TO_SOT_SMD:SOT-89-3U3
1MISOTestPoint:TestPoint_Pad_D1.5mmTP2
1MOSITestPoint:TestPoint_Pad_D1.5mmTP1
1RESETTestPoint:TestPoint_Pad_D1.5mmTP4
1SCKTestPoint:TestPoint_Pad_D1.5mmTP3
1SW_PushButton_Switch_SMD:SW_SPST_TS-1088-xR020SW1
1USB_C_Receptacle_USB2.0_14PConnector_USB:USB_C_Receptacle_G-Switch_GT-USB-7010ASVJ1

Similar boards

  • 4 layers158.8 × 104.1 mm8-Bit CPU, the printed circuit board in 3D

    8-Bit CPU

    frenchie/8-Bit-Computer

    An 8-Bit Computer

    323 parts20
  • 2 layers40 × 50 mmPpm, the printed circuit board in 3D

    Ppm

    liangx8/pcb_ppm

    pulse generator

    27 parts
  • 2 layers90 × 67.5 mmWiper, the printed circuit board in 3D

    Wiper

    mdesign32/wiper_kicad

    Wiper schematic. Continue to ver.2

    66 parts
  • 2 layers20 × 40 mmNixie Module IN-14 Zener, the printed circuit board in 3D

    Nixie Module IN-14 Zener

    minori24/NixieModule

    使用方法は Getting Started および Library Reference を参照して下さい。

    33 parts7
  • 2 layers81.6 × 57.2 mmLeetai2, the printed circuit board in 3D

    Leetai2

    vonkonow/LeetAI

    Leet AI – Wireless Synthesizer Ensemble with AI-powered composition for endless inspiration

    72 parts42MIT
  • 2 layers42.3 × 42.3 mmWireless Stepper Motor Controller, the printed circuit board in 3D

    Wireless Stepper Motor Controller

    Circuit-Digest/Wireless-Stepper-Motor-Controller

    The Wireless Stepper Driver is a compact and efficient motion control system designed to control stepper motors over Wi-Fi.

    62 parts17MIT
  • 2 layers22.6 × 16.8 mmAS5600-Encoder PCB, the printed circuit board in 3D

    AS5600-Encoder PCB

    dhairyashah1/BLDC-Encoder-PCB

    This repository contains KiCAD Design Files for Encoder PCB made using AS5600 hall sensor based Encoder Chip for SRA-VJTI's BLDC Actuator and Quadraped Testing.

    15 parts3GPL-3.0

Questions

What parts does the Avr scroll use?

37 parts, built around the ATMEGA48-20AU and AS5600-ASOM. 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 Avr scroll KiCad files?

From the kpierzynski/avr_scroll repository on GitHub, at the commit this page was made from: the board is pcb/pcb.kicad_pcb and its schematic pcb/pcb.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Avr scroll design in my own project?

Its repository states no licence, so its author keeps all rights: ask kpierzynski before reusing the design.