BlocklyDuino, Use Blockly to generate Arduino code

1,332 views
Skip to first unread message

gasolin

unread,
Oct 6, 2012, 9:58:58 AM10/6/12
to blo...@googlegroups.com



Hello I've create an alpha project called BlocklyDuino.

BlocklyDuino is a Blockly-based visual programming editor for arduino. Welcome to leave some suggestion or comments.

demo page
http://goo.gl/ccYs1

BlocklyDuino Provide language blocks and code generators for arduino programming.
It also support Grove blocks to easily get started with microcontroller-based experimentation and learning.
http://www.seeedstudio.com/wiki/GROVE_System

Feature:

* Compact Digital/Analog Read/Write syntax
* Auto setup pinMode
* delay and map function
* 2 Standard blocks: Build-in LED, Servo
* 6 Grove blocks: LED, Potentiometer, Tilt switch, Piezo Buzzer, Relay

3 Step Usage:

1. Open browser, Drag and Drop blocks to make arduino program.
2. Select 'Arduino' tab to copy source code to Arduino IDE
3. press 'upload' button to burn the code into arduino

Blog post
http://blog.gasolin.idv.tw/2012/10/blockly-arduino-grove-blocklyduino-pre.html  

gasolin

unread,
Oct 9, 2012, 11:52:27 AM10/9/12
to blo...@googlegroups.com


I've made some progress for blocklyduino, in recent update I've added variable blocks including type declaration block(now Number only due to blockly's limitation). It make more things possible for blocklyduino.

And I refactor the PIN definition that can support different PIN numbers depends on the board profile.

Here is the issue thread about strong typing variables support for blockly.

--
gasolin
Reply all
Reply to author
Forward
0 new messages