/ardublockly

Version française de Ardublockly adaptée pour les Tinker modules de Hack&Invent

Primary LanguageCApache License 2.0Apache-2.0

C'est un fork de Ardublockly (http://ardublockly.embeddedlog.com) pour une adaptation aux modules HackInvent.

Par défaut la langue est le français.

Il intègre par défaut le compilateur Arduino, c'est un peu volumineux mais nous allons faire le ménage dans un second temps.

Il faut installer Python 3.6 pour l'utiliser.

Une fois python installé, n'oublier pas de vérifier que le chemin vers Python est bien pris en compte dans les variables environmentales et redérammer votre ordinateur si vous êtes sous WINDOWS.

Ardublockly

Ardublockly est un éditeur graphique pour programmer les cartes Arduino. Il est basé sur Blockly développé par Google, il a été modifié pour générer du code pour Arduino.

Le package Python ArdublocklyServer lance un serveur web en locle qui permet de compiler du code Arduino en passant par l'intermédiaire de l'éditeur Arduino (Arduino IDE).

Ardublockly desktop program screenshot

Features

  • Generates Arduino code with visual drag-and-drop blocks
  • Uploads the code to an Arduino Board
  • Useful "code block warnings"
  • Compatible with a wide range of official Arduino Boards
  • Works 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.

Cloning the repository

Please note that there are submodules in the repository that need initialisation. So, to correctly clone the Ardublockly repository:

git clone https://github.com/carlosperate/ardublockly.git
cd ardublockly
git submodule update --init --recursive

Installing

The desktop application is available for Windows/Mac/Linux and runs as a stand-alone executable that can be downloaded from the Ardublockly repository releases page.

You will also need the Arduino IDE version 1.6.x or higher.

Development builds

You can also test UNSTABLE development builds automatically generated every time an update is added to the GitHub repository:

Linux build Windows build Mac OS X build
Linux Build Status Windows Build status Mac Build Status
Download Link Download Link Download Link

"Core version" (Python server only)

If you prefer, the core software can be used by running only the Python server, which loads the web interface on your local browser (Chrome recommended).

Full installation instructions for this version can be found in this Github repository Wiki.

The quick version: Clone this repository, initialise all submodules, and execute:

python start.py

This will work on Windows, Linux (including ARM) and Mac OS X, with Python >2.7 or >3.4

Running

  1. Install Ardublockly.
  2. Install the Arduino IDE version 1.6.x or higher (latest version is always recommended).
  3. Run Ardublockly as defined in your installation method.
  4. Configure Ardublockly to locate the Arduino IDE following these instructions.

Online Demos

A demo of the latest release of Ardublockly main interface can be found in the following two links (to load the code into an Arduino it requires the full Ardublockly application to be downloaded and run on your computer):

WebApp screenshot responsive design

WebApp screenshot

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 inspired by BlocklyDuino.

Blockly original source is Copyright of Google Inc. https://developers.google.com/blockly/. A list of changes to the Blockly fork can be found in the Blockly subdirectory README file.

License

Copyright (c) 2016 carlosperate https://github.com/carlosperate/

Unless stated otherwise, the source code of this projects is licensed under the Apache License, Version 2.0 (the "License"); you may not use any of the licensed files within this project except in compliance with the License.

The full document can be found in the LICENSE file.

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.