diff --git a/README.md b/README.md index 1bbc566..8c6942d 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # LEGO Mindstorms EV3 ScratchX Extension (Italian translation) *Some fixes, updates and ITA translation* +## New Features We added some extra features: - added velocity to the **Steering Control block**; - restored **Gyro sensor read value block** (angle, angular velocity options) - it was commented; @@ -8,12 +9,18 @@ We added some extra features: - fixed **Touch sensor Boolean synchronous block** (it returns if the button is pressed: true/false) - we created a new ext function that calls the usual whenButtonPressed function to avoid visualisation problems of the blocks after saving and loading the .sbx file. We commented the **deprecated** readTouchSensorPort function; - created **command Block for changing the volume** of the played note (only changes the global value of the volume variable) +## Developing In progress: -- put the translation inside a unique .js file (like in the [Arduino Extension](https://github.com/khanning/scratch-arduino-extension/blob/gh-pages/arduino_extension.js)) +- put the translation inside a unique .js file (like in the [Arduino Extension](https://github.com/khanning/scratch-arduino-extension/blob/gh-pages/arduino_extension.js)). Actually not an easy task! The Arduino Extension in other languages is not working :( -Furthermore we translated in it **Italian**. You can find it in this [file](http://scollovati.github.io/ev3_scratch/ev3_scratch_ita.js): this is the URL that you need to load on ScratchX. This file has some blocks (readRemoteButtonPort, playFreq) commented because we found them unuseful: however the english file (ev3_scratch.js) is aligned with the original one. +## Italian translation - Traduzione italiana +Furthermore we translated in it **Italian**. You can find it in this [file](http://scollovati.github.io/ev3_scratch/ev3_scratch_ita.js): this is the URL that you need to load on ScratchX. This file has some blocks (readRemoteButtonPort, playFreq) commented because we found them unuseful: however the english files (ev3_scratch.js and ev3_scratch_v9.js) have these blocks. +## Tests done We tested these fixes and upgrades during a weeklong camp with 5 EV3 kits working simultaneously. +## How we work & credits We work on the **master branch**. We use the gyro-reset branch only for making pull requests to the original repo. + +Work done by [Giuseppe Menegoz](https://github.com/gmenegoz) and [Stefano Collovati](https://github.com/scollovati), based on the original extension created by [Ken Aspeslagh](https://github.com/kaspesla). diff --git a/index.html b/index.html deleted file mode 100644 index de05cef..0000000 --- a/index.html +++ /dev/null @@ -1,394 +0,0 @@ - - - - - - - - - - -ScratchX EV3 Extension — Code & Circuit - - - - - - - - - - - - - - - - - - - - - - - -
-
- - - - -
-
- -
- - - - - - - - - - - - - - - - - - - - - -
- - -
-
-

EV3+Scratch Extension

- -

Code & Circuit has developed this ScratchX Extension to control our EV3 bricks over Bluetooth from Scratch.
Check out the demo video below. -

Try it out!

- - REQUIREMENTS: -
-
    -
  • An EV3 brick
  • -
  • A properly configured ScratchX device plug-in on Mac (Safari) or Windows (IE or Firefox)
  • -
- - INSTRUCTIONS: -
-
    -
  1. Make sure you have installed the latest Device Plugin for Safari or IE.
  2. -
  3. First-Time Setup: - -
      -
    1. In our classroom, we've paired each brick with its own laptop. The bricks and laptops are labeled with numbers, and students match the numbers before starting. -
    2. Mac-specific step (skip if on PC): -
        -
      1. The brick must first be re-named starting with the string "serial" (in lowercase) before pairing so that Scratch will recognize it. - Re-name a brick by connecting it to the Mac via USB, and using the LEGO Mindstorms Mac software. You should see the name change on the brick’s title bar. -
      2. If you previously paired the brick before renaming it, follow these steps before pairing: -
          -
        1. Turn off Bluetooth on the Mac (in the BT prefs). -
        2. Trash /Library/Preferences/com.apple.Bluetooth.plist (this is the main Library, not the user Library.) -
        3. Reboot the Mac -
        4. Re-enable Bluetooth. -
        5. Follow the next step to pair the brick. -
        -
      - -
    3. On the Brick, enable bluetooth if it’s not already enabled. -
    4. On the Brick, select the "iPhone/iPad/iPod” checkbox. (only temporarily; we’ll turn this off in the last step.) -
    5. Look for the brick in the computer's Bluetooth panel, and click Pair. - You should not be asked about passcodes. (Checking that iPhone/iPad/iPod for some reason eliminates the passcode requirement.) -
    6. During pairing, you’ll see the brick show up as connected to the computer for about 5 seconds and then disconnect. This is normal. Wait for it to disconnect before the next step. -
    7. Lastly, turn off that "iPhone/iPad/iPod” checkbox. -
    8. You should not have to do these steps again, unless a brick crashes hard and does a full reset. If you notice the brick's name has reverted back to "EV3", it may have to be renamed and repaired. -
    -
  4. Using the Extension:
  5. -
      -
    1. Make sure brick is powered on first and iPhone/iPad/iPod checkbox is unchecked. -
    2. Do not manually initiate any connections to or from the brick. The Scratch Plug-in will automatically connect when the ScratchX webpage loads.
    3. -
    4. Go to this link using Safari (Mac) or IE (Windows): EV3 Scratch Extension. We have not had any luck with Chrome. -
    5. When the connection is successful, you will hear the brick play some happy tones.
    6. -
    7. If the connection is lost (brick was turned off, goes out of range, etc.), you must refresh the browser page to re-connect to the brick. Save your ScratchX project as an sbx file first, refresh the page, wait for the beeps, and then load the sbx file. -
    -
-
  • Tips:
  • -
      -
    • Make sure the brick is turned on before going to the ScratchX webpage link. -
    • You can double-click a block directly in the menu in Scratch to make it trigger immediately. For example: -
        -
      • To test whether a brick is connected, double-click the "play tone" block in the More Blocks menu. You should hear a tone! -
      • To stop all motors quickly, double-click the "stop all motors" block. -
      • To see the value of a sensor, double-click its rounded block to see the result in the little pop-over. -
      -
    • Make sure your EV3 blocks have selected the correct motor or input port. -
    • For the IR Remote block to work, the red slider on the remote must be switched to top (1) setting. On the block, select the port where the IR sensor is connected. -
    -
  • Demo SBX files on Github -

    Feedback

    -
  • Send comments/feedback to lego@codeandcircuit.org
  • -

    - -

    -

    - -
    - -
    - -
    - -
    - - - -
    - - - - - - - - - - diff --git a/large_ev3_scratch.png b/large_ev3_scratch.png deleted file mode 100644 index eb5262e..0000000 Binary files a/large_ev3_scratch.png and /dev/null differ diff --git a/photo.jpg b/photo.jpg deleted file mode 100644 index 8e16872..0000000 Binary files a/photo.jpg and /dev/null differ diff --git a/small_ev3_scratch.png b/small_ev3_scratch.png deleted file mode 100644 index 3c3bd4f..0000000 Binary files a/small_ev3_scratch.png and /dev/null differ