# ANGLE SKU:U005
## Description **ANGLE** is a rotary switch Unit which simply includes a **10K** Ohm potentiometer inside. This unit can be used for Continuous signal rotatory control for applications such as volume, brightness, or motor speed. A potentiometer is a manually adjustable variable resistor with three terminals: Two terminals are connected to a resistive element, the third terminal is connected to an adjustable wiper. The position of the wiper determines the output voltage. The out voltage is captured and converted by AD on ESP32 on portB. *In M5Stack product system, Normally the Grove color indicates the type of communications.* - Black: Single BUS (AD ,DA ,GPIO) - Red: I2C - Blue:Uart - White: Others(depends) The Unit's Grove interface is black, specify it is an analog interface that should be connected to the M5Core's GROVE B interface. ## Product Features - Output voltage range: 0 ~ 2500mV - GROVE interface, support [UIFlow](http://flow.m5stack.com) and [Arduino](http://www.arduino.cc) - Two Lego-compatible holes ## Include - 1x ANGLE Unit - 1x Grove Cable ## Specification
Resources Parameter
Output voltage 0 ~ 2500mV
Net weight 6g
Gross weight 23g
Product Size 32*24*22mm
Package Size 73*46*30mm
## EasyLoader >EasyLoader is a concise and fast program writer, which has a built-in case program related to the product. It can be burned to the main control by simple steps to perform a series of function verification. Please install the corresponding driver according to the device type. M5Core host [Please click here to view the CP210X driver installation tutorial](en/arduino/arduino_development), M5StickC/V/T/ATOM series can be used without driver)

Description:

Display knob analog value data.

## Schematic ## PinMap
M5Core(GROVE B)GPIO36GPIO265VGND
ANGLE UnitSensor Pin 5VGND
## Example ### 1. Arduino The code below is incomplete. To get the complete code, please click [here](https://github.com/m5stack/M5Stack/tree/master/examples/Unit/ANGLE) ### 2. UIFlow - [Click here to download the UIFlow example](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/ANGLE/UIFlow) Last updated: 2020-12-10