Deprecated: Required parameter $query follows optional parameter $post in /var/www/html/wp-content/plugins/elementor-extras/modules/breadcrumbs/widgets/breadcrumbs.php on line 1215
Display (Quarky) - Blocks, Python Functions, Projects | PictoBlox Extension
[PictoBloxExtension]

Display (Quarky)

Display-(Quarky)
Extension Description
Controls the 7 x 5 RGB LED display.

Introduction

The extension allows the user to control the RGB LED display of Quarky.

Connecting Quarky with PictoBlox

Let’s begin by first connecting Quarky to PictoBlox. Select your preferred type of device i.e. either the desktop/laptop or your smartphone and follow the instructions.

Desktop

Follow the steps below for connecting Quarky to PictoBlox:

  1. First, connect Quarky to your laptop using a USB cable.
    Power Quarky
  2. Next, open PictoBlox on your desktop.
  3. After that, select Block or Python Coding as your coding environment.
  4. Then, click the Board button in the toolbar and select board as Quarky.
  5. Next, select the appropriate Serial port if the Quarky is connected via USB or the Bluetooth Port if you want to connect Quarky via Bluetooth and press Connect.
    COM Port

And voila! Quarky is now connected to PictoBlox.

Mobile

Follow the steps below for connecting Quarky to PictoBlox:

  1. First, power ON Quarky.
  2. Open PictoBlox on your smartphone. Go to My Space and make a new project by clicking the ‘+(plus)’ button in the bottom-right corner.
    PictoBlox in Mobile Phone
  3. Then, tap the Board button in the top-right corner of the toolbar.
    PictoBlox BoardSelect board as Quarky.
  4. Next, tap the Connect button:
    PictoBlox ConnectSelect your device from the list.

And voila! Quarky is now connected to PictoBlox.

Stage Mode

Stage mode is one of the two modes you can write your programs in Pictoblox. In this mode, you can write scripts for the sprite and boards to interact with sprites in real-time. If you disconnect the board with Pictoblox, you cannot interact with the board anymore. In this mode, you can make games and animation interacting with Quarky.

You can toggle between the upload mode and stage mode using the button on the top right side of Pictoblox.

Note:  You have to upload the firmware into the device before interacting with it. Please refer this doc: https://ai.thestempedia.com/docs/updating-quarky-firmaware-with-pictoblox/

In Python Coding Environment, use the following object declaration to use Python functions in Stage Mode:

quarky = Quarky()

Upload Mode

Upload mode is one of the two modes you can write your programs in Pictoblox. This mode allows you to write scripts and upload them to the board so that you can use them even when it is not connected to your computer, for example, you need to upload a script for making moving robots.

In this case, Quarky will run offline according to the program and it can not interact with the stage.

In Python Coding Environment, use the following object declaration to use Python functions in Upload Mode:

from quarky import *
Read More

PictoBlox Blocks

The block sets the end-effector to move by a specified value in the selected axis and the other two positions remain the same.
This block is to assign both custom and pre-defined eye emotions to our Humanoid Robot.
The block moves its sprite’s Y position by the specified amount.
The block starts at 0 when Scratch is launched and increases gradually; every second it will have increased by 1.
The block concatenates, or “links” the two values together and reports the result — for example, if “hello” and “world” were put in the block, it would report “helloworld”.
The block reports the value of the specified entry in a specified list.
This function returns the x or y position of the hand detected. The position is mapped with the stage coordinates.
The block deletes all the stored databases of the images for face recognition.
The block returns whether the specified object card is detected in the analysis or not.
(Available only for evive). The block connects the ESP8266 module to the specified WiFi and password.
The block sets the velocity of the sprite to the defined values in the x and y directions.
The block initializes the RFID sensor. The block is important to run at the start to user other blocks of the RFID sensors.
The block gets the data from the ThingSpeak channel and stores the 8 field values in PictoBlox.
The block executes the oscillator for the complete cycle for the specified cycle times. The cycle time is the maximum time period assigned for the oscillator for the individual servo motors.
The block resets the oscillator parameter for all the servo motors.
The block executes the oscillator according to stored parameters for the servo motor and the current time.
The block sets the servo motor port of the gripper robot within the code.
This block sets the value of the chosen servo to the specified angle in the specified amount of time.
The robot uses a PID algorithm for line following, stopping at a crossing line when the IR threshold is met; set PID speed, constants, and adjust parameters for optimal performance.
Moves the wizbot back for a √2 step length on the grid pattern.
The block sets the date and weekday on evive’s Real Time Clock(RTC) to the time specified by the user through the drop-down menu in the input.
The block sets the value of the servo by the value you enter. Whereas the angle of other servos remains the same.
The block sets its sprite’s Y (up and down) position to the specified amount.
The block sets the specified effect on its sprite to the specified amount
The block sets the timer’s value back to 0.0. When this block is present, the project typically utilizes the Timer output block; usually the timer must be reset at the beginning of a project for the Timer block to hold the right value.
The block reports the specified characteristics of the given text. Even though the block says “letter”, it will report all characters, including letters, numbers, symbols, and even spaces.
The block reports how many items a list contains.
This block is used to match the input image from the camera or stage feed with the stored classes previously stored in the database. The block also stores all the face data in PictoBlox for access by other blocks.
The block returns the specified parameter for the specified object detected.
The block changes the velocity of the sprite by the defined values in the x and y directions.
All articles loaded
No more articles to load

Block Coding Examples

There are no block coding examples for the extension to show.

Python Functions

There are no python functions for the extension to show.

Python Coding Examples

There are no python examples for the extension to show.
Table of Contents