- Scratch Based Default Extensions
- Artificial Intelligence
- Innovative Extensions
- Machine Learning Environment
- Quarky
- Quarky Intellio I2C Communication
- Quarky Advance Sensors Extension
- Quarky Connect
- Display (Quarky)
- Quarky (Main)
- Robot (Quarky)
- Sensors (Quarky)
- Speaker (Quarky)
- Quarky Ultimate Robots
- Quarky Expansion Board
- Mars Rover
- Humanoid (Quarky)
- Quadruped (Quarky)
- IoT House (Quarky)
- Quarky Mecanum
- Quarky Robotic Arm
- Dabble
- Quarky Advance Line Following
Arduino Alvik (Main)
Extension Description
Control essential Arduino Alvik functions, monitor battery levels, print values to the serial output, and manage timer operations using PictoBlox.
-
Available in: Block Coding, Python Coding
-
Mode: Stage Mode
-
WiFi Required: No
-
Compatible Hardware in Block Coding: Arduino Alvik
-
Compatible Hardware in Python: Arduino Alvik
-
Object Declaration in Python: alvik = ArduinoAlvik()
-
Extension Catergory: Arduino Alvik
Introduction
The Arduino Alvik (Main) extension provides essential programming blocks for working with Arduino Alvik in PictoBlox. It allows users to start programs automatically, monitor battery levels, display information through serial output, and perform timer-based operations.
Using this extension, you can:
- Run an uploaded program when Arduino Alvik starts.
- Print messages, numbers, and sensor readings to the serial output.
- Monitor the robot’s battery level.
- Measure elapsed time during program execution.
- Reset the timer for new measurements.
This extension is useful for program initialization, debugging, battery monitoring, and time-based robotics activities.

Connecting Arduino Alvik with PictoBlox
Before using the Arduino Alvik (Main) blocks, connect your robot to PictoBlox using USB or Bluetooth.
Follow the step-by-step instructions in the Arduino Alvik Connection Guide.
Read More
PictoBlox Blocks
All articles loaded
No more articles to load
Python Functions
This function displays the specified text or value in the configured program or serial output.
Syntax: print(“hello”)
This function returns the Arduino Alvik battery level as a percentage.
Syntax: get_battery_level( )
This function returns the current elapsed timer value in seconds.
Syntax: get_timer( )
This function resets the timer value to zero.
Syntax: reset_timer( )
All articles loaded
No more articles to load
Table of Contents
