Installing Arduino IDE for Kniwwelino

This section describes how to setup Arduino IDE to be used for Kniwwelino development. It only has to be done if you like to use Kniwwelino without the KniwwelinoBlockly or if you working with Windows, Linux or Mac OSX.

  1. Ordered List ItemDownload latest Arduino IDE launch it after installation.
  2. Add support for the Kniwwelino hardware to the Arduino IDE
    • OSX select from the Menu: Arduino > Preferences / Windows and Linux File > Preferences
    • Paste http://arduino.esp8266.com/stable/package_esp8266com_index.json into the field Additional Boards Manager URLs
    • Restart Arduino IDE
    • Select from the Menu: Tools > Board: > Boards Manager…
    • Type ESP into the search box of the Boards Manager window.
    • Make sure you installed it in version 2.4.0
    • Select the ESP8266 and press install button
  3. Installation of all necessary libraries:
    • Select from the Menu: Sketch > Include Library > Manage Libraries…
    • Search for the following libraries and install them by selecting the Library and pressing the install button. Be careful to use the correct version.
      • Kniwwelino
      • Adafruit GFX Library v1.2.2
      • Adafruit NeoPixel v1.1.6
      • ArduinoJson v5.11.1
      • MQTT by Joel Gaehwiler v2.3.1
      • WifiManager v0.12
      • Time 1.5
      • TimeAlarms 1.5
      • TimeZone 1.1.1
  4. Now you should be able to find the WeMos D1 R2 & mini in the list of supported boards Tools > Board: WeMos D1 R2 & mini .
  5. It is important that you set the Flash Size to 4M (3M SPIFFS) in Tools > Flash Size : 4M (3M SPIFFS).

More info available on the Kniwwelino github page.

If you have troubles with librairies, try to download kniwwelinodependencies_1.2.0.zip and extract the archive in your Arduino>librairies folder.