Difference: AccessingMicroPythonOnTheNopIoTNode (6 vs. 7)

Revision 72019-06-01 - UliRaich

Line: 1 to 1
 
META TOPICPARENT name="TheNopIoTNode"

Accessing Micro Python on the IoT Node

Introduction

Line: 49 to 49
 For IoT we need in addition: MQTTfx ( http://www.jensd.de/apps/mqttfx/1.7.0 ) and mosquitto (install with apt)

... and I probably missed quite a few

Added:
>
>

For Windows users

The installation of the tools is similar as for Ubuntu. You must install realterm as terminal emulator instead of minicom and you must install Python for Windows. Please install the stable version (3.7.3 at the time of writing). Then install the Python modules using pip (pip install PyQt5 ...)

PyQt5, pyserial, pyflakes, sip, qscintilla, esptool, pyparsing, pyinstaller, thonny, thonny-esp

With these you should be able to run uPyCraft and thonny. There is a Windows binary in the uPyCraft repository in the directory dist, which you may want to try,

When running uPyCraft for the first time, you must run it in administrator mode. Then click on "workspace" to define the directory where your micropython programs will be located. Once this is done, you may quit and re-run uPyCraft as normal user.

To edit your micropython files you may use idle, which can be started with idle.bat located in your Python_installation_dir\lib\idlelib. Create a shortcut to easily access the the command.

 

Installing uPyCraft and burning micropython into the WeMos D1 mini flash

To install uPyCraft, clone it with git:

Line: 57 to 68
  cd uPyCraft-Qt5
Changed:
<
<
./uPyCraft.py
>
>
./uPyCraft.py (you may also want try the binary uPyCraft found in the dist directory)
  It should ask you if you want the examples to be installed to which you answer "yes"
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback