ElecFreaks
Octopus Analog Rotation Brick OBARot
Octopus Electronic Bricks, you can use them to build electronics projects just as easy as piling bricks. By using Octopus electronic bricks, you may conne...
Octopus Electronic Bricks, you can use them to build electronics projects just as easy as piling bricks. By using Octopus electronic bricks, you may connect Arduino/Freaduino compatible boards easily with various digital, analog and I2C/Uart interfaces. These the breadboard-less firm connection are prepared to extensive modules like poteniometers, sensors, relays, servos even buttons, just plug and play.
Octopus Analog Rotation Brick is arduino compatible and can be rotated up to 300-degree. It is based on the potentiometer. With the Arduino IO expansion board, in combination, it can be very easy to achieve position-dependent interaction with the rotating effect or produce MIDI instrument.
The Freaduino Sensor Shield is the perfect shield to connect this senor to Arduino. Or Freaduino UNO which we had pre-stray Octopus Brick interface.
Specification
Power supply needs: 5V
Interface type: Analog
Pin Definition: S-Sigal V-VCC G-GND
Wide detecting scope
Fast response and High sensitivity
300 degree rotation sensor
Size: 19x27mm
Quick Start
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 knob on analog rotation brick in clockwise direction, then LEDs on micro:bit screen will be turned on gradually. Rotate the knob in anti-clockwise direction, then LEDs will be turned off one by one.
Resources:
Please visit the ElecFreaks wiki page for more info about this product. It will be appreciated if you can help us improve the documents, add more demo code or tutorials.
Jargon buster
Plain-language definitions for the technical terms used above.
- I2C
- I2C is a two-wire communication bus used by many sensors and small modules. It matters because several I2C devices can share the same two wires, but each device needs a compatible address and your controller must support I2C.
- MIDI
- MIDI is a standard way for electronic instruments, controllers, and software to send musical control messages such as notes, velocity, and timing. If a board supports MIDI, it can be triggered from keyboards, drum pads, sequencers, or other music gear rather than only from buttons or code.
- potentiometer
- A variable resistor usually turned with a knob or shaft to create an adjustable electrical signal. It is often used for inputs such as volume, brightness or position, so it helps beginners learn how a microcontroller reads changing values.
- Shield
- An add-on board that plugs into a main controller board to give it extra features such as sensing, motor control or communication. Knowing a product supports shields helps you judge whether it can connect neatly into an existing maker-board setup.
- UART
- UART is a simple serial connection that sends data over separate transmit and receive wires, often labelled TX and RX. It matters because this module is designed to replace a wired UART cable with a wireless link while keeping the same serial data format.
Find this product in
Sensors & Input
Related Tutorials
Free guides on learn.littlebird.com.au