- 🧠 How to Install Standard Firmata on Arduino
- 🔧 What You’ll Need
- 🚀 Step 1: Open the Arduino IDE
- 🧩 Step 2: Open the StandardFirmata Example
- ⚙️ Step 3: Select the Correct Board and Port
- ⏫ Step 4: Upload the Firmware
- 🧠 Step 5: Connect to Pishi.ai
- ⚠️ Troubleshooting
- 🧰 Optional: Custom Firmata Versions
- 🧡 You’re Ready to Create!
🧠 How to Install Standard Firmata on Arduino #
Pishi.ai’s Arduino extension communicates with your Arduino board using StandardFirmata — a special firmware that lets Scratch blocks control your board directly.
Follow these simple steps to install it.
🔧 What You’ll Need #
- An Arduino board (Uno, Nano, Mega, Leonardo, etc.)
- A USB cable to connect it to your computer
- The Arduino IDE, download it from:
https://arduino.cc/en/software - A working internet connection
🚀 Step 1: Open the Arduino IDE #
- Plug your Arduino board into your computer using the USB cable.
- Open the Arduino IDE.
- Wait a few seconds until you see your board name under Tools → Port.
🧩 Step 2: Open the StandardFirmata Example #
- In the Arduino IDE menu, go to:
- A new window will open with the StandardFirmata code.
📝 Tip – Can’t find “Firmata” in the Examples menu?
Don’t worry — newer versions of the Arduino IDE (especially Arduino IDE 2.x) no longer include Firmata by default.
You just need to install it manually once:
🧩 How to install Firmata manually #
- In the Arduino IDE, open
Sketch → Include Library → Manage Libraries… - In the search bar, type Firmata.
- Find “Firmata by Firmata Developers” and click Install.
- After it’s installed, open it from:
✅ Now you’ll be able to upload the StandardFirmata sketch to your Arduino!
⚙️ Step 3: Select the Correct Board and Port #
- Go to Tools → Board and choose your Arduino model (e.g., “Arduino Uno”).
- Go to Tools → Port and select the COM port that matches your Arduino.
⏫ Step 4: Upload the Firmware #
- Click the Upload button (the → arrow icon at the top left).
- Wait until you see “Done uploading” at the bottom.
✅ You’ve successfully uploaded StandardFirmata!
🧠 Step 5: Connect to Pishi.ai #
- In the browser open:
pishi.ai/play - Go to the Extensions section in Scratch and click the Arduino extension.
- From the list of detected devices, select your Arduino board and click Pair or Connect.
- You can connect your Arduino using either USB or Bluetooth (BLE).
- To switch between connection types, disconnect from Arduino first, then click the connection icon next to the Arduino label in the block palette and choose your preferred mode.
🎉 That’s it! Your Arduino is now successfully connected and ready to use with Scratch blocks in Pishi.ai — start coding, blinking LEDs, reading sensors, and building smart projects right away!
⚠️ Troubleshooting #
| Problem | Possible Fix |
|---|---|
| No port appears | Make sure the USB cable supports data, not just charging. Try another port or cable. |
| Upload error | Check that the correct board and port are selected. Close other serial apps. |
| Extension doesn’t connect through USB | Reopen Pishi.ai/play and ensure StandardFirmata is uploaded. Try reconnecting the USB cable. Make Sure USB Connection mode is selected. |
| Firmata not found in IDE | Update the Arduino IDE to the latest version. |
🧰 Optional: Custom Firmata Versions #
If your Arduino board has built-in Bluetooth Low Energy (BLE), use StandardFirmataBLE instead of StandardFirmata to enable wireless connections in Pishi.ai.
This version allows you to connect to your Arduino without a USB cable, perfect for mobile, wearable, or robot projects.
Some of Supported boards:
- 🟦 Arduino Nano 33 BLE / BLE Sense
- 🌐 Arduino Nano 33 IoT
- 💡 Arduino MKR WiFi 1010
- 🔵 Arduino Uno WiFi Rev2
🔧 How to install StandardFirmataBLE #
- In the Arduino IDE, open
File → Examples → Firmata → StandardFirmataBLE - Select your board and upload it just like the regular StandardFirmata.
- In Pishi.ai, choose Bluetooth (BLE) as the connection type when pairing.
🧡 You’re Ready to Create! #
Now you can:
- Read sensors and control LEDs from Scratch
- Use blocks like:
read analog pin [14 (a0)]
write digital pin [13] [1] - Build your own robots and smart projects easily!
