evive PictoBlox Extensions

Blocks are puzzle-piece shapes that are used to create code in Scratch. The blocks connect to each other vertically like a jigsaw puzzle, where each data type (hat block, stack block, reporter block, boolean block, or cap block) has its own shape and a specially shaped slot for it to be inserted into, which prevents syntax errors.
Cap Block
A Cap block is a block that is designed to stop a script or project from running, canceling unwanted activity before it can start.
C Block
C block is a block that is shaped like a “C”, so other blocks can fit inside it. These blocks perform the conditions and loops.
Boolean Block
A Boolean block is an elongated hexagonal block shaped after the boolean elements in flowcharts. A boolean block contains a condition. When the block is invoked, it acts as a reporter block, reporting “true” or “false” string values or the numbers “1” and “0” depending on their usage in a script.
Reporter Block
A reporter block is a block that contains a value. These blocks can contain anything, from numbers to strings. Boolean Blocks are a special form of reporter blocks that report either “true” or “false”. To quickly view the value of a reporter, simply click it in the editor and a bubble will display the value.
Stack Block
A Stack block is a rectangular block that is shaped to fit above and below other blocks. Stack blocks make up the majority of the blocks available in Scratch, being available in every category except Operators.
Hat Block
A Hat Block is a block that is designed to start a script. This makes them essential for making projects. All hat blocks are either Control blocks, Events blocks.
Operator Block
Operator blocks are color-coded light-green and are used to script math equations and string handling.
Sensing Block
Sensing blocks are color-coded light-blue and are used to detect different factors of a project.
Control block
Control blocks are color-coded gold and are used to control scripts.
Event Block
Events blocks are color-coded burnt orange and are used to sense events, which trigger scripts to run. Event blocks are essential for every project: without the hat blocks from this category, a project would not be able to begin except by manually running scripts.
Data Block
Variable Blocks are used to hold values and strings in variables, as well as display them using monitors.
Sound Block
Sound blocks are color-coded pink and are used to control sound and MIDI functions.
Motion Block
Motion blocks are color-coded medium-blue and are used to control a sprite’s movement. They are available only for sprites.
green flag
The Stage is the term for the background of the project but can have scripts, backdrops (costumes), and sounds, similar to a sprite. It has some restrictions on sprite functionality, such as motion and size blocks.
Sprites, either user-created, uploaded, or found in the sprites library, are the objects that perform actions in a project. While the Stage can also be programmed in a project, most projects have at least one sprite as well because only sprites can move. 
Controlling LED with space key
A script is a collection or stack of blocks that all interlock with one another. The blocks and their order are very important, as they determine how sprites interact with each other and the backdrop
green flag
Green Flag
The Green Flag is a programming feature that, when clicked, will start all scripts in that project that are hatted with the When Green Flag Clicked block. More simply, this block starts the project.
costume is one out of possibly many "frames" or alternate appearances of a sprite. Sprites can change their look to any of its costumes. They can be named, edited, created, and deleted, but every sprite must have at least one costume. One of the most common uses of costumes is to make an animation for a game or other project.
Block Palette
Block Palette
The block palette is an area of the graphical user interface located between the stage, sprite pane and scripting area. The blocks are located to the right of the categories, which can be clicked to automatically scroll to that category. The whole list can be scrolled through.
A backdrop is one out of possibly many frames, or backgrounds, of the Stage. It is located in the backdrops library.
Actuators Extension
Actuators Extension
Actuators Extension enable you to control the actuators such as DC motors and servos connected to evive and Arduino boards.
Dabble Extension
Dabble Extension
Dabble Extension has all the blocks that enable evive to communicate with Dabble. 
evive Pictoblox Extension
evive Extension
evive extension allows you to control the inbuilt functionalities of evive such as the tactile-switches, slide-switches, potentiometer, motors, a 5-way navigation key, touch inputs, and Real Time Clock.
read analog sensor
read analog sensor ()
The block reports the analog reading from analog sensor varying between 0 to 1023, connected to the selected analog pin.
get from DHT sensor at pin
get () from DHT sensor at pin ()
The block reports either the temperature or humidity (selected from the dropdown menu) from DHT sensor connected to the digital pin selected from the drop-down menu.
get ultrasonic sensor distance
get ultrasonic sensor distance (cm) trig () echo ()
The block reports the distance of the nearest object from an ultrasonic sensor. It returns distance in cm. The trigger pin and echo pin are connected to a digital pin of evive which can be selected from the drop-down menu.
Free or lock motor
() motor ()
The block free or locks the motor connected to the selected slot from evive, Arduino Uno, Mega & Nano.
Dabble refresh data
refresh data
This block refreshes the data sent to the hardware device from Dabble app.
get sensor reading 2
get () sensors reading
Dabble phone sensor module give the real-time reading of the following sensors to evive: Accelerometer, gyroscope, proximity sensor, magnetometer, light meter, sound meter, GPS, temperature sensor and barometer. This block reports the current value of the selected sensor.
get potentiometer's value
get potentiometer () value
Dabble input module has 2 potentiometers whose value can be varied from 0 to 1023 by the user. This block reports the current value of the selected potentiometer.
is slide switch block-1
is slide switch () () ?
Dabble input module have 2 slide switch type input, having states left, right and off. This block reports if the selected slide switch is in the selected state in real-time. If the slide switch is in that state, then it returns true else false.
is tactile switch pressed
is tactile switch () pressed
Dabble inputs module have two tactile switches. This block reports the state of the tactile switch (pressed or not) in real-time. If the switch is pressed, then it returns true else false.
enable motor control
enable motor control
The block allows the user to control actuators such as DC motors and servo motors from the Motor control module of the Dabble app.
enable pin state monitor
enable pin state monitor
The block allows the user to remotely monitor the live status of devices and debug them by displaying the values of all the pins – both digital and analog.
get from gamepad
get () from gamepad
The block returns the real-time value of the selected parameter (X value, Y value, radial value, and angle) form the joystick and accelerometer mode of the Gamepad module of the Dabble app. You can choose the parameter from the drop-down menu.
is pressed on gamepad
is () pressed on gamepad?
There are 10 digital buttons in the gamepad module, whose data is sent to the device when they are pressed or released. The block reports whether the button is currently pressed on the gamepad or not. If the chosen button is pressed, then it returns true, else it returns false. 
is data from terminal
is data from terminal ()
The block compares the latest string message in the terminal with the data input by the user in the block. If the data matches, it returns the true, else it returns false. 
enable LED control
enable LED control
The block allows the user to control the brightness of LED connected to digital pins of the device using Dabble app. You can enter the pin number to which your device is connected and vary the brightness in the app.
reset timer
reset timer
The block sets the timer’s value back to 0.0. Usually, the timer must be reset at the beginning of a project for the Timer block to hold the right value.
get timer value
get timer value
The block returns the time passed since the device is turned ON or since the timer has been reset. This block returns time in milliseconds.
get voltage reading
get voltage reading from () channel
The block gives the value of the voltage sensed on the sensing ports of evive. There are 2 ports red (voltage range -30 to 30V) and blue (voltage range -5 to 5V). 
get from clock
get () from clock
The block returns the value of “hours”, “minutes”, “seconds”, "date", "month", "year" or "weekday" from evive’s RTC. 
play tone
play tone on () of note () & beat ()
When the block is executed it plays the tone of specified frequency/note for a specific duration/beat. The note and the beat can be selected from the drop-down menu. Also, the user can input the specific frequency and duration (in milliseconds).
set pwm pin output as
set PWM pin () output as ()
The block set PWM output on evive PWM pins. The user can select the output from a range of 0 to 255.  If the PWM output is 128, then half the time output will be High and for rest, the output will be Low.
set digital pin output as
set digital pin () output as ()
The block sets the digital state of the specified digital pin to either “High” or “Low”. If the output is High, the pin will be at 5V and if the output is Low the pin will be at 0V.
read analog pin
read analog pin ()
The block returns the value of analog pins available in the connected hardware. Analog reading is of 10-bit resolution, hence the range of value is 0 to 1023. This range is mapped to the voltage of the pin (normally 0 to 5V). If the value received is 512, the voltage value will be around 2.5V.
read state of digital pin
read state of digital pin ()
The block reads the state of the digital pin on evive (“High” or “Low”). If the state of the pin is “High”, it returns True, else False.
channel touched
channel () touched?
evive Inbuilt tools. evive have 12 capacitive touch inputs, where you can sense if the pin is touched or not. If the specified channel is touched, the block returns “True”, else it returns false.
navigation key is in state
navigation key is in state () ?
evive has a 5-way navigation key, 4 of them are for up, down, right and left direction. This block checks if the navigation key is in one of the four particular directions. The direction for which you wish to check is your choice and can be chosen from the drop down on the block.
potentiometer reading
potentiometer () reading
evive has two potentiometers whose analog outputs can be varied by turning the knob clockwise or anti-clockwise. This block returns the analog output of either of the potentiometer (from 0-1023).
slide switch is in state
slide switch () is in the state ()?
The block check takes the slide switch number (1 or 2) and state to be checked for (Up or Down) as input and returns “True” if the slide switch is in the specified state and “False” if it is not in the specified state.
tactile switch pressed
tactile switch () pressed?
evive has two tactile switches; this block checks if either of them is pressed. The switch whose state you want to check can be chosen from the drop-down menu on this block. It returns “true” if the switch is pressed and “false” if the switch is not pressed.
circle block
() circle from center () () radius () color ()
The block is used to draw an outline of the circle or a filled circle of a specified radius and center position on evive TFT display. It takes the center and the radius of the circle from the user and draws an outline of a circle.
draw line block
draw line from () () to () () color ()
The block allows you to enter the coordinates of two points on the TFT display and joins them using a straight line of the specified color which you can choose from the color picker.
write block
write ()
This block is used to write text on evive’s TFT display.
All articles loaded
No more articles to load
Boards supported in PictoBlox
All articles loaded
No more articles to load

Close Menu