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
330
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
リアルお遍路+SORACOM IoT
ozk009
1
140
不動産売買取引におけるAIの可能性とプロダクトでのAI活用
zabio3
0
270
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
5
46k
技術的負債解消の取り組みと専門チームのお話
bengo4com
0
330
たった1人からはじめる【Agile Community of Practice】~ソース原理とFearless Changeを添えて~
ktc_corporate_it
1
480
React Aria で実現する次世代のアクセシビリティ
ryo_manba
4
1.2k
OCI で始める!! Red Hat OpenShift / Get Started OpenShift on OCI
oracle4engineer
PRO
1
180
効果的なオンコール対応と障害対応
ryuichi1208
6
3.1k
開発者の定量・定性データを組み合わせて開発者体験を把握するための取り組み
ham0215
1
130
ロリポップ! for Gamersを支えるインフラ/lolipop for gamers infrastructure
takumakume
0
130
グイグイ系QAマネージャーの仕事
sadonosake
0
340
DuckDB雑紹介(1.1対応版)@DuckDB座談会
ktz
6
1.4k
Featured
See All Featured
Code Reviewing Like a Champion
maltzj
517
39k
Robots, Beer and Maslow
schacon
PRO
157
8.2k
jQuery: Nuts, Bolts and Bling
dougneiner
61
7.4k
The World Runs on Bad Software
bkeepers
PRO
64
11k
Designing Experiences People Love
moore
138
23k
Fontdeck: Realign not Redesign
paulrobertlloyd
80
5.1k
BBQ
matthewcrist
83
9.2k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
26
1.3k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.2k
Documentation Writing (for coders)
carmenintech
65
4.3k
Teambox: Starting and Learning
jrom
131
8.7k
Building Better People: How to give real-time feedback that sticks.
wjessup
359
19k
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