Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lily-osp/micropython-on-esp8266
Here is an example of how you could write the instructions for burning MicroPython firmware to an ESP8266 microcontroller
https://github.com/lily-osp/micropython-on-esp8266
esp8266 microcontroller micropython micropython-esp8266 python
Last synced: 7 days ago
JSON representation
Here is an example of how you could write the instructions for burning MicroPython firmware to an ESP8266 microcontroller
- Host: GitHub
- URL: https://github.com/lily-osp/micropython-on-esp8266
- Owner: lily-osp
- Created: 2022-12-23T10:46:27.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2022-12-23T10:47:24.000Z (about 2 years ago)
- Last Synced: 2024-12-18T12:41:05.805Z (about 1 month ago)
- Topics: esp8266, microcontroller, micropython, micropython-esp8266, python
- Homepage:
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Burning MicroPython Firmware to an ESP8266
- Download the MicroPython firmware for the ESP8266 from the MicroPython website.
- Install the esptool utility, which is a command-line tool for flashing ESP8266 microcontrollers. You can install esptool using pip:
pip install esptool
- Connect your ESP8266 to your computer using a USB-to-serial adapter, such as an FTDI adapter.
- Determine the serial port of your ESP8266. On Windows, you can find the serial port in the Device Manager. On Mac or Linux, you can use the
ls /dev/tty*
command to list the available serial ports.
- Use the
esptool.py
utility to erase the firmware on the ESP8266 and burn the new MicroPython firmware:
esptool.py --port /dev/ttyUSB0 erase_flash
esptool.py --port /dev/ttyUSB0 --baud 460800 write_flash --flash_size=detect 0 esp8266-20221101-v1.13.bin
Replace/dev/ttyUSB0
with the serial port of your ESP8266 andesp8266-20221101-v1.13.bin
with the path to the MicroPython firmware file you downloaded.
- Disconnect and reconnect the ESP8266 from your computer. The new MicroPython firmware should now be running on the microcontroller.
- You can now use a tool such as ampy to upload your MicroPython code to the ESP8266 and run it.
Keep in mind that the exact steps and details may vary depending on your specific setup and requirements. It is recommended to refer to the documentation and guidance provided by the MicroPython and esptool projects for more information.