Octopus Piranha LED Brick

From ElecFreaks
Jump to: navigation, search


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.

TOctopus Piranha LED light Brick, and special sensors Arduino board and ambient light sensor extension combination, can be used in the interaction with the light works.

When the LED light module connected to Arduino, the digital pin (LOW on, HIGH off) is used to control it. The brightness of LED can be controller via PWM output.

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.

There are five colors LEDs for you choosing. White(default), Red, Blue, Green, Yellow.

OB-Piranha-LED-01.jpg OB-Piranha-LED-02.jpg

Model: OBPiranha


  • Power supply: 3.3v or 5v
  • 3P buckled wires connector
  • Easy to 'plug and play
  • Five colors of LED for you choosing. White(default), Red, Blue, Green, Yellow.
  • Able to achieve very interesting and an interactive work
  • Size: 19mm x 27mm





Pin definition and Rating

GND VCC Signal
GND VCC Signal

Mechanic Dimensions

LED cc.jpg


  • 3P buckled wires connector


Hardware Installation

Octopus Piranha LED Brick.jpg


Includes important code snippet. Demo code like :

int ledPin = 13;                // choose the pin for the LED
int inputPin = 9;               // Connect sensor to input pin 3 

void setup() {
  pinMode(ledPin, OUTPUT);      // declare LED as output
  pinMode(inputPin, INPUT);     // declare pushbutton as input

void loop(){
  val = digitalRead(inputPin);  // read input value
  if (val == HIGH) {            // check if the input is HIGH
    digitalWrite(ledPin, LOW);  // turn LED OFF
  } else {
    digitalWrite(ledPin, HIGH); // turn LED ON


The projects and application examples.



SHD IOE01 6.jpg


Version Tracker

Revision Descriptions Release
v1.0b Initial public release date

Bug Tracker

Bug Tracker is the place you can publish any bugs you think you might have found during use. Please write down what you have to say, your answers will help us improve our



How to buy

Click here to buy: http://www.elecfreaks.com/estore/octopus-piranha-led-brick-obpiranha.html

See Also

Other related products and resources.


This documentation is licensed under the Creative Commons Attribution-ShareAlike License 3.0 Source code and libraries are

licensed under GPL/LGPL, see source code files for details.

External Links

Links to external webpages which provide more application ideas, documents/datasheet or software libraries