MakerWear / MakerWearBlockly

A visual programming tool for programming MakerWear systems

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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:

About

A visual programming tool for programming MakerWear systems

License:MIT License


Languages

Language:JavaScript 92.2%Language:HTML 6.2%Language:Python 0.6%Language:CSS 0.5%Language:Makefile 0.4%Language:Shell 0.1%Language:Arduino 0.1%Language:C 0.0%Language:Emacs Lisp 0.0%Language:Batchfile 0.0%Language:Roff 0.0%Language:Processing 0.0%