BlocklyDuino is a web-based visual programming editor for Arduino.
BlocklyDuino is based on Blockly, the web-based, graphical programming editor. Provide static type language blocks and code generators for Arduino programming.
- Programming Arduino with visual drag and drop blocks
- Generate fully compatible Arduino source code
We hope to have a demo online soon, but you can still...
If you want to install it locally. Get code from github and open blockly/apps/blocklyduino/index.html
in your browser.
The preffered way is to put the BlocklyDuino/web folder into a web server and open the url like localhost/public/blockly/demos/blocklyduino/index.html for use.
To avoid the tedious step of manually pasting code to the Arduino IDE, you can run a mini webserver that uses ino to upload the code to a connected Arduino board on Mac OS X and Linux systems. Invoke this command from the BlocklyDuino root folder:
python ino_web_server.py
- Open browser to BlocklyDuino, drag and drop blocks to make an Arduino program
- Select the 'Arduino' tab and copy all of the source code into an existing or new project in the Arduino IDE
- Press the 'Upload' button in the Arduino IDE to burn the code into a connected Arduino board
OR (if running ino_web_server.py
):
- Open browser to BlocklyDuino, drag and drop blocks to make an Arduino program.
- Select the 'Arduino' tab and press the 'Upload' button. (press the 'Reset' button to upload an empty program)
Check changelog here
Fred Lin (@gasolin) . Thanks Neil Fraser, Q.Neutron from Blockly https://developers.google.com/blockly/ Thanks Dale Low (gumbypp) for contribute the python server to pipe BlocklyDuino source to arduino board. Thanks Arduino and Seeeduino guys for Arduino and Grove blocks. Thanks okhiroyuki for developing the MakeWithArduino fork
The project is also inspired by arduiblock and modkit
Copyright (C) 2016 Sumo Robot League [web] www.sumorobotleague.com
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
- http://www.apache.org/licenses/LICENSE-2.0