You are on page 1of 47

Cubieboard.

org
An introduction to cubieboard
Cubieboard.org
About me
(Benn Huang)
From cubietech
benn@cubietech.com
Cubieboard.org
About cubietech

The company behind cubieboard

Founded in 2013.3.2

Ba!ed in "huhai

#mbedded de$ice! manu%acture

Community dri$en

&'oba' !ma'' company


Cubieboard.org
Hard(are )peci%ication!

C*+ dynamica''y %re,uency !ca'ing


(-0.H/01&H/)

1 or 2 core! C*+ optiona'

1&B 1123

3&B 4and F'a!h

21531 &*+

21-0p H1 6ideo *roce!!or

72C8 9- &*7:!8 T;.8 2.< )ATA8 #thernet8 =


Cubieboard.org
)o%t(are )peci%ication!

*rein!ta'' android 3.>

)upport 'ubunut 12.03 de!t?op8 ubuntu


13.03 !er$er
http@55'inu>A!un>i.org57n!ta''B+buntuBCinu>B%orBCubieboard

)upport Fedora 1D

)upport Ea'i Cinu>

)upport 1ebian Cinu>

...
Cubieboard.org
Cubieboard.org
Cubieboard.org
Fuic? o$er$ie( A top
Cubieboard.org
Fuic? o$er$ie( A H1.7
Cubieboard.org
Fuic? o$er$ie( A H1.7
Cubieboard.org
Fuic? o$er$ie( G +)B ho!t
Cubieboard.org
Fuic? o$er$ie( A )ATA
Cubieboard.org
;hat needed

*o(er adapter

*o(er cab'e

H1.7 cab'e

H1.7 monitor5T6

+)B mou!e H ?eyboard


Cubieboard.org
*repare the u)1 card

1. 1o(n'oad the too'


;indo( G ;in321i!?7mager
http@55!ource%orge.net5proIect!5(in32di!?imager5
Cinu> G dd

2. 1o(n'oad the image


Cubuntu G ubuntu (ith '>de de!?top

http@55d'.cubieboard.org5!o%t(are5ubuntu5cbA!dcardA1.1A'inaroA,uanta'Aa'ipA2013022JA290.img.tg/

Cubieboard.org
*repare the u)1 card

7n!ert the u)1 card to card reader and


connect to *C

2un 7mage ;riter

Choo!e the image and di!? and c'ic?


;rite

1one
Cubieboard.org
*repare the u)1 card
Cubieboard.org
*o(er on

7n!ert the u)1 card to the cubie

Connect H1.75#thernet cab'e

Connect +)B mou!e5?eyboard

*'ug in the po(er cab'e


*o(er red 'ed on8 cubie !tart! booting...
Cubieboard.org
*o(er on
Cubieboard.org
)tatu! 'ed!
1e%au't con%iguration o% t(o 'ed!

B'ue@ heart beat

&reen@ u)1 card reading5(riting


.ore in%ormation@
http@55'inu>A!un>i.org5Cubieboard5*rogramming5)tatu!C#1!
Cubieboard.org
connect to *C
Cubieboard.org
Cubuntu 1e!?top
Cubieboard.org
App'ication!

7nternet bro(!ing G Chromium

Fi'e manager G *acman F.

:%%ice G Cibreo%%ice

*1F reader A #$ince

Termina' G C>termina'
=...
Cubieboard.org
;hat<! e'!eK

+!e cubie a! (eb !er$er

+!e cubie a! android t$

+!e cubie a! 4A)

+!e cubie a!...


Cubieboard.org
#>amp'e 1 G &*7:

!udo aptAget in!ta'' pythonAde$

(get http@55d'.'inu>A
!un>i.org5u!er!5tom5py)+4L7A
0.1.12.tar.g/

tar />% py)+4L7A0.1.12.tar.g/

!udo python !etup.py in!ta''


Cubieboard.org
;rap the breadboard
Cubieboard.org
Cubieboard.org
Code G b'in? 'ed!
#!/usr/bin/env python
import SUNXI_GPIO as GPIO
import time
RED_LED = GPIO.PD0
GPIO.init()
GPIO.setcfg(RED_LED, GPIO.OUT)

while True:
GPIO.output(RED_LED,
GPIO.HIGH)
time.sleep(1)
GPIO.output(RED_LED, GPIO.LOW)
time.sleep(1)
Cubieboard.org
&mai' noti%ier

!udo aptAget in!ta'' pythonApip

!udo pip in!ta'' %eedpar!er


Cubieboard.org
Code A &mai' noti%ier
#!/usr/bin/env python
import SUNXI_GPIO as GPIO, feedparser, time
DEBUG = 1
USERNAME = "tomcubie" # just the part before the @ sign,
add yours here
PASSWORD = "cubieboard"
GREEN_LED = GPIO.PD0
RED_LED = GPIO.PD2
GPIO.init()
GPIO.setcfg(GREEN_LED, GPIO.OUT)
GPIO.setcfg(RED_LED, GPIO.OUT)
while True:
newmails = int(feedparser.parse("https://" + USERNAME +
":" + PASSWORD +"@mail.google.com/gmail/feed/atom")["feed"]
["fullcount"])
if DEBUG:
print "You have", newmails, "new emails!"
if newmails > 0:
GPIO.output(GREEN_LED, GPIO.LOW)
GPIO.output(RED_LED, GPIO.LOW)
else:
GPIO.output(GREEN_LED, GPIO.HIGH)
GPIO.output(RED_LED, GPIO.HIGH)
time.sleep(60)
Cubieboard.org
#>amp'e 2 G :(nc'oud on cubie

!udo aptAget in!ta'' apache2 php phpAgd


phpA>m'Apar!er phpAint'

!udo aptAget in!ta'' phpA!,'ite phpAmy!,'


!mbc'ient cur' 'ibcur'3 phpAcur'

(get
http@55do(n'oad.o(nc'oud.org5community5o(
nc'oudA.0.-.tar.b/2
Cubieboard.org
7n!ta'' o(nc'oud

tar I>% o(nc'oudA.0.-.tar.b/2

!udo rm 5$ar5(((5inde>.htm'

!udo m$ o(nc'oud5M 5$ar5(((5

!udo cho(n A2 (((Adata@(((Adata


5$ar5(((

:pen (eb bro(!er8 point to cubie 7*


Cubieboard.org
:(nc'oud
Cubieboard.org
:(nc'oud android c'ient
Cubieboard.org
#>amp'e 3 G min in!ta''
ubuntu 12.03 on Cubieboard

1o(n'oad ubunu image!


http@55'inu>A!un>i.org57n!ta''B+buntuBCinu>B%orBCubieboard

)tart Ci$e!uit8 and !e'ect the image


Cubieboard.org
#>amp'e 3 G min in!ta''
ubuntu 12.03 on Cubieboard
Cubieboard.org
Community

Chine!e Forum@ cn.cubieboard.org

FF group@ 9201J9-3

&oog'e group@ cubieboard

72C channe'@ Ncubieboard

&O community@ cubieboard


Cubieboard.org
1ocument!

http@55'inu>A!un>i.org5Cubieboard

http!@55github.com5cubieboo?5cubieboo?
Cubieboard.org
4e( more po(er%u' board i!
comingPP
Hardware Features

1 AllWinnerTech SOC A20 ARM Cortex!A" #ual!Core #ual!Core ARM Mali$00 M%2 Co&'lies with O'en() *S 2+0,1+1
2 1(-,2(- 2(- ##R./$00MH1
. H#M234(A H#M234(A 1000% dis'la5 out'ut on!6oard
$ 10M,100M,1000M6's *thernet 1000M6's *thernet
7 Wi8i9-T wireless Wi8i9-T wireless connection with antenna on!6oard
: SATA SATA 2+0 inter8ace su''ort 2+7; H## <8or .+7; H##= onl5 need another 124 'ower in'ut>
" Me&er5 solution ?A?#9MicroS# or TS#9 MicroS# or 2@MicroS#
0 2 x AS- HOST 1 x OT(1 x S%#2F 1 x 2R $ x )*#s 1 Head'hone . x Be5s
C %ower #C74 / 2+7A with H## su''ort )i!6atter5 3 RTC su''ort )i!6atter5 3 RTC
10 7$ extended 'ins 7$ extended 'ins includinD 22S= 22C= S%2= C4-S= )RA#C x2=AART= %S2= %WMx2= TS,CS2= 2R#A= )2?*2?3FM2?3M2C2?= T42?x$ with 2+0 'itch
connectors
11 %C- si1e 11c& @0c&@1+$&&Eer5 suite 8or installinD a 2+7; H##
Cubieboard.org
CubieTruc?(i! coming)
Cubieboard.org
CubieTruc?(i! coming)
Cubieboard.org
CubieTruc?
Cubieboard.org
CubieTruc?
Cubieboard.org
CubieTruc?
Cubieboard.org
CubieTruc? a! *C
Cubieboard.org
Ho( to get one piece!K

;((.taobao.com

;((.miniand.com

;((.cubie!tore.com

;((.a'ie>pre!!.com
and many other! countrie!< di!tributor
Cubieboard.org
Qou on'y need to pay %or

Cubieboard (a10) 02992.B8 3-+)1

Cubieboard (a20) 03-2.B8


to get !uch intere!ting p'at%ormPP
Cubieboard.org
Than? you
FuestionsG

You might also like