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
PyCon Korea 2017 micropython, led and thermostat
Search
Bae KwonHan
August 13, 2017
Technology
1
320
PyCon Korea 2017 micropython, led and thermostat
Bae KwonHan
August 13, 2017
Tweet
Share
More Decks by Bae KwonHan
See All by Bae KwonHan
PyCon KR 2015 python and test
darjeeling
3
1k
PyCon.KR 2014 continuous luck and future
darjeeling
1
130
Python Korea Twisted Study 2013-06-30
darjeeling
2
160
Other Decks in Technology
See All in Technology
ソフトウェアエンジニアリングの知見を活かして データ基盤をいい感じにする on Snowflake [MIERUNE BBQ #10]
mtpooh
2
150
コミュニティサービスに「あなたへ」フィードを リリースするまでの試行錯誤
takapy
1
150
可視化プラットフォームGrafanaの基本と活用方法の全て
hamadakoji
0
230
セキュリティ研修 Day1【MIXI 24新卒技術研修】
mixi_engineers
PRO
0
160
Scaling Technical Excellence at 104: Evolution in AWS and Developer Empowerment
scotthsieh825
1
150
たくさん本を読んだけど 1年後には綺麗サッパリ!を乗り越えて 学習の鬼になるぞ👹
yum3
0
160
dxd2024-生成AIに振り回された3か月間の成功と失敗/dxd2024-link-and-motivation
lmi
2
260
コンテナ・K8s研修 - 後半 Kubernetes 基礎&ハンズオン【MIXI 24新卒技術研修】
mixi_engineers
PRO
1
120
AutomatedLabを使って内部ペンテストを勉強しよう! -やられ社内ネットワークの自動構築-
n_etupirka
1
610
【基調講演】変える、今ここから ― IoTとAIで紡ぐ未来
soracom
PRO
0
320
Classmethod流のPlatform Engineering / classmethod-platform-engineering-devio2024
tomoki10
0
470
E2Eテスト自動化プラットフォームにおけるAIの活用
shift_evolve
0
180
Featured
See All Featured
Six Lessons from altMBA
skipperchong
24
3.2k
Ruby is Unlike a Banana
tanoku
96
10k
Web development in the modern age
philhawksworth
203
10k
The Invisible Side of Design
smashingmag
294
50k
Typedesign – Prime Four
hannesfritz
37
2.2k
Java REST API Framework Comparison - PWX 2021
mraible
PRO
20
7.2k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
224
21k
Stop Working from a Prison Cell
hatefulcrawdad
266
20k
Atom: Resistance is Futile
akmur
261
25k
Imperfection Machines: The Place of Print at Facebook
scottboms
262
13k
A Tale of Four Properties
chriscoyier
155
22k
How to train your dragon (web standard)
notwaldorf
79
5.5k
Transcript
MicroPython on ESP8266 from led to thermostat Bae Kwon Han
<
[email protected]
>
ಕח ܲ ࢎۈਸ ਤೞৈ ࠺ যفणפ. • ־ҳա ߊܳ
ೡࣻ णפ. • ಕо оٙରҊ ߊܳ ೠҊ ױೠ ࢎۈ ইתפ. • एਕب ؾפ. • ҃೧ࠁҊ ҕਬ೧ঠ ழ աтࣻ णפ. • ب೧ࣁਃ.
ݾର • ৵ micropython ੋо • ۖಬ যڃѪ חо? •
ؘݽ • աী ೧ࠅѪ
why micropython to me?
None
None
None
• ࠺ਊ ݆ ٜѢա.. (दрҗ ت ل ) •
ٜ݅যঠೡ ݃ উٜ݅ ݧઉࠁҊ रؘ Տӝо ࠗೣ..
None
why micropython?
why not micropython
but it's python
micropython • lean and efficient implementation python3 run on micro
controller ( 256k code and 16k ram ) • microcontrollers ( cpu + memory + I/O on a single board ) • pyboard • esp8266 family • esp32 • micro:bit
microcontroller • sensors, display and actucator • sometimes called Internet
of Things • cheap, long-batter-life, low-power-cpu • assembly or c programming is needed
ESP8266 based • 80Mhz CPU, 64KB RAM, 512KB to 4MB
flash • WIFI ( 802.11 b/g/n ) • 16 GPIO / SPI / I2C / I2S / UART • 3.3Volt • 2 ~ 3$ in aliexpress
Micro:bit • half-sized credit card • arm based, 16Mhz, 16KB
MEM, 256KB flash, • Bluetooth • accelerometer, magnetometer • 5X5 LED Array • three push button • web based compiler • UK/BBC Powered
from virtual to reality
how to code? • REPL on serial, wifi • RUN
CODE sniffit and TEST Code • build && flashing rom • run production(?) • upip
Demo • LED on off • button LED on off
• send line notification • get thermostat • send thermostat via line
Demo
need to know more • battery • hardware interrupts •
drivers • memory usage check..
Q&A ask more question
[email protected]
more • PyCon US https://www.youtube.com/watch? v=D-5V7s0GflU • PyCon RU http://blog.pirx.ru/media/files/2017/pyconru/
python-on-microcontrollers.html#1 • IntelliJ MicroPython https://github.com/vlasovskikh/ intellij-micropython