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
ちっちゃいSoCであそびたい、その名はLicheePiNano
Search
reodon
November 28, 2020
How-to & DIY
810
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
ちっちゃいSoCであそびたい、その名はLicheePiNano
reodon
November 28, 2020
More Decks by reodon
See All by reodon
健康的なHackについて
reodon
0
290
ちっちゃいSoCであそびたい、その名はLicheePiNanoその2~ときどきRaspberryPi~
reodon
0
770
自己紹介LT@K-Ruby#25
reodon
1
410
抽象代数学の勉強はじめました!その1
reodon
0
480
Other Decks in How-to & DIY
See All in How-to & DIY
登壇資料を素早く作るための順番
kotomin_m
9
2.3k
JAWS/AWS Community Updates in JAWS-UG富山 at 富山高専
awsjcpm
0
130
献立を支える技術
godan
1
120
人見知りな HUB おじさんが 会話のハードルを超え、 今度は誰かの踏み台になろうとする話/hub-guy-as-a-stepping-stone
aokiplayer
2
1.4k
What $10 Fake AirPods and a $30 Chip Decap Reveal About China's Semiconductors
takasumasakazu
0
140
お前も同人作家にならないか? 技術系同人誌制作入門
arkw
3
140
What's the difference in taste between expensive and cheap mills? Measuring coffee particle size distribution using ImageJ
dogrunjp
0
880
【ふりかえりワークショップ】Tryを決めるだけじゃない!感情にフォーカスした、ふりかえりを体験しよう!
scrummasudar
0
1.6k
ことみんの登壇資料の作り方〜登壇はいいぞ〜
kotomin_m
6
1.1k
なぜJAWS-UGはこんなにも活発なのか?
awsjcpm
1
280
AWS Community/JAWS-UG Update - JAWS-UG 上越妙高支部リブート
awsjcpm
2
170
[JAWS DAYS 2026 | Track B] Local Roots, Global Reach
awsjcpm
0
140
Featured
See All Featured
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
410
Deep Space Network (abreviated)
tonyrice
0
320
VelocityConf: Rendering Performance Case Studies
addyosmani
331
25k
SEO for Brand Visibility & Recognition
aleyda
0
4.8k
Skip the Path - Find Your Career Trail
mkilby
1
240
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
63
46k
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
200
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
710
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
1
1.6k
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
250
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
520
Writing Fast Ruby
sferik
630
63k
Transcript
ちっちゃい SoC であそびたい、その名 は Lichee Pi Nano OSC 福岡 2020/11/28
reodon@ 鹿児島らぐ
2 発表の流れ 1) 自己紹介 2) なぜ LicheePiNano か? 3) LicheePiNano
の概要・仕様 4) LicheePiNano で実現したいこと • 起動確認 • まずは L チカ • 温湿度センサー 5) まとめ
自己紹介 名前 : reodon 職業 : AI エンジニア?(学習データ作成) Twitter :
reodon@reodon2 ・組み込み初心者です ・鹿児島のエンジニアサークル「ヒラマサ」で Flutter の勉強中です ・最近、中国語を習っています ・インターバルトレーニングにハマっています
4 なぜ LicheePiNano か? • Linux名刺の記事に触発さ れた方に,教えていただ いた – 仮想シリアルポート経由で
Linux が動く – 材料費は約 315 円 • CPU(Allwinner F1C100s) が同じ
5 LicheePiNano の概要 • SD カードサイズの超小型 Linux 開発ボード – ARM9
プロセッサを搭載 – メモリは 32MB • お手頃価格 – 1,000 円 ( 秋月電子 ) – 1,045 円 (SwitchScience)
6 LicheePiNano の仕様( 1 / 3 ) • CPU –
Allwinner F1C100s、ARM 926EJS processor、最高900MHz • メモリ&ストレージ – 32MB DDR integrated into SoC, 16MB SPI Flash – Onboard TF Slot, can be boot from TF Card, • ディスプレイ – 40ピンRGB LCD FPCコネクター、272 x 480、480 x 800、1024 x 600(およびアダプ ターボードを介した容量性ディスプレイ)をサポート – 720Pビデオ出力をサポート、H.264 / MPEGなどのビデオストリームデコードをサポー ト
7 LicheePiNano の仕様( 2 / 3 ) • 通信インターフェース –
SDIO for WiFi module – SPI x2 – TWI x3 – UART x3 – OTG USB x1 – TV out • 他のインターフェース – PWM x2 – LRADC x1 – ヘッドフォン出力 x2 – Mic x1
8 LicheePiNano の仕様( 3 / 3 ) • 電気特性 –
マイクロUSBポート経由で5V、ピン経由で3.3〜5Vを入力 – 出力– 3.3V、選択可能な入力RTC電圧 – 消費電力: Linuxでは54mA(アイドル)、ディスプレイでは250mA – 温度範囲:-40〜125°C; 動作時:-20〜70°C • ソフトウェアおよび開発環境 – 3.10 BSP linux – 4.19 mainline linux – xboot bare metal development environment – RT-Thread
9 LicheePiNano で実現したいこと • スマートホーム – 課題 • 洗濯物を乾かすために扇風機やエアコンを使用 •
乾いたら電源をOFF – 解決策 • LicheePiNano に温湿度センサーを付けてモニター • 湿度がしきい値を下回ったら電源を OFF – 問題点 • LicheePiNano をネットワークに接続する方法がわからない – 赤外線の発信モジュールを付ければエアコンの操作はできるかも?
10 起動確認 • まずは,プリインストールされている Linux の 起動を確認 – こちらの記事を参考にさせていただきました •
シリアル通信でログイン – 使用する USB シリアル変換アダプター • FTDI社製FT232RL
11 起動確認の配線図 USB シリアル変換アダプタ
12 起動確認できました! • ユーザ名: root • パスワード: licheepi # uname
-a Linux nano 5.2.0-licheepi-nano+ #2 Thu Aug 1 09:45:44 UTC 2019 armv5tejl GNU/Linux
13 L チカの配線図 USB シリアル変換アダプタ
14 1 秒毎に LED を点滅させるコマンド # echo 131 > /sys/class/gpio/export
# echo out > /sys/class/gpio/gpio131/direction # while true; \ do \ echo 1 > /sys/class/gpio/gpio131/value; \ sleep 1; \ echo 0 > /sys/class/gpio/gpio131/value; \ sleep 0; \ done;
15 点滅しました!
16 温湿度センサー • DHT11 – 温度と湿度を同時に測定 – シリアル単線 (1-wire ライク
) 通信 – メーカー出荷時に校正済み
17 温湿度センサーの配線図 USB シリアル変換アダプタ プルアップ抵抗
18 とりあえずコマンドを打ってみた # echo 131 > /sys/class/gpio/export # echo in
> /sys/class/gpio/gpio131/direction # cat /sys/class/gpio/gpio131/value 1 # cat /sys/class/gpio/gpio131/value 1
19 まとめ • LicheePiNano は安いので,壊れても痛くない • SD カードから Linux を起動したい
• 赤外線の受信モジュールを取り付けたい • 最終的に WiFi に接続したい