MENU

Overseas Economic and Trade Zones

Home >Members & Products >Products List > Thick CLevel Car Carpet

berryclip 6led add-on DIY board for Banana Pi support Raspberry pi

Member Details

SinoVoip Co.,Ltd

Shenzhen,Guangdong,China,Asia

LLC(Ltd Liability Corp)

  • Chinese Supplier

  • Free Member

  • Product Details
  • Company Profile


 

 

 berryclip 6led add-on 1.JPG

 

Attention:
Due to technical requirements components, please do not hand directly connected
Touch. Core board and development system contains static-sensitive devices. Quiet Electrical charge easily accumulate in the human body and the device can not detect possible Damage to equipment, it is recommended to take anti-static measures, it is recommended not to hand. Touch, stored in anti-static effect devices.

 

Product Overview:

The module is designed specifically for learning control the GPIO of Banana Pi and DIY Player. Attention, the module is not the end product, you need weld them by yourself. There are 6 LED, 1 button and 1 Beep on the module; All of them can use the GPIO of Banana Pi to control. The beginner can learn the INPUT mode of GPIO through the key and learn the OUTPUT mode through the LED or Beep

 

 Weld Notice:

When you welding the module, you have to attention the Plus-n-Minus of LED and the Beep. The long pin is the Plus, you should weld it in the silk-screen write “+”! 

 

Don’t make the direction reversed. 

DIY.jpg
 

Produce Feature:

6 multicolor LED

1 single button on board

1 Beep on board

 

Port:

BananaPi 2X13 port

 

Product Parameters:

Working voltage: 3.3V

LED max current allow 8mA

Beep max current allow 12mA

 

Typical Application:

Hardware beginner learning

Education

 

How to use:

Insert the BerryClip in the Banana Pi, Pay attention don’t make the direction reversed! The correct direction of insert module is above the Banana Pi’s PCB.

 

 

Testbench:

Setup the GPIO OUTPUT, Output LED High level, the LED will be lighten;

Setup the GPIO INPUT,press the button;

Test finish

 

 

Example and Test Code:

#include <wiringPi.h>

#include <pcf8574.h>

 

int LED1[]={7,0,3,12,13,14};

int i;

 

int initIO()

{

    pinMode(7,OUTPUT);

    pinMode(0,OUTPUT);

    pinMode(3,OUTPUT);

    pinMode(12,OUTPUT);

    pinMode(13,OUTPUT);

    pinMode(14},OUTPUT);

}

 

int LED()

{

    for(i=0;i<=6;i++)

    {

        digitalWrite(LED1[i],1);

        delay(500);

        digitalWrite(LED1[i],0);

        delay(500);

    }

}

 

int main()

{

    int val;

    wiringPiSetup();

    pcf8574Setup(200,0x27);

    initIO();

    pinMode(10,INPUT);

    digitalWrite(11,1);

    while(1)

    {

        blink();

        val=digitalRead(10);

        if(val==0)

        {

            LED();

            digitalWrite(11,1);

            i=0;

        }

        else

        blink();

    }

    

}

 

berryclip 6led add-on 2.JPGberryclip 6led add-on 3.JPGberryclip 6led add-on 4.JPG

  

accessoirer line

website:

 

technical support forum :http://www.bananapi.com/
accessories website :www.banana-pi.com
BPI factory :www.sinovoip.com.cn

Banana pi will attend the HKTDC Hong Kong Electronics Fair(Autumn Edition) 2014 in Hongkong

 

 

Banana pi will attend the HKTDC Hong Kong Electronics Fair(Autumn Edition) 2014 in Hongkong from 13/10 to 16/10, welcome to visit our Booth

Exhibition Name: HKTDC Hong Kong Electronics Fair(Autumn Edition) 
Date:  13/10/2014 to 16/10/2014
Booth Number: 3C-A38
Address: Hong Kong Convention and Exhibition Centre,1 Expo Drive, Wanchai, Hong Kong

SinoVoip CO.,LTD, 

 

 

 

Send your message to this member

  • From*
    toHelen Huang
  • Message*