Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
introduction_to_cubieboard
Search
Zoom.Quiet
May 27, 2013
Technology
330
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
210
PyCon2014China-Zhuhai-meta programming
zoomquiet
1
180
PyCon2014China-Zhuhai-bpm.py
zoomquiet
0
160
PyCon2014China-Zhuhai-luna kv db
zoomquiet
0
160
PyCon2014China-Zhuhai-seed studio
zoomquiet
0
160
PyCon2014China-Zhuhai-Docker Registry Build By Python
zoomquiet
0
170
PyCon2014China-Zhuhai-jeff
zoomquiet
0
160
PyCon2014China-Zhuhai-pythonic front-end
zoomquiet
0
210
DevFest2014-Zhuhai-Polymer
zoomquiet
0
500
Other Decks in Technology
See All in Technology
「事実」を「計測」して、「解釈」する 〜AWS Lambdaのメモリ最適解の見つけ方〜
maimyyym
0
170
Gemini Intelligence 入門 ― AppFunctions と Gemini Nano
takuroabe
0
260
スキマバイトという雇用形態は存在しないので、雇用期間1日のアルバイト契約を事業者とワーカーが結ぶ手続きを支えるのがタイミーなんです
akitoshiga
0
200
JAWS-UGグッズ職人仕事の流儀
kentapapa
0
110
ソフトウェア ファクトリー - 再現性のあるソフトウェアの工場づくり / Software factory
iktakahiro
6
4.9k
実践! SRE × AI - ABEMA における AIOps -
tetsuya28
8
3.1k
AIにシークレットを見せない、WSL2で安全な開発環境
yazm
0
300
遠藤な_めぐろLT #38 「社内のAI活用推進」@麻布台_20261009
endonanana
0
130
実践!Cloud Run ハンズオン!! / Cloud Run handson
y0hgi
2
280
"優秀な誰か"の下位互換にならないために
yut0naga1_fa
1
1.8k
CTO Night|NotionのAIエージェントとFDE
kzkhykw1991
0
130
DGX Spark でどこまでハッキングができるのか?
kash1064
3
1.3k
Featured
See All Featured
Reflections from 52 weeks, 52 projects
jeffersonlam
356
22k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.9k
Designing for humans not robots
tammielis
254
26k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.9k
Odyssey Design
rkendrick25
PRO
2
870
The Curse of the Amulet
leimatthew05
3
16k
HDC tutorial
michielstock
2
960
Joys of Absence: A Defence of Solitary Play
codingconduct
1
550
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
2.2k
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
74
43k
Optimising Largest Contentful Paint
csswizardry
37
4k
sira's awesome portfolio website redesign presentation
elsirapls
0
460
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?