Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
introduction_to_cubieboard
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Zoom.Quiet
May 27, 2013
Technology
310
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
introduction_to_cubieboard
[5.15]2013I/O大会珠海GDG直播之夜——吉大分场纪实
http://www.chinagdg.com/thread-1815-1-1.html
Zoom.Quiet
May 27, 2013
More Decks by Zoom.Quiet
See All by Zoom.Quiet
PyCon2014China-Zhuhai-high performance
zoomquiet
0
200
PyCon2014China-Zhuhai-meta programming
zoomquiet
1
180
PyCon2014China-Zhuhai-bpm.py
zoomquiet
0
150
PyCon2014China-Zhuhai-luna kv db
zoomquiet
0
150
PyCon2014China-Zhuhai-seed studio
zoomquiet
0
140
PyCon2014China-Zhuhai-Docker Registry Build By Python
zoomquiet
0
160
PyCon2014China-Zhuhai-jeff
zoomquiet
0
150
PyCon2014China-Zhuhai-pythonic front-end
zoomquiet
0
170
DevFest2014-Zhuhai-Polymer
zoomquiet
0
480
Other Decks in Technology
See All in Technology
プロンプト_きのこカンファレンス2026_LT
yurufuwahealer
0
130
5分でわかるDuckDB Quack
chanyou0311
4
300
NDIAS CTF 2026 問題解説会資料
bata_24
0
170
AI時代のエンジニアキャリアについて今一度考える
sakamoto_582
1
880
Kotlin 開発のツラミを爆破した話! / Explode the difficulty of Kotlin dev!
eller86
0
140
どうして今サーバーサイドKotlinを選択したのか
nealle
0
190
Docker Desktop不要の時代が来る? WSL標準の「wslc」で Linuxコンテナを動かしてみた.
ueponx
0
580
RAGの精度向上とエージェント活用
kintotechdev
2
120
4人目のSREはAgent
tanimuyk
0
370
本当の”仕事”を手放せる未来が見えた
mu7889yoon
0
220
小さいから、全部わかる。— 常駐AI "xangi" のすすめ
sugupoko
0
240
スタートアップにおけるアジャイルの実践について #shibuyagile
murabayashi
3
2k
Featured
See All Featured
Large-scale JavaScript Application Architecture
addyosmani
515
110k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
4.1k
ラッコキーワード サービス紹介資料
rakko
1
3.8M
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
230
23k
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
600
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
380
The Mindset for Success: Future Career Progression
greggifford
PRO
0
370
Why You Should Never Use an ORM
jnunemaker
PRO
61
9.9k
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
200
HDC tutorial
michielstock
2
730
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
1
1.3k
Transcript
Cubieboard.org An introduction to cubieboard
Cubieboard.org About me 汤亮 (Tom Cubie) From cubietech @hipboi
Cubieboard.org About cubietech • The company behind cubieboard • Founded
in 2012 • Based in Zhuhai • Embedded devices manufacture • Community driven • Global small company
Cubieboard.org About cubieboard • Started in July, 2011 • Announced
in Sept, 2011 • More than 10000 pcs sold • Over 70 countries
Cubieboard.org
Cubieboard.org Quick overview - top
Cubieboard.org Quick overview - HDMI
Cubieboard.org Quick overview – USB host
Cubieboard.org Quick overview - SATA
Cubieboard.org What needed • Power adapter • Power cable •
HDMI cable • HDMI monitor/TV • USB mouse & keyboard
Cubieboard.org What needed(optional) • Serial cable • Micro SD card
• Card reader • 2.5inch hard disk • SATA cable • USB cable(Type B-Mini)
Cubieboard.org Prepare the uSD card • 1. Download the tool
Window – Win32DiskImager http://sourceforge.net/projects/win32diskimager/ Linux – dd • 2. Download the image Lubuntu – ubuntu with lxde desktop http://dl.cubieboard.org/software/ubuntu/cb-sdcard-1.1-linaro-quantal-alip-20130227-290.img.tgz
Cubieboard.org Prepare the uSD card • Insert the uSD card
to card reader and connect to PC • Run Image Writer • Choose the image and disk and click Write • Done
Cubieboard.org Prepare the uSD card
Cubieboard.org Power on • Insert the uSD card to the
cubie • Connect HDMI/Ethernet cable • Connect USB mouse/keyboard • Plug in the power cable Power red led on, cubie starts booting...
Cubieboard.org Power on
Cubieboard.org Status leds Default configuration of two leds • Blue:
heart beat • Green: uSD card reading/writing More information: http://linux-sunxi.org/Cubieboard/Programming/StatusLEDs
Cubieboard.org Lubuntu Desktop
Cubieboard.org Applications • Internet browsing – Chromium • File manager
– Pacman FM • Office – Libreoffice • PDF reader - Evince • Terminal – Lxterminal …...
Cubieboard.org What's else? • Use cubie as web server •
Use cubie as android tv • Use cubie as NAS • Use cubie as...
Cubieboard.org Example 1 – GPIO • sudo apt-get install python-dev
• wget http://dl.linux- sunxi.org/users/tom/pySUNXI- 0.1.12.tar.gz • tar zxf pySUNXI-0.1.12.tar.gz • sudo python setup.py install
Cubieboard.org Wrap the breadboard
Cubieboard.org
Cubieboard.org Code – blink leds #!/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 Gmail notifier • sudo apt-get install python-pip • sudo
pip install feedparser
Cubieboard.org Code - Gmail notifier #!/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 Example 2 – Owncloud on cubie • sudo apt-get
install apache2 php5 php5-gd php-xml-parser php5-intl • sudo apt-get install php5-sqlite php5-mysql smbclient curl libcurl3 php5-curl • wget http://download.owncloud.org/community/ow ncloud-5.0.6.tar.bz2
Cubieboard.org Install owncloud • tar jxf owncloud-5.0.6.tar.bz2 • sudo rm
/var/www/index.html • sudo mv owncloud/* /var/www/ • sudo chown -R www-data:www-data /var/www • Open web browser, point to cubie IP
Cubieboard.org Owncloud login
Cubieboard.org Owncloud
Cubieboard.org Owncloud android client
Cubieboard.org Community • Chinese Forum: cn.cubieboard.org • QQ group: 92017963
• Google group: cubieboard • IRC channel: #cubieboard • G+ community: cubieboard
Cubieboard.org Documents • http://linux-sunxi.org/Cubieboard • https://github.com/cubiebook/cubiebook
Cubieboard.org Thank you Questions?