# Grayscale Sensor Firmware Update

### 1. Download the grayscale sensor firmware

&#x20;     a. [V1.1 grayscale sensor firmware](https://link.zhihu.com/?target=https%3A//github.com/UBTEDU/Patrol_Sensor/releases/download/3.5/route3.5.zip)

&#x20;     b. [V1.0 grayscale sensor firmware](https://link.zhihu.com/?target=https%3A//github.com/UBTEDU/Patrol_Sensor/releases/download/3.3/route3.3.zip)

{% hint style="info" %}
Note: V1.0 Grayscale Sensor firmware to be used with V1.0 Grayscale Sensor hardware and V1.1 Grayscale Sensor firmware to be used with V1.1 Grayscale Sensor hardware.
{% endhint %}

### 2. Install [uKit Explore Blockly](https://www.ubtechedu.com/global/Uploads/file/20190221/uKit-Explore_Setup.zip)

&#x20;

![](/files/-M5Qn7DVMkgwjPGrsLd_)

### 3. Unzip the downloaded file routex.x.zip, and open routex.x.ino

<div align="left"><img src="/files/-M5QnHuKNOTVG20OE8np" alt=""></div>

### 4. Connect the USB to the USB port on Grayscale sensor, and another end to your PC. (make sure the USB is of data cable instead of charging cable)

### 5. Choose the correct board and COM Port

* **5.1** Board: Tools > Board > Arduino Nano
* **5.2** Processor: If your Arduino IDE version is above 1.8.6, you can choose the default ATmega328P. If the Arduino IDE version is lower than 1.8.6, select ATmega328P (Old Bootloader)
* **5.3** COM Port: Select your COM port (you might have different port)

![](/files/-M5QnotRZyqvlvNxFnHE)

### **6.**&#x43;lick upload and upon successful upload, the grayscale sensor’s firmware had been updated.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://ubtechedu.gitbook.io/ukit-explore/ukit-explore-quick-start/hui-du-chuan-gan-qi-gu-jian-geng-xin.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
