# Overview
The Lonely Binary TinkerBlock TK07 Disc Potentiometer is a compact, high-quality variable resistor designed for precise voltage control in electronic projects. Featuring a disc-shaped resistive track, it offers smooth and reliable adjustment through a rotating wiper. The TK07 is ideal for applications such as audio volume control, sensor calibration, and analog signal tuning.

> Analog Output
# Pinout
| Pin | Function |
| ------ | ------------- |
| GND | Ground |
| VCC | VCC |
| NC | Not Connected |
| Signal | Analog |
**Caution**: The VCC voltage must not exceed the analog pin voltage limit of the connected microcontroller unit (MCU). For example, do not use a 5V VCC with an ESP32, which is a 3.3V MCU. The Signal output ranges from GND to VCC, and applying a voltage above 3.3V to the ESP32's analog pins may cause permanent damage.
# Dimensions

# Components
A **disc potentiometer** is a type of potentiometer, which is a variable resistor used to adjust voltage or current in an electronic circuit. Unlike the more common linear or rotary potentiometers, a disc potentiometer has a circular, disc-shaped resistive element. By rotating the wiper (often via a knob or shaft), you can adjust the output voltage or current, similar to other potentiometers. It’s used in applications requiring precise control, such as in audio equipment, tuning circuits, or sensors.
# Sample Code
This Arduino code interfaces with the Lonely Binary TinkerBlock TK07 Disc Potentiometer to read its analog output. The potentiometer is connected to analog pin A3, and the code continuously reads the voltage on the Signal pin, which ranges from GND to VCC (0 to 1023 in analog terms). The value is printed to the Serial Monitor every 50 milliseconds for real-time monitoring or debugging.
```C++
// Define the analog pin connected to the Signal pin of the TK07 Disc Potentiometer
const int potPin = A3;
void setup() {
// Initialize serial communication at 9600 baud rate for debugging/output
Serial.begin(9600);
// Configure the potentiometer pin as an input
pinMode(potPin, INPUT);
}
void loop() {
// Read the analog value from the potentiometer (0 to 1023)
int value = analogRead(potPin);
// Print the analog value to the Serial Monitor
Serial.println(value);
// Wait for 50 milliseconds before the next reading to avoid overwhelming the Serial Monitor
delay(50);
}
```
# Product Link
For product support, manuals, tutorials, and sample code, please visit our product page to access comprehensive resources.
[https://lonelybinary.com/products/tk07](https://lonelybinary.com/products/tk07)
# Support
If you encounter any issues, please go to [https://lonelybinary.com ](https://lonelybinary.com ) and click the Support button located in the bottom right corner. Our team is ready to assist you.
[](https://lonelybinary.com)
# Thank You
Thank you for choosing TinkerBlock to fuel your passion for STEM! Whether you’re a student diving into coding, an educator shaping future innovators, a hobbyist bringing your vision to life, or a business seeking cutting-edge solutions, TinkerBlock empowers you to create, learn, and innovate.
**For school orders, wholesale inquiries, or custom business solutions, please contact us to discuss your specific needs.**
[office@lonelybinar.com](office@lonelybinary.com)
> **Unleash Your Creativity with TinkerBlock – Where Coding Meets the Real World!**
TinkerBlock UNO R3 Starter Kit
Dive into the world of electronics, Arduino programming, and STEM projects with the Lonely Binary TinkerBlock Series Starter Kit.
- Choosing a selection results in a full page refresh.