Microcontrollers MicroPython

MicroPython (Python 3) for ESP8266 – ESP01 (512KB)


v1.12 and earlier will work on modules with 1M or more of flash, while v1.13 requires 2M or more.

ESP8266 ESP01 (512K flash) supported by limited features.

ESP01/01s USB-UART Programmer and UART device drivers. For uploading firmware and Python REPL from the serial console

PC / Notebook (Windows/MacOS – Intel) has been installed with Python 3.x and utility program. Try this to install esptools

Thonny and Visual Studio IDE for coding editor for python

pip3 install esptool

Download Firmware

Upload lastest firmware to ESP8266 (512 KB) with utility installed on the PC/Notebook (Window/MacOS – Intel) and ESP01/01s USB-UART Programmer

This image has an empty alt attribute; its file name is USB-ESP01-PROG%20(5)-800x800.jpg
Source: Cytron Technology

Using you can erase the flash with the command: --port /dev/ttyUSB0 erase_flash

And then deploy the new firmware using and filename of the latest binary ESP8266 firmware. --port /dev/ttyUSB0 --baud 460800 write_flash --flash_size=detect 0 esp8266-xxxxx.bin

Using MicroPython (REPL) via USB-UART (Serial) Programmer on MacOS (Intel) screen utility

screen /dev/tty.SLAB_UART 115200

Note: Press ENTER key when the blinking cursor is on the screen without the REPL prompt.

>>> print(“Hello MicroPython”)

Blink LED (build-in) and filename


Tutorial of Thonny IDE installation (MacOS – Intel)

Troubleshooting Problem


ESP32 ESP8266 (ESP-01/01S) Microcontrollers Security

MAC Address Randomization


ESP8266 (ESP-01/01S) Microcontrollers

ESP8266 WiFi Sniffing


ESP8266 (ESP-01/01S) Microcontrollers

FreeRTOS and ESP8266 (E-12)

ESP8266 (ESP-01/01S) Microcontrollers

Espresso Lite V2.0 (Discontinue)

ESPresso Lite V2.0
Jual Perangkat Elektronik Lainnya Espresso Lite V2.0 -ESP8266  Arduino-compatible Wi-Fi board- di Lapak Erica Aimee | Bukalapak

Espresso Lite V2.0 Specs and Features:

  • Features Espressif System’s ESP8266 WROOM-02 Wi-Fi module (with 4MB flash)
  • Design for IoT with free cloud and app service
  • Support the Arduino IDE (boards manager) and libraries
  • Auto program loading from Arduino IDE, using UC00A (or other compatible USB to Serial)
  • Vin: 5 to 12VDC
  • Operating Voltage: 3.3VDC
  • On board 3.3V Voltage Regulator with maximum current of 800mA continuous, 1A peak
  • One Reset button, two User Programmable buttons
  • WROOM-02 module is FCC, CE & TELEC certified
  • Breadboard friendly breakout pins
  • Ready pads for I2C Oled panel

WROOM-02 Specs and Features:

  • Operating Voltage: 3.0 to 3.6VDC
  • Operating Current: Average = 80mA
  • IEEE 802.11b/g/n at 2.4 GHz
  • WiFi mode: SoftAP/Station/SoftAP + Station
  • Security: WPA/WPA2
  • Encrytion: WEP/TKIP/AES
  • Integrated low power 32-bit MCU
  • Integrated 10-bit ADC
  • Integrated TCP/IP protocol stack
  • Integrated TR switch, balun, LNA, power amplifier and matching network
  • Integrated PLL, regulators, and power management units
  • Various interfaces available, including SDIO, HSPI, UART, I2C, I2S, IR, PWM, GPIO, etc.
  • Supports antenna diversity
  • Deep sleep power <10uA, Power down leakage current < 5uA
  • Wake up and transmit packets in < 2ms
  • Standby power consumption of < 1.0mW (DTIM3)
  • +20dBm output power in 802.11b mode
  • Operating temperature range -40C ~ 125C
  • FCC, CE and TELEC certified


Uploading Arduino IDE Binary Code / Firmware Using USB-UART

ESPresso Lite V2 with AT Firmware | Tutorials of Cytron Technologies

Internet Of Things Microcontrollers

Home Assistant Installation

MacOS (Intel)

Raspberry Pi (Rasbian)


Getting Started

ESP8266 (ESP-01/01S) Microcontrollers


External Flash

ESP8266EX uses external SPI flash to store user programs and supports up to 16 MB memory capacity theoretically.

The minimum flash memory of ESP8266EX is shown below:

  • OTA disabled: 512 kB at least
  • OTA enabled: 1 MB at least

Programming Mode

ESP8266 (ESP-01/01S) Microcontrollers

ESP8266/8265 Series Chart

ESP8266 (ESP-01/01S) Microcontrollers

Blinking LED (external)


  • 1 x A-i Thinker Technology ESP-01 microcontroller based on ESP8266EX
    • 4Mbit (512 Kb) external flash memory
    • Espressif firmware
  • 1 x Red LED
  • 1 x 10K resistor
  • Jumper wires
    • Male to Female
    • Female to Female
  • 1 x Breadboard (830 or 400 holes)
  • 1 x Breadboard Power Module MB102 (USB Input: 5V and Output: 3.3V)
    • AMS1117 LDO circuit included
  • 1 x ESP01/01S USB Programmer Adapter (CP2104 USB-UART Chip)
    • Programming Mode (Enable)
    • Reset button

Programming Utility, ESP8266 Library and USB-UART driver (MacOS Catalina)



Power Up the Circuit and Enable the ESP8266 chip

MB102 Breadboard Power Module provides 3.3V for the circuit. CH_PD pin connected to the 3.3v source to enable the ESP8266EX chip

Code (Output to GPIO 2)

On the Arduino IDE’s Tool Menu, setup the Builtin Led = 2 and the sketch will take the value 2 for LED_BUILTIN

  ESP8266 Blink by Simon Peter
  Blink the blue LED on the ESP-01 module
  This example code is in the public domain

  The blue LED on the ESP-01 module is connected to GPIO1
  (which is also the TXD pin; so we cannot use Serial.print() at the same time)

  Note that this sketch uses LED_BUILTIN to find the pin with the internal LED

void setup() {
  pinMode(LED_BUILTIN, OUTPUT);     // Initialize the LED_BUILTIN pin as an output

// the loop function runs over and over again forever
void loop() {
  digitalWrite(LED_BUILTIN, LOW);   // Turn the LED on (Note that LOW is the voltage level
  // but actually the LED is on; this is because
  // it is active low on the ESP-01)
  delay(1000);                      // Wait for a second
  digitalWrite(LED_BUILTIN, HIGH);  // Turn the LED off by making the voltage HIGH
  delay(2000);                      // Wait for two seconds (to demonstrate the active low LED)

Upload (binary code) to external flash memory (512 kb) via ESP01 USB Programmer Adapter


Arduino IDE software

A-i Thinker

ESP8266EX Datasheet

ESP8266 Library (Arduino IDE)

USB-UART CP2401 Drivers

Espressif firmware

8266 Community