We can get 70 units into Australia from ElecFreaks. If you order today, we can dispatch this stock between Nov 19, 2024 - Dec 06, 2024.
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.
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 Connection
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 here
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
Code
You can see the whole program from the link here
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.
Parameters
Dimension
Document