Upgrade to Pro — share decks privately, control downloads, hide ads and more …

PyCon Korea 2017 micropython, led and thermostat

PyCon Korea 2017 micropython, led and thermostat

Da8c211439ff6aed558db9c9dff04cf7?s=128

Bae KwonHan

August 13, 2017
Tweet

Transcript

  1. MicroPython on ESP8266 from led to thermostat Bae Kwon Han


    <darjeeling@gmail.com>
  2. ੉ ಕ੉૑ח ׮ܲ ࢎۈਸ ਤೞৈ ࠺ যف঻णפ׮. • ־ҳա ߊ಴ܳ

    ೡࣻ ੓णפ׮. • ੉ ಕ੉૑о оٙର੓Ҋ ߊ಴ܳ ೠ׮Ҋ ؀ױೠ ࢎۈ਷ ইתפ׮. • एਕب ؾפ׮. • ҃೷೧ࠁҊ ҕਬ೧ঠ ழ աтࣻ ੓णפ׮. • ب੹೧઱ࣁਃ.
  3. ݾର • ৵ micropython ੋо • ೒ۖಬ਷ যڃѪ੉ ੓חо? •

    ؘݽ • ա઺ী ೧ࠅѪ
  4. why micropython to me?

  5. None
  6. None
  7. None
  8. • ࠺ਊ੉ ݆੉ ٜѢա.. (दрҗ ت ഑਷ ل׮ ) •

    ٜ݅যঠೡ ݃਺਷ উٜ૑݅ ݧઉࠁ੉Ҋ र਷ؘ Տӝо ࠗ઒ೣ..
  9. None
  10. why micropython?

  11. why not micropython

  12. but it's python

  13. 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
  14. microcontroller • sensors, display and actucator • sometimes called Internet

    of Things • cheap, long-batter-life, low-power-cpu • assembly or c programming is needed
  15. 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
  16. 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
  17. from virtual to reality

  18. how to code? • REPL on serial, wifi • RUN

    CODE sniffit and TEST Code • build && flashing rom • run production(?) • upip
  19. Demo • LED on off • button LED on off

    • send line notification • get thermostat • send thermostat via line
  20. Demo

  21. need to know more • battery • hardware interrupts •

    drivers • memory usage check..
  22. Q&A
 ask more question
 darjeeling@gmail.com

  23. 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