DigiPot – Rotary Encoder Digital Potentiometer

DigiPot is a digital potentiometer using a rotary encoder as input along with a 7 segment display that show the current pot value.

Rotary Encoder Digital Potentiometer


The “potentiometer” is actually a rotary encoder (TW-700198) connected to a microcontroller that reads the signal from it and convert it to a value that is displayed on 7-segment displays. The value also is sent via i2c/spi/serial/usb to the host. Also 3 LED and included for status indication.

The board is planned to either be operated in an autonomous mode where the display is updated by the board itself or in a host mode where the host is telling the board what to display.

.: source code isn’t available yet :.

A “Rotary Encoder” aka “Quadrature Encoder” is sending pulses to the microcontroller that will determine how the user is turnin the knob and calculating a current value for it. This value will be digitally sent to the host via i2c or another serial protocol. At the same time an analogue voltage will be generated and be presented at a output.

Possibly also the value could be sent to a digital potentiometer chip like a MCP4551 as well to set a resistive value.

An ATmega8/168/328 is selected as the microcontroller since it has enough i/o for this project. I also choose to use a ISPtouch connector for as the programming interface. http://dangerousprototypes.com/?p=62605


– Three digits display with movable decimal point.
– Three status leds.
– Quadrature encoder with button-functionality.
– Communicate with host via i2c/serial-ttl.
– Multiple units can be chained.
– The value can be output as an analogue voltage with 12 bit resolution.

READ  Glasshouse LEDs save greenhouse gasses


For more detail: DigiPot – Rotary Encoder Digital Potentiometer

Current Project / Post can also be found using:

  • pic micro controller digi pot

Leave a Comment

= 3 + 8

Read previous post:
SAR 18-bit ADC with voltage ref comes in 12-pin package
SAR 18-bit ADC with ref comes in 12-pin package

Description The MAX11156 18-bit, 500ksps, SAR ADC offers excellent AC and DC performance with true bipolar input range, small size,...

Scroll to top