Quarky Connect
-
Available in: Block Coding, Python Coding
-
Mode: Stage Mode, Upload Mode
-
WiFi Required: No
-
Compatible Hardware in Block Coding: Quarky
-
Compatible Hardware in Python: Quarky
-
Object Declaration in Python: quarky = Quarky()
-
Extension Catergory: Quarky
Introduction
The Quarky Connect extension allows multiple Quarky devices to communicate wirelessly using ESP-NOW. With this extension, one Quarky can control others, send commands, or coordinate actions, all without needing a Wi-Fi router or internet connection.
This feature opens up endless possibilities for creative and interactive projects. Whether it’s controlling a swarm of robots or making them work in sync, Quarky Connect is perfect for classroom activities and fun challenges that involve multiple robots.
Create Exciting Projects with Quarky Connect!
With Quarky Connect, you can create innovative and exciting projects like:
- Go Kart: Control multiple Quarky robots in a race to the finish line, where each robot needs to avoid obstacles and follow specific paths.

- Pac-Man: Create a multiplayer version of Pac-Man where Quarky robots can act as the ghosts, chasing the main character in a dynamic maze.

- Fruit Chase: Program Quarky robots to chase and collect virtual fruits on a grid, with each robot moving based on the commands sent by the master robot.

- Rangoli: Use a fleet of Quarky robots to collaborate on creating intricate Rangoli patterns, where each robot fills in a section of the design simultaneously.

Updating Quarky Firmware
Before using the Quarky Connect extension, ensure that your Quarky is updated to the latest firmware version 6.0 If you are using an older Quarky firmware, this feature may not work, as Quarky Connect is supported only in the latest firmware.
Follow the steps below to upload the latest firmware:
Step 1: Make sure PictoBlox is installed on your device.
Please make sure to use PictoBlox version 9.1.0 or later for Quarky Connect Extension support. Click Download PictoBlox to visit the download page, select your operating system, and follow the on-screen instructions to install the latest version. 
Step 2: Open PictoBlox and select the Block Coding environment.

Step 3: Connect your Quarky to your computer using a USB cable.

Step 4: Click on the Board button from the toolbar and select Quarky.

Step 5: Select the appropriate Serial Port and click Connect.

Step 6: In the upper right corner of the PictoBlox window, you will see the Upload Firmware button. Click, and a status window will open.


Step 7: Wait for the confirmation message on the screen.

Accessing Quarky Connect in Block Coding
Follow these steps to use the Quarky Connect extension:
Step 1: Create a new project.

Step 2: Select the Block Coding environment.

Step 3: Select the Quarky Board.

Step 4: Click on Add Extension.
Step 5: Select and add the Quarky Connect extension.

Step 6: You can now access all Quarky Connect blocks.

Master Quarky
- Acts as the central controller in a Quarky Connect setup.
- Sends commands to multiple Peer Quarkys to control actions such as movement, display changes, and more.
- Operates in both Stage Mode and Upload Mode.
- Communicates wirelessly with Peer Quarkys using the ESP-NOW protocol, without requiring a Wi-Fi router or internet connection.
Peer Quarky
- Listens for commands from the Master Quarky.
- Executes the specified actions.
- Works only in Upload Mode.
- Requires specific code to be uploaded to enable communication with the Master Quarky.
Stage Mode and Upload Mode

- Stage Mode enables you to control multiple Quarky devices wirelessly and interactively in real-time. It is ideal for applications like gaming, where you need immediate feedback from your actions.
- Toggle between modes using the button in the top right corner of PictoBlox.
- Upload Mode is ideal for making autonomous robots or devices that do not need to stay connected to the computer. After uploading the code, Quarky runs the program autonomously.
- Upload the code and switch to Upload Mode for projects that need to work offline.
You can refer to the video tutorial How to Connect Multiple Quarky Robots using PictoBlox | Quarky Connect Tutorial for more information.