Banana pi berryclip 6led add-on DIY board

Brand Name:banana pi
Certification:ce,fcc,rosh
Model Number:berryclip 6led add-on DIY board
Minimum Order Quantity:100pcs
Delivery Time:within 3 days
Payment Terms:T/T,W/U,Paypal
Contact Now

Add to Cart

Active Member
Location: Shenzhen Guangdong
Business type: Manufacturer, Exporter, Seller
Address: 5/F, Comprehensive Building of Zhongxing Industry City, Chuangye Road, Nanshan District, Shenzhen
Supplier`s last login times: within 36 hours
Product Details Company Profile
Product Details

berryclip 6led add-on DIY board

  • Brand:banana pi Accessories
  • Model:berryclip 6led add-on DIY board,can use on raspberry pi board
  • Price:
  • contact with: cherryjiang at banana-pi.com
  • skype: sinovoip-02
  • www.banana-pi.com

Introduction:


Specifications:

Banana Pi BerryClip 6 LED Module Python Learning Add-on Board

Banana Pi BerryClip 6 LED Module Python Learning Add-on Board


Product Overview:

The module is designed specifically for learning control the GPIO of Banana Pi. 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


Product 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

#include


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();

}


}

China Banana pi berryclip 6led add-on DIY board supplier

Banana pi berryclip 6led add-on DIY board

Inquiry Cart 0