projects:internetofthings:micropython

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
projects:internetofthings:micropython [2018/10/13 12:36] – [esp8266] scipioprojects:internetofthings:micropython [2018/11/03 08:46] (current) – [led] scipio
Line 14: Line 14:
  
 ===== esp32 ===== ===== esp32 =====
 +
 +Download firmware from http://www.micropython.org/download
 +
 +erase flash (before any micropython deploy)
 +<code>
 +export PORT=/dev/ttyUSB1
 +esptool.py --chip esp32 --port $PORT erase_flash
 +</code>
 +
 +write firmware
 +<code>
 +esptool.py --chip esp32 --port $PORT write_flash -z 0x1000 esp32-20181103-v1.9.4-683-gd94aa577a.bin
 +</code>
 +
 +
 +==== old ====
  
 Based on [[https://github.com/loboris/MicroPython_ESP32_psRAM_LoBo|loboris fork]] of micropython Based on [[https://github.com/loboris/MicroPython_ESP32_psRAM_LoBo|loboris fork]] of micropython
Line 31: Line 47:
 </code> </code>
  
-==== old ====+
  
   * download micropython from http://micropython.org/download#esp32   * download micropython from http://micropython.org/download#esp32
Line 99: Line 115:
  
 # GPIO16 (D0) is the internal LED for NodeMCU # GPIO16 (D0) is the internal LED for NodeMCU
 +# PIN 22 fro TTGO MINI32
 led = Pin(16, Pin.OUT) led = Pin(16, Pin.OUT)
  
  • projects/internetofthings/micropython.1539426981.txt.gz
  • Last modified: 2018/10/13 12:36
  • by scipio