MicroPython: Getting Started with Python on Embedded Devices

Sept. 21, 2019

If you want to work with embedded technology, you need to know C. Or do you? MicroPython is an easier way to get started.

embedded micropython python

MicroPython is a tiny flavour of Python that runs on microprocessors. There are many boards capable of running MicroPython, but the most accessible one in India is the ESP8266 chip, or the NodeMCU.

For this article, I will cover the following:

  1. How to flash MicroPython firmware on the NodeMCU.
  2. How to get onto the MicroPython terminal.
  3. How to configure and enable the WebREPL
  4. How to use the WebREPL to execute code.
  5. How to transfer scripts onto the NodeMCU using the WebREPL
  6. How to transfer scripts onto the NodeMCU using the CLI.
  7. Tips & Tricks
  8. Resources