Skip to content

Commit

Permalink
Updated wiolink installation guide
Browse files Browse the repository at this point in the history
  • Loading branch information
digicosmos86 committed May 10, 2018
1 parent 63309c5 commit f358834
Show file tree
Hide file tree
Showing 8 changed files with 75 additions and 10 deletions.
Binary file modified build/doctrees/environment.pickle
Binary file not shown.
Binary file modified build/doctrees/wiolink.doctree
Binary file not shown.
28 changes: 26 additions & 2 deletions build/html/_sources/wiolink.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,34 @@ Setting up WioLink boards

.. image:: ports.png

We recommend that you set everything up by following the `Fast Setup`_ guide. For more advanced users, please feel free to skip `Fast Setup`_ guide, and download only the latest software needed for your system after reading the `Detailed Guide`_ that follows.

Fast Setup
------------------------------------

The fastest way to set up a clean installed Windows 10 computer is to use the link below to download all software required for building a development environment. After downloading the self-extracting archive file, double-click to run it, and choose a location on your computer to keep your files (Desktop recommended).

* `Required software package (GrowThings.exe) <https://www.dropbox.com/s/p15tcmazbchyq3j/GrowThings.exe?dl=0>`_
* `MicroPython Firmware for WioLink boards <https://github.com/digicosmos86/wiolink/raw/master/micropython-1.9.3-wiolink-clean.bin>`_

Next, open the extracted folder, and do the following three things:

1. Install the Driver for the Board (In the folder 1_CP210x_Windows_Drivers. You will most likely run CP210xVCPInstaller_x64.exe).
2. If you only want to write programs in EsPy, then simply open EsPy folder and run EsPy.exe. No further step is needed. If you also want to use EsPy to flash the firmware, please follow Steps 3-5.
3. Install Python 3.6. Make sure **"Add To PATH"** option is checked when prompted.
4. Double click ``3_pyserial.bat`` to install PySerial.
5. Use the Second link above to download the firmware bin file and save it in the "GrowThings" folder. Open the EsPy program. Go to "Device"->"Ports"->"COMx" where ``x`` could be any number. Make sure the ``COMx`` is selected. Then, go to "Device"->'EspTool...". In the Dialog that opens subsequently (shown below), make sure "Serial Port" is the one that you saw in the "Ports" menu. Leave "Baud Rate", "Python.exe" as default. Use the "..." buttons to locate "esptool.py" and "firmware.bin". These two files should be in the "GrowThings" folder.
6. Erase the firmware first, and click "Write" to write the firmware to the board.

---

Detailed Guide
====================================

System Requirement
------------------------------------

We recommend Windows PCs for development because the excellent `EsPy` integrated development environment (IDE) runs only on Windows. If you are running MacOS or Linux operating systems, there are other IDEs available, such as `uPyCraft <https://legacy.gitbook.com/book/dfrobot/upycraft/details>`_ (for Windows and Mac) and `ESPlorer <https://github.com/4refr0nt/ESPlorer>`_ (written in Java, runs on all platforms), but they do not offer as comprehensive functionalities as does `EsPy`, such as a file system viewer that allows you to see the files on your WioLink board.
We recommend Windows PCs for development because the excellent `EsPy` integrated development environment (IDE) runs only on Windows. If you are running MacOS or Linux operating systems, there are other IDEs available, such as `uPyCraft <https://legacy.gitbook.com/book/dfrobot/upycraft/details>`_ (for Windows and Mac) and `ESPlorer <https://github.com/4refr0nt/ESPlorer>`_ (written in Java, runs on all platforms), but they do not offer as comprehensive functionalities as does `EsPy`, such as a file system viewer that allows you to see the files on your WioLink board. The `PyCharm IDE <https://www.jetbrains.com/pycharm/>`_ is an advanced commercial Python IDE that runs on all platforms. It has a plug-in that supports MicroPython. `You can read about this plug-in here <https://blog.jetbrains.com/pycharm/2018/01/micropython-plugin-for-pycharm/>`_. `Visual Studio Code <https://code.visualstudio.com/>`_ has an extension for MicroPython as well.

.. tip:: Organizing your downloaded files

Expand Down Expand Up @@ -45,7 +69,7 @@ Use the following link to download the custom MicroPython firmware for the WioLi

