-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
95 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
CH340 Driver | ||
=============== | ||
|
||
* `Windows V3.5 <https://github.com/wemos/ch340_driver/raw/master/CH341SER_WIN_3.5.ZIP>`_ | ||
* `Mac OSX V1.5 <https://github.com/wemos/ch340_driver/raw/master/CH341SER_MAC_1.5.ZIP>`_ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
Get started with Arduino | ||
========================== | ||
|
||
Requirements | ||
--------------- | ||
* :doc:`../ch340_driver` | ||
* `Python <https://www.python.org/downloads/>`_ | ||
* `Arduino IDE <https://www.arduino.cc/>`_ | ||
|
||
Installing Hardware package | ||
----------------------------- | ||
* `esp8266 package <https://github.com/esp8266/Arduino>`_ (D1 mini/D1 mini Pro) | ||
* `esp32 package <https://github.com/espressif/arduino-esp32>`_ (D32/D32 Pro) | ||
|
||
Configure Board | ||
------------------- | ||
After install hardware package, you will see WEMOS boards in the Tools→Board:xxx Choose your right board. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
Tutorials | ||
============= | ||
|
||
.. toctree:: | ||
:maxdepth: 1 | ||
|
||
Arduino <arduino> | ||
MicroPython <micropython> | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
Get started with MicroPython | ||
================================= | ||
|
||
Requirements | ||
--------------- | ||
* :doc:`../ch340_driver` | ||
* `Python <https://www.python.org/downloads/>`_ | ||
* `esptool <https://github.com/espressif/esptool>`_ (for flash esp8266&esp32 firmware.) | ||
* w600tool | ||
|
||
MicroPython firmware | ||
------------------------ | ||
|
||
Choose the right firmware: | ||
* `D1 mini/D1 mini Pro firmware <https://micropython.org/download#esp8266>`_ (esp8266) | ||
* `D32/D32 Pro firmware <https://micropython.org/download#esp32>`_ (esp32)(*D32 Pro cloud use Firmware with SPIRAM support*) | ||
* w600 firmware (W600-Pico) | ||
|
||
Flash firmware | ||
------------------------ | ||
|
||
.. note:: Don't forget to change **YOUR_PORT_NAME** and **YOUR_FIRMWARE.bin**. In Linux, **YOUR_PORT_NAME** is like /dev/ttyUSB0. In windows, **YOUR_PORT_NAME** is like COM4. | ||
|
||
|
||
D1 mini | ||
********************* | ||
|
||
.. prompt:: bash $ | ||
|
||
esptool.py --port YOUR_PORT_NAME erase_flash | ||
esptool.py --port YOUR_PORT_NAME --baud 1000000 write_flash --flash_size=4MB -fm qio 0 YOUR_FIRMWARE.bin | ||
|
||
D32/D32 Pro | ||
******************* | ||
|
||
.. prompt:: bash $ | ||
|
||
esptool.py --port YOUR_PORT_NAME erase_flash | ||
esptool.py --port YOUR_PORT_NAME --baud 1000000 write_flash -z 0x1000 YOUR_FIRMWARE.bin | ||
|
||
|
||
|
||
W600-Pico | ||
******************* | ||
|
||
|
||
|