Skip to content

Control self balancing robot WowWee MiP from ScratchX

Notifications You must be signed in to change notification settings

klepikov/scratch2mip

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

scratch2mip

scratch2mip is ScratchX extension that enables Scratch to controll balancing robot, WowWee MiP.

scratch2mip Demo

Platforms

Install Helper App

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

Run scratch2mip

  1. Open ScratchX page.

  2. Click "Open Extension URL" and paste the following URL, then click "Open".

    http://champierre.github.io/scratch2mip/scratch2mip.js
    
  3. On Warning dialog, click "I understand, continue" if you trust scratch2mip.

  4. Turn on Wowwee MiP.

  5. Run the Helper App:

    cd workdir/scratch2mpi_helper
    node scratch2mip_helper.js
    
  6. If the Helper App successfully connects to the robot, it lists your MiP. Choose the robot you want to controll.

    scratch2mip_helper

  7. If the Helper App says "Server listening on...", you can controll MiP from ScratchX using the following custom blocks.

    blocks

  8. Demo Project: scratch2mip_demo.sbx

    blocks

About

Control self balancing robot WowWee MiP from ScratchX

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%