Skip to content


"MicroPython is a lean and efficient implementation of the Python 3 programming language that includes a small subset of the Python standard library and is optimised to run on microcontrollers and in constrained environments."-



  • screen /dev/usb.whatever can sometimes not work to get a usb repl Try using picocom instead.

ESP8266 workflow

  • Info on flashing can be found here:
  • brew install picocom
  • pip install --user adafruit-ampy esptool
  • export AMPY_PORT=/dev/tty.usbserial-0001 sets up ampy with the needed sieral port.
  • ampy run run found in the current local directory on the ESP8266.
  • ampy --port /serial/port put /foo/ copy a file to the board. Use get to copy the other way. Omit destination file name to just view the file.
  • Modify for any boot setup. Run ampy get to see the defaults for the flash you have loaded.
  • Modify with your main program code to auto-run.

See also