Skip to content

Commit

Permalink
add d1 mini 4.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
wemos committed Nov 9, 2021
1 parent cea3e20 commit 41a13c4
Show file tree
Hide file tree
Showing 6 changed files with 127 additions and 50 deletions.
Binary file added docs/en/_static/boards/d1_mini_v4.0.0_1_16x16.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/en/_static/boards/d1_mini_v4.0.0_2_16x16.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/en/_static/boards/d1_mini_v4.0.0_5_16x9.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/en/_static/files/sch_d1_mini_v4.0.0.pdf
Binary file not shown.
63 changes: 13 additions & 50 deletions docs/en/d1/d1_mini.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ LOLIN D1 mini
|TOP_IMG|_ |BOTTOM_IMG|_
================== ==================

.. |TOP_IMG| image:: ../_static/boards/d1_mini_v3.1.0_1_16x16.jpg
.. _TOP_IMG: ../_static/boards/d1_mini_v3.1.0_1_16x16.jpg
.. |TOP_IMG| image:: ../_static/boards/d1_mini_v4.0.0_1_16x16.png
.. _TOP_IMG: ../_static/boards/d1_mini_v4.0.0_1_16x16.png

.. |BOTTOM_IMG| image:: ../_static/boards/d1_mini_v3.1.0_2_16x16.jpg
.. _BOTTOM_IMG: ../_static/boards/d1_mini_v3.1.0_2_16x16.jpg
.. |BOTTOM_IMG| image:: ../_static/boards/d1_mini_v4.0.0_2_16x16.png
.. _BOTTOM_IMG: ../_static/boards/d1_mini_v4.0.0_2_16x16.png


.. .. raw:: html
Expand All @@ -20,14 +20,15 @@ LOLIN D1 mini
A mini wifi board with 4MB flash based on ESP-8266EX.
`[Buy it] <https://www.aliexpress.com/store/product/D1-mini-Mini-NodeMcu-4M-bytes-Lua-WIFI-Internet-of-Things-development-board-based-ESP8266/1331105_32529101036.html>`_
`[Buy it] <https://www.aliexpress.com/item/32529101036.html>`_

Features
------------------

* 11 digital IO, interrupt/pwm/I2C/one-wire supported(except D0)
* 1 analog input(3.2V max input)
* a Micro USB connection
* Type-C USB Port
* LOLIN I2C Port
* Compatible with MicroPython, Arduino, nodemcu

Tutorials
Expand All @@ -37,7 +38,7 @@ Tutorials

Documentation
----------------------
* `Schematic V3.1.0[PDF] <../_static/files/sch_d1_mini_v3.0.0.pdf>`_
* `Schematic V4.0.0[PDF] <../_static/files/sch_d1_mini_v4.0.0.pdf>`_
* :doc:`../ch340_driver`

Technical specs
Expand All @@ -60,55 +61,17 @@ Technical specs

Pin
----------------------
+------+------------------------------+--------------+
| Pin | Function | ESP-8266 Pin |
+======+==============================+==============+
| TX | TXD | TXD |
+------+------------------------------+--------------+
| RX | RXD | RXD |
+------+------------------------------+--------------+
| A0 | Analog input, max 3.2V | A0 |
+------+------------------------------+--------------+
| D0 | IO | GPIO16 |
+------+------------------------------+--------------+
| D1 | IO, SCL | GPIO5 |
+------+------------------------------+--------------+
| D2 | IO, SDA | GPIO4 |
+------+------------------------------+--------------+
| D3 | IO, 10k Pull-up | GPIO0 |
+------+------------------------------+--------------+
| D4 | IO, 10k Pull-up, BUILTIN_LED | GPIO2 |
+------+------------------------------+--------------+
| D5 | IO, SCK | GPIO14 |
+------+------------------------------+--------------+
| D6 | IO, MISO | GPIO12 |
+------+------------------------------+--------------+
| D7 | IO, MOSI | GPIO13 |
+------+------------------------------+--------------+
| D8 | IO, 10k Pull-down, SS | GPIO15 |
+------+------------------------------+--------------+
| G | Ground | GND |
+------+------------------------------+--------------+
| 5V | 5V | \- |
+------+------------------------------+--------------+
| 3V3 | 3.3V | 3.3V |
+------+------------------------------+--------------+
| RST | Reset | RST |
+------+------------------------------+--------------+

.. image:: ../_static/boards/d1_mini_v4.0.0_5_16x9.png
:target: ../_static/boards/d1_mini_v4.0.0_5_16x9.png

