Experimental software and hardware project by Arduino
Instructions:
- Read required parts
- Execute 3D printing of the robot shell - coming soon
- Mount the robot following mounting instructions
- Upload base firmware on the robot using Arduino IDE (sketches can be found in the /sketches folder of this repo)
- Open Arduino lab for Scratch and program your robot
- Have fun!
If you want to install and launch Scratch on your local machine for development purposes you need to follow the instructions in scratch-arduino-extensions folder.
Scratch is a free programming platform where you can create your own interactive stories, games, and animations.
If you want to connect to an Arduino board via Bluetooth Low Energy (BLE) you need to install a couple of Arduino specific extensions.
Then you need to install Scratch link (https://scratch.mit.edu/download/scratch-link) which allows you to connect your Scratch project to a BLE device.
- Clone and install the scratch-gui repository
make init
to install everything needed for the project or
make scratch-gui-install
to install only the stuff related with the Scratch GUI.
- Then apply the patches
make scratch-gui-patch
-
the
patch-gui.js
script copies a custom Arduino extension in the extensions folder and modifies the code of Scratch's extension manager to include that extension -
the
add-banner.js
script copies a new React component in thescratch-gui
folder and modifies thegui.jsx
file to include that component -
Finally, start the local server at
http://127.0.0.1:8601
make scratch-gui-start
- To remove and clean the scratch-gui directory
make scratch-gui-clean