Arduino programming hasn't been easy, but using Scratch to program Arduino, it is more fun and simple than ever before!
- Interactive Mode - Connect sprites with Arudino Robots or Arduino Boards, and use them to interact with Arduino Robots or Arduino Boards
- Program Mode - Use Scratch to program Arudino Robots or Arduino Boards, and run them offline
-
Download and install Scratch Arduino Link
-
Scratch Arduino: https://scratch.ottawastem.com
Interactive Mode:
To start the Scratch Arduino server locally, follow these steps:
- Clone or download the Scratch Arduino repository from GitHub to your local machine.
- Navigate to the root directory of the project in your terminal/command prompt.
- Install the necessary dependencies by running
npm install
if you haven't already done so Note: use node version 14 only. - Start the server by running the command
npm start
. - Once the server is running, you should see output indicating that the server is listening on a specific port, usually port 3000 by default.
- Open your web browser and navigate to the URL where the Scratch Arduino server is hosted, typically
http://0.0.0.0:8601/
. - You should now be able to use Scratch Arduino in both interactive and program modes.
These steps assume you have Node.js and npm installed on your machine. If not, you'll need to install them before proceeding. Additionally, make sure to follow any specific instructions or prerequisites mentioned in the project's documentation.