/Blockly4Arduino

Code repo of Ingegno website with Blockly for Arduino (Derivative of Blockly and BlocklyDuino)

Primary LanguageJavaScriptApache License 2.0Apache-2.0

Blockly4Arduino

Graphically program your Arduino on Chrome OS, or Windows, Apple, Linux via the Chrome, Firefox ... browser. Program it if online with

  1. English Blockly4Arduino

  2. Nederlandse Blockly4Arduino

To use off-line, download this code repo as a zip file, extract on your PC or on the Intranet, and run it by clickling in your file explorer on the file Blockly4Arduino/blockly4Arduino/index_en.html.

Developed with support from Ingegno.be and VZW De Creatieve STEM.

Manual and examples

Dutch: Nederlandse handleiding

Example blocks: The basic Arduino sketches, Ingegno UGO&TESS blocks, and Ingegno LedUpKidz. Blockly4Arduino can do it!

General Info

This is the code of website created for the LedUpKidz project, but usable also more generally. Blockly for Arduino or Genuino allows to program your Arduino with blocks, ideal for novices to learn the basics. Blockly for Arduino is also touch friendly so can be used on a tablet.

Translations

Would you like to submit a translation of the website for your language? This can be done easily:

  1. from our ardublockly branch copy from the file en.json the string codes starting with ARD, as well as the codes under those, to your language file, eg de.json
  2. Translate them.
  3. Send them to us, or do a pull request against our branch of blockly.

We plan to make the demo site more easily translatable. At the moment, to obtain a version for your language, you need to create a copy of this repo, and create a copy of Blockly4Arduino index_en.html and translate the few strings present. See the Dutch site for such a translation: index.html.

Screenshots

For developers

The code is based on the branch blockly4arduino from bmcage/ardublockly. The directory structure locally should be:

./git/ardublockly (branch blockly4arduino from bmcage

./git/closure-library (from google)

./git/Blockly4Arduino

In ardublockly run git submodule update --init --recursive to obtain the submodules. Then in de subdirectory blockly run python build.py to build the blockly version of ardublockly.

In Blockly4Arduino run python create_site.py, which will update Blockly4Arduino with the files needed for the website.