Sparki Sensors
These blocks move Sparki’s wheels, grippers, and head
Accelerometer
Measures, in ‘Gs’, the value of the Accelerometer’s…

X Axis

Y Axis

Z Axis
Infrared Reflectance
Measures the value, between 0 and 1024, of the amount of light being reflected by the infrared reflectance sensor on the…

Left Edge Sensor

Left Line Sensor

Center Line Sensor

Right Line Sensor

Right Edge Sensor
Light Sensor
Measures the amount of light, between 0 and 1024, hitting the light sensor on front..

Left

Center

Right
Magnetometer
Measures the value of the Magnetometer’s…

X Axis

Y Axis

Z Axis
IR Remote Control
Reads the last IR remote control code sent to Sparki

Ultrasonic Distance
Measures the distance, in centimeters, of the distance from the front of the sensor to the nearest object

Moving Sparki
These blocks move Sparki’s wheels, grippers, and head
Wheels
Sparki moves by the value amount in centimeters for distance, or degrees for values. Using zero as the value will keep Sparki moving.

Move Forward

Move Backward

Move Left

Move Right
Sparki stops all movement of its wheels.

Grippers
Sparki moves its grippers in centimeters by the amount of the value. Using zero as the value will keep the gripper moving.

Open Grippers

Close Grippers
Sparki stops moving its grippers

Head
Sparki tilts its head according to the angle value used

Sparki Outputs
Beep
Sparki beeps using the frequency value used, for the milliseconds value used

IR Send
Sparki flashes it’s IR LEDs coded as the value

RGB
Sparki lights up the RGB LED’s brightness based on the three values

Status LED
Sparki adjusts its status LED’s brightness based on the value

Sparki Communications
Serial Print
Sparki writes the value to it’s USB serial port

Serial Read
Sparki reads the value from it’s USB serial port
