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
350
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
SDNという名のデータプレーンプログラミングの歴史
ebiken
PRO
2
190
個人でもIAM Identity Centerを使おう!(アクセス管理編)
ryder472
4
250
AI前提のサービス運用ってなんだろう?
ryuichi1208
8
1.4k
CysharpのOSS群から見るModern C#の現在地
neuecc
2
3.8k
OCI 運用監視サービス 概要
oracle4engineer
PRO
0
4.8k
DynamoDB でスロットリングが発生したとき/when_throttling_occurs_in_dynamodb_short
emiki
0
290
インフラとバックエンドとフロントエンドをくまなく調べて遅いアプリを早くした件
tubone24
1
440
Zennのパフォーマンスモニタリングでやっていること
ryosukeigarashi
0
550
アプリエンジニアのためのGraphQL入門.pdf
spycwolf
0
120
SAP Community and Developer Update
sygyzmundovych
0
350
A Tour of Anti-patterns for Functional Programming
guvalif
0
250
TypeScript、上達の瞬間
sadnessojisan
48
14k
Featured
See All Featured
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
10
730
A better future with KSS
kneath
238
17k
10 Git Anti Patterns You Should be Aware of
lemiorhan
655
59k
Mobile First: as difficult as doing things right
swwweet
222
8.9k
The Power of CSS Pseudo Elements
geoffreycrofte
73
5.3k
5 minutes of I Can Smell Your CMS
philhawksworth
202
19k
Teambox: Starting and Learning
jrom
133
8.8k
jQuery: Nuts, Bolts and Bling
dougneiner
61
7.5k
Put a Button on it: Removing Barriers to Going Fast.
kastner
59
3.5k
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
Product Roadmaps are Hard
iamctodd
PRO
49
11k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
27
4.3k
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