.. note:: All of the IO pins run at 3.3V.

Version
----------------------
* V3.1.0(current)
* V4.0.0 (current)
* `V3.1.0 <./d1_mini_3.1.0.html>`_
* V3.0.0
* V2.3.0
* V2.2.0

.. .. code-block:: c
.. #include <main.h>
.. int main()
.. {
.. return 0;
.. }
114 changes: 114 additions & 0 deletions docs/en/d1/d1_mini_3.1.0.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
LOLIN D1 mini v3.1.0
=======================

================== ==================
|TOP_IMG|_ |BOTTOM_IMG|_
================== ==================

.. |TOP_IMG| image:: ../_static/boards/d1_mini_v3.1.0_1_16x16.jpg
.. _TOP_IMG: ../_static/boards/d1_mini_v3.1.0_1_16x16.jpg

.. |BOTTOM_IMG| image:: ../_static/boards/d1_mini_v3.1.0_2_16x16.jpg
.. _BOTTOM_IMG: ../_static/boards/d1_mini_v3.1.0_2_16x16.jpg


.. .. raw:: html
.. <div style="text-align: center; margin-bottom: 2em;">
.. <iframe width="100%" height="350" src="https://www.youtube.com/embed/oJsUvBQyHBs?rel=0" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
.. </div>
A mini wifi board with 4MB flash based on ESP-8266EX.
`[Buy it] <https://www.aliexpress.com/store/product/D1-mini-Mini-NodeMcu-4M-bytes-Lua-WIFI-Internet-of-Things-development-board-based-ESP8266/1331105_32529101036.html>`_

Features
------------------

* 11 digital IO, interrupt/pwm/I2C/one-wire supported(except D0)
* 1 analog input(3.2V max input)
* a Micro USB connection
* Compatible with MicroPython, Arduino, nodemcu

Tutorials
----------------------
* :doc:`../tutorials/d1/get_started_with_micropython_d1`
* :doc:`../tutorials/d1/get_started_with_arduino_d1`

Documentation
----------------------
* `Schematic V3.1.0[PDF] <../_static/files/sch_d1_mini_v3.0.0.pdf>`_
* :doc:`../ch340_driver`

Technical specs
----------------------
+------------------------+------------+
| Operating Voltage | 3.3V |
+------------------------+------------+
| Digital I/O Pins | 11 |
+------------------------+------------+
| Analog Input Pins | 1(3.2V Max)|
+------------------------+------------+
| Clock Speed | 80/160MHz |
+------------------------+------------+
| Flash | 4M Bytes |
+------------------------+------------+
| Size | 34.2*25.6mm|
+------------------------+------------+
| Weight | 3g |
+------------------------+------------+

Pin
----------------------
+------+------------------------------+--------------+
| Pin | Function | ESP-8266 Pin |
+======+==============================+==============+
| TX | TXD | TXD |
+------+------------------------------+--------------+
| RX | RXD | RXD |
+------+------------------------------+--------------+
| A0 | Analog input, max 3.2V | A0 |
+------+------------------------------+--------------+
| D0 | IO | GPIO16 |
+------+------------------------------+--------------+
| D1 | IO, SCL | GPIO5 |
+------+------------------------------+--------------+
| D2 | IO, SDA | GPIO4 |
+------+------------------------------+--------------+
| D3 | IO, 10k Pull-up | GPIO0 |
+------+------------------------------+--------------+
| D4 | IO, 10k Pull-up, BUILTIN_LED | GPIO2 |
+------+------------------------------+--------------+
| D5 | IO, SCK | GPIO14 |
+------+------------------------------+--------------+
| D6 | IO, MISO | GPIO12 |
+------+------------------------------+--------------+
| D7 | IO, MOSI | GPIO13 |
+------+------------------------------+--------------+
| D8 | IO, 10k Pull-down, SS | GPIO15 |
+------+------------------------------+--------------+
| G | Ground | GND |
+------+------------------------------+--------------+
| 5V | 5V | \- |
+------+------------------------------+--------------+
| 3V3 | 3.3V | 3.3V |
+------+------------------------------+--------------+
| RST | Reset | RST |
+------+------------------------------+--------------+

.. note:: All of the IO pins run at 3.3V.

Version
----------------------
* V3.1.0(current)
* V3.0.0
* V2.3.0
* V2.2.0

.. .. code-block:: c
.. #include <main.h>
.. int main()
.. {
.. return 0;
.. }

0 comments on commit 41a13c4

Please sign in to comment.