.. rubric:: Download Links:

* `Custom MicroPython Firmware for WioLink boards <https://github.com/digicosmos86/wiolink/raw/master/micropython-1.9.3-wiolink-clean.bin>`_
* `MicroPython Firmware for WioLink boards <https://github.com/digicosmos86/wiolink/raw/master/micropython-1.9.3-wiolink-clean.bin>`_

Flashing MicroPython Firmware
------------------------------------
Expand Down
4 changes: 4 additions & 0 deletions build/html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,10 @@ <h1>Growthings User Guide<a class="headerlink" href="#growthings-user-guide" tit
<li class="toctree-l1"><a class="reference internal" href="intro.html">Introduction</a></li>
<li class="toctree-l1"><a class="reference internal" href="install.html">Installation</a><ul>
<li class="toctree-l2"><a class="reference internal" href="wiolink.html">Setting up WioLink boards</a><ul>
<li class="toctree-l3"><a class="reference internal" href="wiolink.html#fast-setup">Fast Setup</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="wiolink.html#detailed-guide">Detailed Guide</a><ul>
<li class="toctree-l3"><a class="reference internal" href="wiolink.html#system-requirement">System Requirement</a></li>
<li class="toctree-l3"><a class="reference internal" href="wiolink.html#downloading-espy-ide">Downloading EsPy IDE</a></li>
<li class="toctree-l3"><a class="reference internal" href="wiolink.html#downloading-micropython-firmware">Downloading MicroPython Firmware</a></li>
Expand Down
5 changes: 5 additions & 0 deletions build/html/install.html
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@
<li class="toctree-l1"><a class="reference internal" href="intro.html">Introduction</a></li>
<li class="toctree-l1 current"><a class="current reference internal" href="#">Installation</a><ul>
<li class="toctree-l2"><a class="reference internal" href="wiolink.html">Setting up WioLink boards</a></li>
<li class="toctree-l2"><a class="reference internal" href="wiolink.html#detailed-guide">Detailed Guide</a></li>
<li class="toctree-l2"><a class="reference internal" href="raspi.html">Setting up the Raspberry Pi Zero W</a></li>
<li class="toctree-l2"><a class="reference internal" href="assemble.html">Assembling the Smart Greenhouse</a></li>
</ul>
Expand Down Expand Up @@ -170,6 +171,10 @@
<p class="caption"><span class="caption-text">Contents:</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="wiolink.html">Setting up WioLink boards</a><ul>
<li class="toctree-l2"><a class="reference internal" href="wiolink.html#fast-setup">Fast Setup</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="wiolink.html#detailed-guide">Detailed Guide</a><ul>
<li class="toctree-l2"><a class="reference internal" href="wiolink.html#system-requirement">System Requirement</a></li>
<li class="toctree-l2"><a class="reference internal" href="wiolink.html#downloading-espy-ide">Downloading EsPy IDE</a></li>
<li class="toctree-l2"><a class="reference internal" href="wiolink.html#downloading-micropython-firmware">Downloading MicroPython Firmware</a></li>
Expand Down
2 changes: 1 addition & 1 deletion build/html/searchindex.js

Large diffs are not rendered by default.

