Sparki Sensors
These blocks move Sparki’s wheels, grippers, and head
Accelerometer
Measures, in ‘Gs’, the value of the Accelerometer’s…
![](https://arcbotics.com/wp-content/uploads/2016/06/AB_Block_Accel_X.png)
X Axis
![](https://arcbotics.com/wp-content/uploads/2016/06/AB_Block_Accel_Y.png)
Y Axis
![](https://arcbotics.com/wp-content/uploads/2016/06/AB_Block_Accel_Z.png)
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…
![](https://arcbotics.com/wp-content/uploads/2016/06/AB_Block_Infrared_LE.png)
Left Edge Sensor
![](https://arcbotics.com/wp-content/uploads/2016/06/AB_Block_Infrared_LL.png)
Left Line Sensor
![](https://arcbotics.com/wp-content/uploads/2016/06/AB_Block_Infrared_CL.png)
Center Line Sensor
![](https://arcbotics.com/wp-content/uploads/2016/06/AB_Block_Infrared_RL.png)
Right Line Sensor
![](https://arcbotics.com/wp-content/uploads/2016/06/AB_Block_Infrared_RE.png)
Right Edge Sensor
Light Sensor
Measures the amount of light, between 0 and 1024, hitting the light sensor on front..
![](https://arcbotics.com/wp-content/uploads/2016/06/AB_Block_Light_L.png)
Left
![](https://arcbotics.com/wp-content/uploads/2016/06/AB_Block_Light_C.png)
Center
![](https://arcbotics.com/wp-content/uploads/2016/06/AB_Block_Light_R.png)
Right
Magnetometer
Measures the value of the Magnetometer’s…
![](https://arcbotics.com/wp-content/uploads/2016/06/AB_Block_Mag_X.png)
X Axis
![](https://arcbotics.com/wp-content/uploads/2016/06/AB_Block_Mag_Y.png)
Y Axis
![](https://arcbotics.com/wp-content/uploads/2016/06/AB_Block_Mag_Z.png)
Z Axis
IR Remote Control
Reads the last IR remote control code sent to Sparki
![](https://arcbotics.com/wp-content/uploads/2016/06/AB_Block_Remote.png)
Ultrasonic Distance
Measures the distance, in centimeters, of the distance from the front of the sensor to the nearest object
![](https://arcbotics.com/wp-content/uploads/2016/06/AB_Block_Ultrasonic.png)
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.
![AB_Block_Move_Forward](https://arcbotics.com/wp-content/uploads/2016/07/AB_Block_Move_Forward-200x70.png)
Move Forward
![AB_Block_Move_Backward](https://arcbotics.com/wp-content/uploads/2016/07/AB_Block_Move_Backward-200x69.png)
Move Backward
![](https://arcbotics.com/wp-content/uploads/2016/07/AB_Block_Move_Left.png)
Move Left
![](https://arcbotics.com/wp-content/uploads/2016/07/AB_Block_Move_Right.png)
Move Right
Sparki stops all movement of its wheels.
![AB_Block_Move_Stop](https://arcbotics.com/wp-content/uploads/2016/07/AB_Block_Move_Stop.png)
Grippers
Sparki moves its grippers in centimeters by the amount of the value. Using zero as the value will keep the gripper moving.
![](https://arcbotics.com/wp-content/uploads/2016/07/AB_Block_Open_Gripper-200x70.png)
Open Grippers
![](https://arcbotics.com/wp-content/uploads/2016/07/AB_Block_Close_Gripper-200x69.png)
Close Grippers
Sparki stops moving its grippers
![AB_Block_Stop_Gripper](https://arcbotics.com/wp-content/uploads/2016/07/AB_Block_Stop_Gripper.png)
Head
Sparki tilts its head according to the angle value used
![AB_Block_Head_Servo](https://arcbotics.com/wp-content/uploads/2016/07/AB_Block_Head_Servo.png)
Sparki Outputs
Beep
Sparki beeps using the frequency value used, for the milliseconds value used
![AB_Block_Beep](https://arcbotics.com/wp-content/uploads/2016/07/AB_Block_Beep.png)
IR Send
Sparki flashes it’s IR LEDs coded as the value
![AB_Block_IR_Send](https://arcbotics.com/wp-content/uploads/2016/07/AB_Block_IR_Send.png)
RGB
Sparki lights up the RGB LED’s brightness based on the three values
![AB_Block_RGB](https://arcbotics.com/wp-content/uploads/2016/07/AB_Block_RGB.png)
Status LED
Sparki adjusts its status LED’s brightness based on the value
![AB_Block_Status](https://arcbotics.com/wp-content/uploads/2016/07/AB_Block_Status.png)
Sparki Communications
Serial Print
Sparki writes the value to it’s USB serial port
![AB_Block_Serial_Print](https://arcbotics.com/wp-content/uploads/2016/07/AB_Block_Serial_Print.png)
Serial Read
Sparki reads the value from it’s USB serial port
![AB_Block_Serial_Read](https://arcbotics.com/wp-content/uploads/2016/07/AB_Block_Serial_Read.png)