Octopus Piranha LED Brick

From Wiki

Jump to: navigation, search

Contents

Introduction

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

Feature

Schematic

OB-Piranha-LED-03.jpg


Soil-OB-05.jpg

Specification

Pin definition and Rating

GND VCC Signal
GND VCC Signal

Mechanic Dimensions

LED cc.jpg

Usage

Soil-OB-07.jpg


Hardware Installation

Octopus Piranha LED Brick.jpg

Programming

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
  }
}

Example

The projects and application examples.

OB.jpg

Soil-OB-06.jpg



SHD IOE01 6.jpg


PushButtonS-07.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

products.

Resources

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.

Licensing

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

Personal tools
Namespaces
Variants
Actions
Navigation
Support
Toolbox