30 changes: 28 additions & 2 deletions build/html/wiolink.html
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,10 @@
<li class="toctree-l1"><a class="reference internal" href="intro.html">Introduction</a></li>
<li class="toctree-l1 current"><a class="reference internal" href="install.html">Installation</a><ul class="current">
<li class="toctree-l2 current"><a class="current reference internal" href="#">Setting up WioLink boards</a><ul>
<li class="toctree-l3"><a class="reference internal" href="#fast-setup">Fast Setup</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="#detailed-guide">Detailed Guide</a><ul>
<li class="toctree-l3"><a class="reference internal" href="#system-requirement">System Requirement</a></li>
<li class="toctree-l3"><a class="reference internal" href="#downloading-espy-ide">Downloading EsPy IDE</a></li>
<li class="toctree-l3"><a class="reference internal" href="#downloading-micropython-firmware">Downloading MicroPython Firmware</a></li>
Expand Down Expand Up @@ -182,9 +186,31 @@
<div class="section" id="setting-up-wiolink-boards">
<span id="wiolink"></span><h1>Setting up WioLink boards<a class="headerlink" href="#setting-up-wiolink-boards" title="Permalink to this headline"></a></h1>
<img alt="_images/ports.png" src="_images/ports.png" />
<p>We recommend that you set everything up by following the <a class="reference internal" href="#fast-setup">Fast Setup</a> guide. For more advanced users, please feel free to skip <a class="reference internal" href="#fast-setup">Fast Setup</a> guide, and download only the latest software needed for your system after reading the <a class="reference internal" href="#detailed-guide">Detailed Guide</a> that follows.</p>
<div class="section" id="fast-setup">
<h2>Fast Setup<a class="headerlink" href="#fast-setup" title="Permalink to this headline"></a></h2>
<p>The fastest way to set up a clean installed Windows 10 computer is to use the link below to download all software required for building a development environment. After downloading the self-extracting archive file, double-click to run it, and choose a location on your computer to keep your files (Desktop recommended).</p>
<ul class="simple">
<li><a class="reference external" href="https://www.dropbox.com/s/p15tcmazbchyq3j/GrowThings.exe?dl=0">Required software package (GrowThings.exe)</a></li>
<li><a class="reference external" href="https://github.com/digicosmos86/wiolink/raw/master/micropython-1.9.3-wiolink-clean.bin">MicroPython Firmware for WioLink boards</a></li>
</ul>
<p>Next, open the extracted folder, and do the following three things:</p>
<ol class="arabic simple">
<li>Install the Driver for the Board (In the folder 1_CP210x_Windows_Drivers. You will most likely run CP210xVCPInstaller_x64.exe).</li>
<li>If you only want to write programs in EsPy, then simply open EsPy folder and run EsPy.exe. No further step is needed. If you also want to use EsPy to flash the firmware, please follow Steps 3-5.</li>
<li>Install Python 3.6. Make sure <strong>“Add To PATH”</strong> option is checked when prompted.</li>
<li>Double click <code class="docutils literal"><span class="pre">3_pyserial.bat</span></code> to install PySerial.</li>
<li>Use the Second link above to download the firmware bin file and save it in the “GrowThings” folder. Open the EsPy program. Go to “Device”-&gt;”Ports”-&gt;”COMx” where <code class="docutils literal"><span class="pre">x</span></code> could be any number. Make sure the <code class="docutils literal"><span class="pre">COMx</span></code> is selected. Then, go to “Device”-&gt;’EspTool…”. In the Dialog that opens subsequently (shown below), make sure “Serial Port” is the one that you saw in the “Ports” menu. Leave “Baud Rate”, “Python.exe” as default. Use the “…” buttons to locate “esptool.py” and “firmware.bin”. These two files should be in the “GrowThings” folder.</li>
<li>Erase the firmware first, and click “Write” to write the firmware to the board.</li>
</ol>
<p></p>
</div>
</div>
<div class="section" id="detailed-guide">
<h1>Detailed Guide<a class="headerlink" href="#detailed-guide" title="Permalink to this headline"></a></h1>
<div class="section" id="system-requirement">
<h2>System Requirement<a class="headerlink" href="#system-requirement" title="Permalink to this headline"></a></h2>
<p>We recommend Windows PCs for development because the excellent <cite>EsPy</cite> integrated development environment (IDE) runs only on Windows. If you are running MacOS or Linux operating systems, there are other IDEs available, such as <a class="reference external" href="https://legacy.gitbook.com/book/dfrobot/upycraft/details">uPyCraft</a> (for Windows and Mac) and <a class="reference external" href="https://github.com/4refr0nt/ESPlorer">ESPlorer</a> (written in Java, runs on all platforms), but they do not offer as comprehensive functionalities as does <cite>EsPy</cite>, such as a file system viewer that allows you to see the files on your WioLink board.</p>
<p>We recommend Windows PCs for development because the excellent <cite>EsPy</cite> integrated development environment (IDE) runs only on Windows. If you are running MacOS or Linux operating systems, there are other IDEs available, such as <a class="reference external" href="https://legacy.gitbook.com/book/dfrobot/upycraft/details">uPyCraft</a> (for Windows and Mac) and <a class="reference external" href="https://github.com/4refr0nt/ESPlorer">ESPlorer</a> (written in Java, runs on all platforms), but they do not offer as comprehensive functionalities as does <cite>EsPy</cite>, such as a file system viewer that allows you to see the files on your WioLink board. The <a class="reference external" href="https://www.jetbrains.com/pycharm/">PyCharm IDE</a> is an advanced commercial Python IDE that runs on all platforms. It has a plug-in that supports MicroPython. <a class="reference external" href="https://blog.jetbrains.com/pycharm/2018/01/micropython-plugin-for-pycharm/">You can read about this plug-in here</a>. <a class="reference external" href="https://code.visualstudio.com/">Visual Studio Code</a> has an extension for MicroPython as well.</p>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p>Organizing your downloaded files</p>
Expand Down Expand Up @@ -218,7 +244,7 @@ <h2>Downloading MicroPython Firmware<a class="headerlink" href="#downloading-mic
<p>Use the following link to download the custom MicroPython firmware for the WioLink boards.</p>
<p class="rubric">Download Links:</p>
<ul class="simple">
<li><a class="reference external" href="https://github.com/digicosmos86/wiolink/raw/master/micropython-1.9.3-wiolink-clean.bin">Custom MicroPython Firmware for WioLink boards</a></li>
<li><a class="reference external" href="https://github.com/digicosmos86/wiolink/raw/master/micropython-1.9.3-wiolink-clean.bin">MicroPython Firmware for WioLink boards</a></li>
</ul>
</div>
<div class="section" id="flashing-micropython-firmware">
Expand Down
16 changes: 11 additions & 5 deletions source/wiolink.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ Setting up WioLink boards

