D1M BLOCKLY is an online visual editor for programming the Wemos D1 Mini ESP8266 Wifi SOC. The main codebase was forked from Ardublockly, developed by @carlosperate. The original Blockly was developed by Google: 'adds an editor to your app that represents coding concepts as interlocking blocks. Custom blocks may be created to connect to your own application'.
This instance of blockly is tightly coupled to building code for the Wemos D1 Mini as it only shows its pins, and the shield blocks are preconfigured to those particular pins. This makes the process of configuring the code for these shields extremely easy, as all of the basic configuration is done for you.
We have forked the webserver that compiles and uploads code from desktop computers from BlocklyDuino. Currently we have packaged the python script as a Windows executable, and it is available from here.
All of the usual routines are needed for setting Arduino up to handle the Wemos D1 Mini.
installing the Board USB Drivers
updating the board list in arduino
setting the right board properties within Arduino
Resources for these can be found in the LINKS stack.
As code is generated in the D1M BLOCKLY editor, dependent libraries may need to be installed. These are generally identified in the Arduino code view, commented at the top of page. These can be downloaded as zip files. If you need to install libraries, check the reference in the LINKS stack.
The generated Arduino code can be copied from the webpage and pasted into an Arduino code editor, and compiled/uploaded from there. Although it is not the only option, this is a solid fail-over strategy.
The preferred workflow is to run the BlocklyDuino derived webserver on your desktop, so that D1M BLOCKLY can compile and upload directly. Remember your Arduino environment will still need to be setup for the Wemos D1 Mini for this option to work.
We have packaged the BlocklyDuino python script into a Windows executable, and can be found from the LINKS stack. Download it, extract it into a folder and run the exe.
If this does not work, there is a link to the BlocklyDuino repository. Clone/download it and run the python script manually. Python needs to be installed; Python 4.6 worked for us