Files
2021-02-05 16:54:45 +08:00

4.8 KiB
Raw Permalink Blame History

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
  • BlueUart
  • 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 and Arduino
  • 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, 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

2. UIFlow

Last updated: 2020-12-10

<script> var purchase_link = 'https://m5stack.com/collections/m5-unit/products/angle-unit'; anchor_search(purchase_link); scrollFunc(); </script>