# SPIKE V3

{% hint style="info" %}
[Download](https://s3.amazonaws.com/www.buildingblockrobotics.com/firmware/firmware2-2.uf2) (May 15th, 2023) the Beta Version for the V3 release of SPIKE. Please use the upgrade [instructions](https://irseeker.buildingblockrobotics.com/updates/firmware) to update your board. This version will only appear as a colour sensor.
{% endhint %}

{% hint style="info" %}
For V1 Boards with no DIP Switches, please use this version: [Version 2.2 for V1 Boards](https://s3.amazonaws.com/www.buildingblockrobotics.com/firmware/firmware-v1-2-2.uf2) (May 15th, 2023)
{% endhint %}

### Version 2.1:

The latest version update of the sensor uses the following switches:

#### Spike Mode: DIP Switch 1

DIP Switch 1 ON - This will allow the sensor to work with SPIKE Prime V3.&#x20;

<div align="left"><img src="https://4213710887-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fwumhy9Amexb1fvjNOGl8%2Fuploads%2F57YXlrdyMLtGDLVyzvyS%2FDipSwitch%20-%201%20on.png?alt=media&#x26;token=8bd92ada-b6a1-4820-9a79-0ae4b40a75eb" alt="SPIKE MODE - Use DIP 1"></div>

This mode will make the sensor appear as if it is a colour sensor.

The following table shows the values that can be used to program your robot.

| Block  | Description                                                                                                                                              |
| ------ | -------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Colour | <p>Red - No Ball, </p><p>Yellow - Ball a little distance away<br>Blue - Ball is close</p>                                                                |
|        |                                                                                                                                                          |
| Red    | Signal Strength of the ball                                                                                                                              |
| Green  | Best Sensor of the ball (0-12) - 0 = ball not found                                                                                                      |
| Blue   | <p>Angle of the ball relative to the sensor.<br>Direct in front is 0 degrees, moving 30 degrees around the board. i.e. Sensor 1 = 30, Sensor 2 = 60.</p> |

Be sure to use the extra sensor blocks to access the colour blocks&#x20;

<figure><img src="https://4213710887-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fwumhy9Amexb1fvjNOGl8%2Fuploads%2FqRGKOiHAJyZ2dLinVwx2%2FExtraBlock1.png?alt=media&#x26;token=13ac93f9-e6d7-4343-a161-cc4dcafdaa81" alt=""><figcaption><p>Click on the extra blocks icon in the bottom left</p></figcaption></figure>

<figure><img src="https://4213710887-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fwumhy9Amexb1fvjNOGl8%2Fuploads%2Fdi64s2vELops0PIJWsWN%2FMoreSensors.png?alt=media&#x26;token=3110ced1-e036-4a20-8d3b-84d9750a9219" alt=""><figcaption><p>Select More Sensors</p></figcaption></figure>

<figure><img src="https://4213710887-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fwumhy9Amexb1fvjNOGl8%2Fuploads%2F5jaEBfUlDCoZC5nyOXhO%2FrawSensor.png?alt=media&#x26;token=c27a0975-ad7a-4e21-ac54-fd10eec45945" alt=""><figcaption><p>Use the raw colour block to get access to all features.</p></figcaption></figure>
