Download Banana PI U ser Manual

Transcript
@EJ>
Banana PI User M anual
Banana PI
User Manual
<Version: V2.0 >
1
®
Banana PI User M anual
Banana PI is the open source hardware platform which published to assistant the
Elastos.org open source OS, Banana PI M1 is the dual core Android 4.2 product
which more better than the Raspbeny Pi.
Banana Pi series run Android,Debian linux,Ubuntu linux, Raspbeny Pi imange and
cubieboard imange.
Elastos coordinate multi CUP to fi:om the family cloud entirnment which based on the
"software/hardware service"
Banana PI hardware: 1Ghz ARM7 dual-c01·e processor, 1GB DDR3 SDRAM,
Banana PI with Gigabit ethernet port, SATA Socket. It can run with Android 4.2.2
smoothly. The size ofBanana PI M1like the credit card, it can easily run with the
game it support 1080P high defmition video output, the GPIO compatible with
Raspberry Pi and can run the ROM Image directly
Hardware specification
CPU
A20 ARM Cortex™-A7 Dual-C01·e
GPU
ARM Mali400MP2Complies with OpenGL ES 2.011.1
Memory
(SDRAM)
1GB DDR3 (shared with GPU)
Onboard
Storage
SD (Max. 64GB) 1 MMC card slot UP to 2T on 2.5 SATA disk
Onboard
Network
10/ 10011000 Ethernet RJ45 ,optional WIFI
Video Input
A CSI input connector allows for the connection of a designed camera module
Video
Outputs
HDMI, CVBS , LVDS/RGB
Audio Output 3.5 mm Jack and HDMI
Power
So urce
5 volt via MicroUSB(DC In Only) and/or MicroUSB (OTG)
USB 2.0
Ports
2 (direct from Allwinner A20 chip)
Buttons
Reset button: Next to MicroUSB connector
Power button: Next to Reset button
Boot button (Optional): Behind HDMI connector
2
@PP
Banana PI User Manual
GPI0(2X13) GPIO,UART,I2C bus,SPI bus with two chip selects,
pm
CAN bus,ADC,PWM,+3.3v,+5v,ground.
LED
Power Key & RT45
Remote
IR (Optional)
OS
Android 4.2,Firefox OS and Linux etc. OS
Interface defmition
Product size
92 mm x 60mm
Weight
48g
working
temperature
range
-15~7 5
·e
Hardware
Front:
3
®
Banana PI User Manual
Back:
Interface
RCA VTEDO OUT
GPIO HEAOERS
POWER STATUS LEOS
(
l RRECElVER
/
AUDIO OUT
r
US82.0
OSI OTSP!AY CONNEa'OR
SDCARDSLOT
( 8ACK OF BOARD)
USB OTG
ETHERNET OUT
POWER
..,...,-'
MJCRO USB POWER ( 5V lA OC)
CSl CONNEa'OR CAMERA
4
®
Banana PI User Manual
Hardware connect sketch map
Sc:rMn
TFT toud1
OSI
uneS!
Kr~n
SPJUU powtr
..•'
•'
SO card
·Cb:ss 2,4.6,10~>2
ti DI J.t tiYI
•G8 .l 71UU
UAftf CortHI
•",,_
'•, GPlO
,Audio out¡wt
I.JSB port
~"'""""ilt::ua~
S
®
Banana PI User M anual
Use method
Step 1: Get what you need
First time to enjoy your Banana Pi, you need at least the accessories in the table
below.
No.
Minimu recommended specification & notes
ltem
• Minimum size 4Gb; class 4 (the class indicates how fast
the card is).
SD card
1
• We recommend using branded SD cards as they are
more reliable.
2a
2b
•
HDMI to HDMI lead (for HD TVs and monitors with
HDMI input).
OR
HDMI to DVI lead (for monitors with DVI input).
•
A standard AV video lead to connect to your analogue
display ifyou are not using the HDMI output.
•
•
Any standard USB keyboard and mouse should work.
Keyboards or mice that take a lot of power fi:om the
USB ports, however, may need a powered USB hub.
This may include sorne wireless devices.
•
Networking is optional, although it makes updating and
getting new software for your Banana Pi much easier.
•
A good quality, micro USB power supply that can
provide at least 700mA at 5Vis essential.
Many mobile phone chargers are suitable---check the
label on the plug.
HDMI(Full sized)
toHDMI / DVI
lead
A V video lead
3
Keyboard and
mouse
4
Ethernet
cable!USB
WiFi(Optional)
S
Micro USB power
adapter
6
Audio lead
(Optional)
7
Mobile Hard disk
(Optional)
•
•
You can choose a 3.5mmjack audio led to connect to
audio port to get stereo audio.
•
You can choose to connect a mobile hard disk to SATA
p01t to store more files.
6
@eP
Banana PI User Manual
HDMI to HDMI lead
HDMI to DVI lead
SD card
AV video lead
Micro USB power adapter
Step 2: Download the relevant Image file:
Please visit our webmaster: www.banana-pi.com to download image, banana pian
image can be download form this web.
Step3: Prepare your SD card for the Banana Pi
In order to enjoy your Banana Pi, you will need to instan an Operating System (OS)
onto an SD card. Instructions below win teach you how to write an OS image to your
SD card under Windows and Linux.
l . Insert your SD card into your computer. The size of SD should be larger than
the OS image size, generany 4GB or greater.
2. Format the SD card.
Windows:
1.
Download the a SD card format tool such as SD Formatter fi:om
https://www.sdcard.org/downloads/formatter 4/eula windows/
n.
Unzip the download file and run the setup.exe to instan the tool on
your machine.
m.
In the "Options" menu, set "FORMAT TYPE" option to QUICK,
"FORMAT SIZE ADWSTMENT" option to "ON".
7
®
Banana PI User M anual
1 ................
for...
ct ...
.......
1,...
~
AIIOIIho<Sota
~-,.,..
....... "
s~·
.XC:
SO.SOtte<r<lSO~ l_.,. *""'-'
1
50-JC.li.C
ol
Mr.ii
s'".,
r..-~~
OOle("~RMI\T.
n
1
08
""""" w..~
PlJ:iOVfm
~~
f01>.14ATSIU A"O.JUSnt(Nn)fF
Option Setting
FORMAT TYPE
(.._Q_UIO
__
K_ _ _ ___,
• ]
FORMAT SJZE
AOJUSTMENT
.._
O_N_ _ _ _ ___,
•
f
]
Cancel
IV.
Check that the SD card you inserted matches the one selected by the
Tool.
v.
Click the "Format" button.
Linux:
v1.
Runfdisk -l command to check the SD card node.
vn.
Run sudo [disk ldevlsdx command to delete all partition of SD card.
vm.
Run mkfs -t vfat ldevlsdx command to format the entire SD card as
FAT.
(x should be replaced according to your SD card node)
3. Download the OS image from Download district.
4. Unzip the download file to get the OS image.
Windows: Right click on the file and choose "Extract all".
Linux: Run unzip [downloaded filename] command.
8
®
Banana PI User Manual
5. Write the image file to the SD card.
Windows:
1.
Download a tool that can wirte image to SD card, such as Win32
Diskimager fi:om:
http://sourceforge.net/projects/win32diskimager/files/ Archive/
n.
Open the unzipped image file.
l ·c::rj..§-1-Si.-l
' .. 1Nin32 Disk lmager
Image File
Device
~ I IG: \J
G:/banana pi / pi . 8GB/pi . 8GB
[!]
·)
MDS Hash
Progress
j
l
m.
Cancel
JI
Read
11
l'rite
][
Exit
1
Click Write button. Wait patiently to successfully complete writing.
Linux:
1v.
Runfdisk -1 command to check the SD card node.
v.
Run dd if=[imagename] of=/devlsdx command to write image file to
SD card. Wait patiently to successfully complete writing.
Step4: Set up your Banana Pi
According to the set up diagram below, you can easily set up your Banana Pi.
l . Insert the written-image SD card that to the SD card spot on the left side edge
ofthe underside ofthe board.
2. On the bottom "edge" in the middle ofthe board is the HDMI Type A (Full
sized) p01t, just on the right ofthe SATA p01t. Just connect any HDMI cable
fi:om the board to your TV or HDMI Monitor.
If you don't have an TV/Monitor with a HDMI or DVI-D port you can use the
9
Banana PI User M anual
yellow AV jack located in the middle ofthe "top" edge and the 3.5 nun stereo
headphone jack to the right of it.
3. Plug a USB keyboard and mouse into the USB slots located on the right edge.
4. Just under the USB ports on the right edge is the ethernet connector for anyone
who wants to plug the Banana Pi into a wired network.
5. Finally, at the very left of the bottom edge is the micro-usb power
connector. Plug in a regulated power supply that is rated at 5V ±5% and at
least 700mA (or 0.7A). Any number bigger than 700 mA (like lOOOmA) will
also work. Avoid using the smaller chargers used for small GSM phones, as
these are often unregulated, even ifthey claim "5V lA", they may do "5V"
and may do "lA", but not at the same time!
The mini-USB (on the left) is the wrong one. It's thicker and looks like a
trapezoid with its sides pinched in. The micro-USB (on the right) is the
conect one. It is thinner and also looks like a trapezoid except it's sides are
rounded outward.
10
Banana PI User Manual
If all goes well, the Banana Pi will boot in a few minutes. The screen will display the
OS GUI.
StepS: Shut down your Banana Pi
Y ou can use the GUI to shut down the Banana Pi safely.
Also you can run the cornmand in the tenninal:
sudo halt
or
sudo shutdown -h.
This will shut down the PI safely, (just use the power key to tmn off might
damage the SD-cards file system). After that you can press the power key for 5
seconds to turn it off.
11
@eP
Banana PI User M anual
If all is well ,so you can use banana pi now.
GPIO specificat ion
Banana Pi 26-pin GPIO
Banana Pi has a 26-pin GPIO header that matches that ofthe ModelA and Model B Raspberry Pi. Following is the
Banana Pi GPIO Pinout:
Pin 1
3.3V1
12C-SDA
12C-SCL
GCLK
GND
GP IOO
GP IO 2
GP IO 3
3.3V2
SPI MOSI
SPI M ISO
SPI CLK
GND
o
o
o
o
o
o
o
o
o
o
o
o
o
Pin 25
Pi n 2
o
o
o
o
o
o
o
o
o
o
o
o
o
SVl
SV2
GND
UART-TX
UART-RX
GP IO 1
GND
GP I0 4
GP IO 5
GND
GP IO 6
SP I CEO
SP I CEl
Pi n 26
12
®
Banana PI User Manua l
CSI Camera Connector specification:
CSI Camera Connector
The CSI Camera Cmmector is a 40-pin FPC connector which can cmmect externa! camera module with proper
signa! pin mappings. The pin definitions ofthe CSI inteiface are shown as below. Tilis is marked on the Banana
Pi board as "CONl ".
CSI Pin
Pin Name
CONl POI
LINEINL
CONl P02
LINEINR
CONl P03
VCC-CSI
CONl P04
ADC Xl
CONl POS
GND
CONl P06
ADC X2
CONl P07
FMINL
CONl POS
ADC Yl
CONl P09
FMINR
CONl PlO
ADC Y2
CONl Pll
GND
CONl Pl2
CSI-FLASH
CONl Pl3
LRADCO
CONl Pl4
TWil-SOA
CONl PIS
LRADCl
CONl Pl6
TWil-SCK
PBlS
CONl Pl7
CSI-00
PE4
CONl PIS
CSIO-STBY-EN
PH19
CONl Pl9
CSI0-01
PES
CONl P20
CSI-PCLK
PEO
CONl P21
CSI-02
PE6
CONl P22
CSIO-PWR-EN
PH16
CONl P23
CSI-D3
PE7
CONl P24
CSIO-MCLK
PEl
CONl P2S
CSI-04
PES
CONl P26
CSIO-RESET#
PH14
CONl P27
CSI-OS
PE9
CONl P2S
CSI-VSYNC
PE3
CONl P29
CSI-06
PElO
CONl P30
CSI-HSYNC
PE2
GPIO
PH17
PB19
13
Banana PI User M anual
CONl P31
CS1-07
PEll
CONl P32
CSil-STBY-EN
PH18
CONl P33
RESET#
CONl P34
CSil-RESET#
PH13
CONl P35
CSI-IOO
PHll
CONl P36
HPR
CONl P37
HPL
CONl P38
IPSOUT
CONl P39
GND
CONl P40
IPSOUT
LVDS specification
L VDS (LCD display interface)
The LVDS Cormector is a 40-pin FPC connector which can cormect external LCO panel (LVDS) and touch screen
(I2C) module as well. The pin definitions ofthis connector are shown as below. This is marked on the Banana Pi
board as "CON2".
LVDS Pin
Multiplex Function Select
GPIO
Multi 1
Multi 2
PinName
CON2 POI
IPSOUT(5V output)
CON2P02
TWI3-SOA
CON2 P03
IPSOUT(5V output)
CON2P04
TWI3-SCK
CON2 POS
GNO
CON2P06
LC00-100
PH7
CON2 P07
LCDI0-03
PH12
CON2P08
LC00-101
PHS
CON2 P09
LC00-00
CON2 PlO
PWMO
CON2 Pll
LCOO-Dl
CON2 Pl2
LC00-102
CON2Pl3
LC00-02
CON2 Pl4
LCOO-OE
CON2 Pl5
LC00-03
CON2 Pl6
LCOO-VSYNC
CON2 Pl7
LC00-04
CON2 PIS
LCOO-HSYNC
CON2 Pl9
LC00-05
CON2P20
LCOO-CS
Pll
PIO
LVDSO-VPO
POO
PB2
LVDSO-VNO
POI
PH9
LVDSO-VPI
P02
P025
LVDSO-VNI
P03
P027
LVDSO-VP2
P04
P026
LVDSO-VN2
POS
PH6
14
Qfpj)
Banana PI User Manual
CON2 P21
LC00-06
LVDSO-VPC
CON2P22
LCOO-CLK
CON2P23
LCOO-D7
CON2P24
GNO
CON2 P25
LC00-08
CON2P26
LC00-023
CON2 P27
LC00-09
CON2P28
LC00-022
P022
CON2P29
LC00-010
P010
CON2 P30
LC00-021
P021
CON2 P31
LC00-011
POli
CON2P32
LC00-020
P020
CON2 P33
LC00-012
P012
CON2 P34
LC00-019
P019
CON2 P35
LC00-013
P013
CON2 P36
LC00-018
P018
CON2 P37
LC00-014
P014
CON2 P38
LC00-017
P017
CON2 P39
LC00-015
P015
CON2P40
LC00-016
P016
P06
P024
LVDSO-VNC
P07
LVDSO-VP3
P08
P023
LVDSO-VN3
P09
UART specification:
Thejumper J11 is the UART inteiface. For developers ofBanana Pi, this is an easywayto get the UART console
output to check the system status and log message.
Jll Pin
Multiplex Function Select
GPIO
Multi 1
Multi 2
PinName
Jl1 Pin1
TXD
UARTO-TX
PB22
Jl1 Pin2
RXD
UARTO-RX
PB23
The jumper J12 provides the power source including 3.3V and 5V. There is a pair ofUART TXIRX signals
output here.
J12 Pin
Multiplex Function Select
GPIO
Multi 1
Multi 2
Pin Name
Jl2 Pin 1
5V
J12Pin2
3.3V
J12 Pin3
NC
I0-7
PH5
J12Pin4
RXD
UART7 RX
PI21
J12 Pin5
NC
I0-8
PH3
Jl2 Pin6
TXD
UART7 TX
PI20
15
®
Banana PI User Manual
Jl2Pin7
GND
J12Pin8
GND
All GPIO define list:
5V
SDA
5V
se
GND
GCLK
TXD
GND
RXD
lOO
Io- 1
10 2
Gl'\0
10 3
l04
105
GND
lQ-6
o
CSl
Banana Pi V1.4 PIN define
PIN
CONI-POI
CON1-P02
PIN define
GPIO
LINEINL
LINEINR
16
®
Banana PI User Manual
CON 1-P04
CON 1-P06
CON 1-P08
CON l-PlO
CON 1-Pl3
CON 1-Pl5
ADC Yl
ADC Y2
LRADCO
LRADC l
CON 1-Pl7
CON 1-Pl9
CON 1-P21
CON 1-P23
CON 1-P25
CON 1-P27
CON 1-P29
CON 1-P31
CON 1-P20
CON 1-P24
CON 1-P28
CON 1-P30
CON1-Pl8
CON1-P26
CON1-P32
CON1-P34
CON1-Pl4
CON1-Pl6
CON1-Pl2
CON1-P22
CON1-P35
CSI-DO
CSI-Dl
CSI-D2
CSI-D3
CSI-D4
CSI-D5
CSI-D6
CSI-D7
CSI-PCLK
CSI-MCLK
CSI-VSYNC
CSI-HSYNC
CSIO-STBY-EN
CSIO-RESET#
CSil-STBY-EN
CSil-RESET#
TWil-SDA
TWil-SCK
CSI-FLASH
CSIO-PWR-EN
CSI-100
PE4
PES
PE6
PE?
PE8
PE9
PElO
PEll
PEO
PEl
PE3
PE2
PH19
PH14
PH18
PH13
PB19
PB18
PH17
PH16
PHll
CON2-P09
CON2-Pll
CON2-Pl3
CON2-Pl5
CON2-Pl7
LCDO-DOO
LCDO-DOl
LCDO-D02
LCDO-D03
LCDO-D04
PDO
PDl
PD2
PD3
PD4
17
®
Banana PI User Manual
CON2-Pl9
CON2-P21
CON2-P23
CON2-P25
CON2-P27
CON2-P29
CON2-P31
CON2-P33
CON2-P35
CON2-P37
CON2-P39
CON2-P40
CON2-P38
CON2-P36
CON2-P34
CON2-P32
CON2-P30
CON2-P28
CON2-P26
CON2-P22
CON2-P20
CON2-Pl8
CON2-Pl6
CON2-Pl4
CON2-Pl 2
CON2-Pl0
CON2-P08
CON2-P06
CON2-P04
CON2-P02
CON2-P07
LCDO-D05
LCDO-D06
LCDO-D07
LCDO-D08
LCDO-D09
LCDO-DlO
LCDO-Dll
LCDO-Dl 2
LCDO-Dl3
LCDO-Dl4
LCDO-Dl5
LCDO-Dl6
LCDO-Dl 7
LCDO-Dl8
LCDO-Dl 9
LCDO-D20
LCDO-D21
LCDO-D22
LCDO-D23
LCDO-CLK
LCDO-CS
LCDO-HSYNC
LCDO-VSYNC
LCDO-DE
LCD0-102
PWMO
LCD0-10 1
LCD0-100
TWI3-SCK
TWI3-SDA
LCDI0 -03
PD5
PD6
PD7
PD8
PD9
PDlO
PDll
PD12
PD13
PD14
PD15
PD16
PD17
PD18
PD19
PD20
PD21
PD22
PD23
PD24
PH6
PD26
PD27
PD25
PH9
PB2
PH8
PH7
PIO
Pll
PH12
CON3-Pl8
CON3-Pl6
CON3-P23
CON3-P21
CAN RX
CAN__TX
SPIO_CLK
SPIO MISO
PH21
PH20
Plll
PI1 3
18
@eP
Banana PI User Manual
CON3-Pl9
CON3-P24
CON3-P22
CON3-Pll
CON3-Pl3
CON3-PIO
CON3-P08
Jll-POI
Jll-P02
PI1 2
PilO
UART2 RTS
UART2 RX
UART3 TX
PI1 6
PI1 9
PI18
PHI
PHO
UARTO-TX
UARTO-RX
PB22
PB23
u
u
19