:::info
**Overview**
:::

:::info
**Hardware:**
:::
1. arduino board:

3. Buzzer:

> S <--->**pin 2**
> VCC <---> 5V
> GND <---> GND
1. sound detected module:

> A0 <---> nan
> G <---> GND
> '+' <---> 5V
> D0 <---> **ping 4**
> 第一次用 轉動可變電阻到信號燈沒亮但輕敲會閃爍的狀態
3. 15kg servo motor for mouse:

> yellow <--->**pin 5**
> red <---> 5V
> brown <---> GND
5. 15kg servo motor for keyboard:

> yellow <--->**pin 6**
> red <---> 5V
> brown <---> GND
7. 20kg servo motor for headset power:

> yellow <--->**pin 3**
> red <---> 5V
> brown <---> GND
:::info
**Software:**
:::
ps. Please remove other version python before install a python **3.13.x**
1.Install the **python ver 3.13.9 (important)** here is the link of the python download page:
https://www.python.org/downloads/
2.Please make sure clicking the two item which are marked in below picture when installing and click the Customize installation

3.click "next"

4.Please click the "Install Python 3.13 for all users" and click "install"

5. After download python, next, download git for window, below is the download link
https://git-scm.com/install/windows

6.After download git for window, create a folder and name it as "auto_workspace", then open **git bash**, using follow cmd to go to the path of auto_workspace:
`cd ~`
`cd Desktop/auto_workspace`

7. Using following command to pull the auto_test progarm from git hub:
`git clone https://github.com/benlai810122/auto_test`


8.Go to the **auto_workspace\auto_test\user_exp_auto_test_ui** folder and execute below command to install necessary python package:
`pip install -r requirements`

9. Find **execute.bat** file in **auto_workspace\auto_test\user_exp_auto_test_ui** click it and you will see the user experience auto test application start working

10. Install tesseract-ocr-setup-3.02.02.exe , downlaod link: https://drive.google.com/file/d/1jO2qvgv7R-BjPSoAmL8vwrehpNEUNa6Z/view?usp=sharing


:::info
**Firmware**
:::
1.Download the Arduino IDE from below link:
https://www.arduino.cc/en/software

2.Install the Arduino IDE

3.After installing, open Arduino IDE and load the **user_exp_auto_test.ino** script which in the following path: **\auto_workspace\auto_test\user_exp_auto_test_ui\arduino\user_exp_auto_test**

4.Insert Arduino usb cable to the laptop and select "Arduino Uno" board


5.Click the upload button, burning the mouse clcik script to the arduino board

ps. using following steps to check your hardware is ready for test
Click the button on the top-right and you will see the "Serial Monitor" appear on the below like pictures shows and set the buad rate to 115200

# **input command and press enter:**
**Command '1'**: test sound detecter module

it will return '0' if not detect sound and return '1' if detect sound
**Command '2'**: test buzzer sound

you shound hear the buzzer sound after sending the command
**Command '3'**: test mouse servo motor

mouse servo motor should start spining after sending the command
**Command '6'**: test keyboard servo motor

keyboard servo motor should start spining after sending the command