Skip to the content
2 layers26.2 × 29.7 mmDigipot, the printed circuit board in 3D

MCP4141 and ATtiny13 based digital potentiometer

Size
26.2 × 29.7 mm
Copper layers
2
Thickness
1.6 mm
Parts
5
Nets
10
Pads
28
Tracks, vias
77, 2
Routed
Yes
KiCad
KiCad 5 (file 20171130)
Created
26 Mar 2020
Updated
27 Mar 2020

Overview

Digipot is an open-source printed circuit board by dilshan, from the dilshan/mcp4141-digital-pot repository on GitHub, published under the MIT licence. It is a 2-layer board of 26.2 × 29.7 mm with 5 parts on 10 nets, routed with 77 tracks and 2 vias.

It is built around the ATTINY13A-SU. Its parts include 2 ICs, 2 connectors and 1 switch. It belongs with the AVR (ATmega, ATtiny) boards of this library.

Main components

1

README

README.md

MCP4141 based digital potentiometer

MCP4141 and ATtiny13 based digital potentiometer to replace an existing 3 terminal analog potentiometers.

Breadboard View

The main objective of this project is to create a prototype version of a digital potentiometer using Microchip's MCP4141 IC. MCP4141 is available with end-to-end resistances of 5KΩ, 10KΩ, 50kΩ, and 100KΩ. This potentiometer-module can drive MCP4141 with any of the above mention resistances.

To drive the MCP4141, this module use ATtiny13 MCU. This MCU control MCP4141's resistance, based on the rotary-encoder events. ATtiny13 is an 8-pin, low power 8-bit MCU with an internal oscillator. The key reason to pick this MCU is its availability and lower price. Due to a lack of hardware-based SPI, this system use bit-banging SPI implementation to drive the MCP4141 IC.

Schematic

To reduce the board size, this module employs only 3 components. Which including ATtiny13, MCP4141, and rotary-encoder. The dimension of the PCB design given for this module is 26.16mm x 29.72mm.

Building and flash firmware

Firmware of this module is developed using AVR-GCC toolchain. To build the firmware execute the make command.

To flash the compiled firmware, use the following set of commands:

text
make fuse
make flash

The make fuse command can use to set up the fuse-bits of the MCU and it needs to execute only once.

License

This is an open-source hardware project. Compiled firmware, PCB designs, schematic, and source codes related to this project are available at this repository.

The firmware of this project is licensed under the terms of MIT license. Hardware design and related content are licensed under Creative Commons - Attribution 4.0 International (CC BY 4.0) license.

Parts

5
QtyValueFootprintReferences
1ATtiny13Package_DIP:DIP-8_W7.62mm_LongPadsU1
1COM-09117Rotary_Encoder:RotaryEncoder_Alps_EC11E-Switch_Vertical_H20mmSW1
1MCP4141Package_DIP:DIP-8_W7.62mm_LongPadsU2
1POTConnector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalJ1
1POWERConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ2

Similar boards

  • 2 layers110 × 99.6 mmPCIce, the printed circuit board in 3D

    PCIce

    ZoidTechnology/PCIce

    A PCI Express card with an inbuilt PWM fan controller and mounting points for an 80mm fan.

    22 parts90GPL-3.0
  • 2 layers180.1 × 180.3 mmLibreRouter MegaBoard, the printed circuit board in 3D

    LibreRouter MegaBoard

    LibreRouterOrg/board

    LibreRouter hardware repository

    237 parts55AGPL-3.0
  • 2 layers100.6 × 74.9 mmNes discrete mapper 1-1, the printed circuit board in 3D

    Nes discrete mapper 1-1

    MouseBiteLabs/NES-Cartridges

    A collection of Nintendo Entertainment System (NES) cartridge circuit boards

    55 parts25CC-BY-SA-4.0
  • 2 layers51 × 43 mmEgg timer, the printed circuit board in 3D

    Egg timer

    MakersFunDuck/Common-Kitchen-Timer-With-LCD-Replacement-Board

    A replacement PCB board for common 4 digit 7 segment LCD kitchen timers.

    25 parts13GPL-3.0
  • 2 layers10.2 × 27.7 mmXbox tray emulator, the printed circuit board in 3D

    Xbox tray emulator

    AR1972/Xbox_tray_emulator

    Original Xbox DVD tray emulation via ATtiny MCU

    6 parts6WTFPL
  • 2 layers70 × 50.1 mmDoom clock, the printed circuit board in 3D

    Doom clock

    stecman/avr-doomclock

    GPS clock on an ATTiny with MAX7219 7-segment driver

    24 parts5MIT
  • 2 layers40 × 25 mmToastFlow, the printed circuit board in 3D

    ToastFlow

    jaanuskalde/ToastFlow

    Toaster reflow oven controller

    23 parts1
  • 2 layers40 × 40 mmMCLB, the printed circuit board in 3D

    MCLB

    leandroebner/Morse-Code-LED-Blinker

    Designed for educational use, this minimalistic LED-based project offers an accessible and effective platform for learning the fundamentals of soldering, electronics, and programming.

    8 parts1CERN-OHL-S-2.0

Questions

How big is the Digipot PCB?

It measures 26.2 × 29.7 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Digipot use?

5 parts, built around the ATTINY13A-SU. 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 Digipot KiCad files?

From the dilshan/mcp4141-digital-pot repository on GitHub, at the commit this page was made from: the board is design/digipot.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Digipot 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).