A visual programming tool for programming MakerWear systems
JavaScript HTML Python CSS Makefile Shell Other
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
ArduinoMakefile
Blockly
closure-library
main
node_modules
output
.gitignore
LICENSE
README.md
main.js
npm-debug.log
package.json
upload.bat
upload.sh

README.md

MakerWearBlockly

A visual programming interface based on Blockly that allows children to program their Programmable MakerWear modules to control other modules in a new way!

Running on Windows:

  1. install node (which comes with npm)
  2. globally install electron: npm install -g electron. you should be able to run the electron app at this point by navigating to the MakerWearBlockly folder in your command line and then running npm start.
  3. install Arduino
  4. add your Arduino's hardware\tools\avr\bin folder to your PATH environment variable. you should be able to run avrdude from now on in your command line.
  5. install cygwin - we need it to build the generated .ino files with a Makefile. So make sure that you add "make" under dev as one of the tools to be installed.
  6. add cygwin's bin folder to your PATH environment variable. Test to see if you're able to run make from the command line
  7. open the Makefile and change the following variables:
  • create a symbolic link to your Arduino folder and then set ARDUINO_DIR to point to the Arduino folder's shortcut. Make sure that you're using a relative path and NOT an absolute path (e.g. /cygdrive/c/...)
  • AVR_TOOLS_DIR should point (using a relative path) to the symbolic link that you created and then /hardware/tools/avr after it.
  • ARDMK_DIR should point (using absolute path) to MakerWearBlockly/ArduinoMakefile
  • BOARD_TXT should point (using absolute path) to the bear minimum boards.txt file.
  1. open the upload.bat file and change following:
  • "C:\Program Files (x86)\Arduino\hardware\tools\avr\etc\avrdude.conf" to the absolute path pointing to the avrdude.conf file.
  • change -PCOM3 to -PCOM# (based on the serial port that is connected to the module that needs to be programmed.
  1. open the scripts.js, comment this line cmd.run('./upload.sh'); and then uncomment this line: cmd.get('upload.bat', function(data){ console.log('uploading:\n\n',data); });

This should get you started running the application, making the programs, compiling them and uploading them onto the Module.

Running on OS X: