Ardublockly is a visual programming editor for Arduino. It is based on Google's Blockly, which has been forked to generate Arduino code.

The "ArdublocklyServer" Python package initialises a local server to be able to compile and load the Arduino code using the Arduino IDE.

This is all packaged in a self contained executable:

Ardublockly desktop program screenshot

Features

  • Generate Arduino code with visual drag-and-drop blocks
  • Load the code to an Arduino Board
  • Useful "code block warnings"
  • Compatible with a wide range of official Arduino Boards
  • Runs on Windows / Linux / Mac OS X

Ardublockly is still under development and a few features are not yet implemented. A to-do list can be found in the TODO.md file.

Currently tested under Windows with Python 2.7 and 3.4 and in Linux and MacOS X with Python 2.7.

Online Demos

A demo of the current state of Ardublockly can be found in the following two links (to load the code into an Arduino requires Ardublockly to be executed locally):

Ardublockly (with responsive design)

WebApp screenshot responsive design

Ardublockly classic

WebApp screenshot

Installing

There is a packaged version for Windows that runs as a stand-alone executable and can be downloaded from the Ardublockly repository releases page.

Installation instructions for developers can be found in this Github repository Wiki. This will work on Windows, Linux and MacOS X.

It also needs the Arduino IDE version 1.6 or higher.

Running

  1. Install Ardublockly.
  2. Install the Arduino IDE version 1.6 or higher.
  3. Run Ardublockly as defined in your installation method.
  4. Configure Ardublockly to locate the Arduino IDE following these instructions.

Documentation

The documentation, including installation instructions, configuration instructions, and developer information can be found in the Ardublockly GitHub repository Wiki.

To download the documentation you can git clone the wiki data:

git clone https://github.com/carlosperate/ardublockly.wiki.git

Credit

This project has been influenced by BlocklyDuino.

Blockly original source is Copyright of Google Inc. https://developers.google.com/blockly/

Significant changes to Blockly

Added Arduino code generator, static typing and additional code warnings.

All changes to the original source code can be reviewed here.

License

Licensed under the Apache License, Version 2.0 (the "License").

The full document can be found in the LICENSE file.