Octopus Analog Rotation Brick-Blue
Octopus analog rotation brick is a 10K potentiometer module. Rotating the knob to change its resistance can realize voltage division while providing analog signals to the analog input IO ports of micro-controller. This module has a 3-wire anti-reverse connector, which makes it easy to connect a GVS cable.
Dimension
Features
Integrate a 3-wire anti-reverse connector.
Rotate the knob to adjust resistance without using a screw driver.
Compact structure.
Quick Start
Study Case 01 - Bar Graph
Hardware Assembly
Connect this module to P1 port on micro:bit. (See picture below)
Programming
Click to open Makecode, write your code to control micro:bit LED screen with octopus analog rotation brick.
You can see the whole program from the link
Result
Rotate the knob of octopus analog rotation brick, then its analog input value will be displayed on micro:bit screen in the form of bar graph.
Study Case 02 - Display Control
Hardware Connection
Connect analog rotation brick to P0 port on OCTOPUS:BIT.
Programming
You can see the whole program from the link
Result
Rotate the blue knob on analog rotation brick in clockwise direction, LEDs on micro:bit screen will be turned on gradually. Rotate the knob in anti-clockwise direction, LEDs will be turned off gradually.
Package List
- Octopus Analog Rotation Brick-Blue x1
- 3-pin Cable x1
Resources