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
310
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
950
PyCon.KR 2014 continuous luck and future
darjeeling
1
120
Python Korea Twisted Study 2013-06-30
darjeeling
2
150
Other Decks in Technology
See All in Technology
スクラムマスター不在でスクラムをやるのは(とても辛いので)やめておけ! #scrumfukuoka
nulabinc
PRO
4
900
SwiftUIのpropertyWrapperをふんわり理解する
jambo_develop_team
0
110
The Disturbing Truth: Why Do Most Software Projects Suck?
lemiorhan
0
110
PHPerKaigi 2024 - PHP 本体のバグを見つけたら適切に報告しよう
zeriyoshi
0
770
最速思考でバクラク品質を! スタートアップのリアルな課題とQAの実践
nakanao
1
450
Datadog による 自己完結的アプリケーションモニタリング
recruitengineers
PRO
3
130
「わたしたちのコード」を安定させるためにフレームワークとの距離を保つ / phperkaigi2024
blue_goheimochi
5
810
OpenStack再入門「アーキテクチャ編」
kajinamit
0
250
滑空スポーツ講習会2023 航空安全講習会 第4回 日常整備に役立ちそうな雑情報 / JSA Safety Seminar 2023 glider maintenance
jsaseminar
0
110
App Runnerでパラメーターストアの値を使ってみた
miura55
0
230
AWSアカウント74件をバックアップした方法と課題
chiharutsuboi
0
100
【OpsJAWS】EC2 のセキュリティの運用と監視について考えてみた件
hssh2_bin
4
600
Featured
See All Featured
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
219
21k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
11
1.4k
YesSQL, Process and Tooling at Scale
rocio
160
13k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
272
12k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
6
930
Optimising Largest Contentful Paint
csswizardry
7
2.3k
The Cost Of JavaScript in 2023
addyosmani
13
3.7k
Ruby is Unlike a Banana
tanoku
95
10k
What's new in Ruby 2.0
geeforr
335
31k
Designing for humans not robots
tammielis
247
25k
For a Future-Friendly Web
brad_frost
170
8.8k
How GitHub Uses GitHub to Build GitHub
holman
467
290k
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