scratch2mip is ScratchX extension that enables Scratch to controll balancing robot, WowWee MiP.
- MacOS 10.10.5(Yosemite)
- node.js is required
- Windows 10
- Setup instruction is available at http://swikis.ddo.jp/WorldStethoscope/59 (Japanese)
- Raspberry Pi 3
- Setup instruction is available at http://nasu-lab.blogspot.jp/2016/06/raspberry-pi-3scratch2mip.html (Japanese)
- Raspberry Pi 2
- Setup instruction is available at http://nasu-lab.blogspot.jp/2016/06/raspberry-pi-2scratch2mip.html (Japanese)
To controll MiP, Helper App needs to be installed. You need node.js to run it.
% cd workdir
% wget https://champierre.github.com/scratch2mip/scratch2mip_helper.zip
% unzip scratch2mip_helper.zip
% cd scratch2mip_helper
% npm install
-
Open ScratchX page.
-
Click "Open Extension URL" and paste the following URL, then click "Open".
http://champierre.github.io/scratch2mip/scratch2mip.js
-
On Warning dialog, click "I understand, continue" if you trust scratch2mip.
-
Turn on Wowwee MiP.
-
Run the Helper App:
cd workdir/scratch2mpi_helper node scratch2mip_helper.js
-
If the Helper App successfully connects to the robot, it lists your MiP. Choose the robot you want to controll.
-
If the Helper App says "Server listening on...", you can controll MiP from ScratchX using the following custom blocks.
-
Demo Project: scratch2mip_demo.sbx