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
370
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
1.1k
PyCon.KR 2014 continuous luck and future
darjeeling
1
140
Python Korea Twisted Study 2013-06-30
darjeeling
2
170
Other Decks in Technology
See All in Technology
30分でわかるデータ分析者のためのディメンショナルモデリング #datatechjp / 20250120
kazaneya
PRO
22
4.8k
【NGK2025S】動物園(PINTO_model_zoo)に遊びに行こう
kazuhitotakahashi
0
210
Copilotの力を実感!3ヶ月間の生成AI研修の試行錯誤&成功事例をご紹介。果たして得たものとは・・?
ktc_shiori
0
340
実践! ソフトウェアエンジニアリングの価値の計測 ── Effort、Output、Outcome、Impact
nomuson
0
2k
Evolving Architecture
rainerhahnekamp
3
250
embedパッケージを深掘りする / Deep Dive into embed Package in Go
task4233
1
200
データ基盤におけるIaCの重要性とその運用
mtpooh
2
250
AWSマルチアカウント統制環境のすゝめ / 20250115 Mitsutoshi Matsuo
shift_evolve
0
100
re:Invent 2024のふりかえり
beli68
0
110
Kotlin Multiplatformのポテンシャル
recruitengineers
PRO
2
150
0→1事業こそPMは営業すべし / pmconf #落選お披露目 / PM should do sales in zero to one
roki_n_
PRO
1
960
Accessibility Inspectorを活用した アプリのアクセシビリティ向上方法
hinakko
0
170
Featured
See All Featured
Learning to Love Humans: Emotional Interface Design
aarron
274
40k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
7
570
A Philosophy of Restraint
colly
203
16k
Unsuck your backbone
ammeep
669
57k
Reflections from 52 weeks, 52 projects
jeffersonlam
348
20k
Fantastic passwords and where to find them - at NoRuKo
philnash
50
2.9k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
44
9.4k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
173
51k
YesSQL, Process and Tooling at Scale
rocio
170
14k
For a Future-Friendly Web
brad_frost
176
9.5k
Why Our Code Smells
bkeepers
PRO
335
57k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.2k
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