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.
- Integrate a 3-wire anti-reverse connector.
- Rotate the knob to adjust resistance without using a screw driver.
- Compact structure.
1 x Octopus Analog Rotation Brick-Blue
1 x 3-pin Cable
Connect this module to P1 port on micro:bit. (See picture below)
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 here: https://makecode.microbit.org/_8FFaqMHP34Vj
You can download it from the page below.
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.