.. image:: ports.png

We recommend that you set everything up by following the `Fast Setup`_ guide. For more advanced users, please feel free to skip `Fast Setup`_ guide, and download only the latest software needed for your system after reading the `Detailed Guide`_ that follows.

Fast Setup
------------------------------------

The fastest way to set up a clean installed Windows 10 computer is to use the link below to download all software required for building a development environment. After downloading the self-extracting archive file, double-click to run it, and choose a location on your computer to keep your files (Desktop recommended).

* `Required software package (GrowThings.exe) <https://www.dropbox.com/s/p15tcmazbchyq3j/GrowThings.exe?dl=0>`_
Expand All @@ -15,13 +20,14 @@ Next, open the extracted folder, and do the following three things:
1. Install the Driver for the Board (In the folder 1_CP210x_Windows_Drivers. You will most likely run CP210xVCPInstaller_x64.exe).
2. If you only want to write programs in EsPy, then simply open EsPy folder and run EsPy.exe. No further step is needed. If you also want to use EsPy to flash the firmware, please follow Steps 3-5.
3. Install Python 3.6. Make sure **"Add To PATH"** option is checked when prompted.
4. Double click 3_pyserial.bat to install PySerial.
5. Use the Second link above to download the firmware bin file and save it in the "GrowThings" folder.
5. Open the EsPy program. Go to "Device"->"Ports"->"COMx" where ``x`` could be any number. Make sure the ``COMx`` is selected. Then, go to "Device"->'EspTool...". In the Dialog that opens subsequently (shown below), make sure "Serial Port" is the one that you saw in the "Ports" menu. Leave "Baud Rate", "Python.exe" as default. Use the "..." buttons to locate "esptool.py" and "firmware.bin". These two files should be in the "GrowThings" folder.
4. Double click ``3_pyserial.bat`` to install PySerial.
5. Use the Second link above to download the firmware bin file and save it in the "GrowThings" folder. Open the EsPy program. Go to "Device"->"Ports"->"COMx" where ``x`` could be any number. Make sure the ``COMx`` is selected. Then, go to "Device"->'EspTool...". In the Dialog that opens subsequently (shown below), make sure "Serial Port" is the one that you saw in the "Ports" menu. Leave "Baud Rate", "Python.exe" as default. Use the "..." buttons to locate "esptool.py" and "firmware.bin". These two files should be in the "GrowThings" folder.
6. Erase the firmware first, and click "Write" to write the firmware to the board.

Fast Setup
------------------------------------
---

Detailed Guide
====================================

System Requirement
------------------------------------
Expand Down

0 comments on commit f358834

Please sign in to comment.