Sign In | Join Free | My ecer.com.ru
ecer.com.ru
Products
Search by Category
Home > LED Landscape Lamps >

Banana pi berryclip 6led add-on DIY board

Categories Banana Pi accessories
Place of Origin: china
Brand Name: banana pi
Model Number: berryclip 6led add-on DIY board
Certification: ce,fcc,rosh
Price: 4.7$/pcs
Packaging Details: standard packing
Delivery Time: within 3 days
Payment Terms: T/T,W/U,Paypal
Supply Ability: 500000pcs/month
MOQ: 100pcs
  • Haven't found right suppliers
  • Our buyer assistants can help you find the most suitable, 100% reliable suppliers from China.
  • And this service is free of charge.
  • we have buyer assistants who speak English, French, Spanish......and we are ready to help you anytime!
Submit Buying Request
  • Product Details
  • Company Profile

Banana pi berryclip 6led add-on DIY board

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

}


}

Quality Banana pi berryclip 6led add-on DIY board for sale
Send your message to this supplier
 
*From:
*To: Shenzhen Sino Voip Co,Ltd
*Subject:
*Message:
Characters Remaining: (0/3000)
 
Inquiry Cart 0