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.
Study Case 01 - Bar Graph
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.
Study Case 02 - Display Control
Connect analog rotation brick to P0 port on OCTOPUS:BIT.
You can see the whole program from the link here: https://makecode.microbit.org/_CAYMFWJyJ4rf
Or you can download it from the page below.
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.
1 x Octopus Analog Rotation Brick-Blue
1 x 3-pin Cable