:::info **Overview** ::: ![image](https://hackmd.io/_uploads/H1lllYE0ex.png) :::info **Hardware:** ::: 1. arduino board: ![image](https://hackmd.io/_uploads/S12nf3V0lg.png) 3. Buzzer: ![image](https://hackmd.io/_uploads/BkfEksVAxg.png) > S <--->**pin 2** > VCC <---> 5V > GND <---> GND 1. sound detected module: ![image](https://hackmd.io/_uploads/Bkg5GiERlg.png) > A0 <---> nan > G <---> GND > '+' <---> 5V > D0 <---> **ping 4** > 第一次用 轉動可變電阻到信號燈沒亮但輕敲會閃爍的狀態 3. 15kg servo motor for mouse: ![image](https://hackmd.io/_uploads/S1ncfo40xg.png) > yellow <--->**pin 5** > red <---> 5V > brown <---> GND 5. 15kg servo motor for keyboard: ![image](https://hackmd.io/_uploads/S1ncfo40xg.png) > yellow <--->**pin 6** > red <---> 5V > brown <---> GND 7. 20kg servo motor for headset power: ![image](https://hackmd.io/_uploads/r1H2MiVRlx.png) > 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 ![image](https://hackmd.io/_uploads/SyW9HUwD1g.png) 3.click "next" ![image](https://hackmd.io/_uploads/HJ8RHuk_yg.png) 4.Please click the "Install Python 3.13 for all users" and click "install" ![image](https://hackmd.io/_uploads/ryRDr_J_kl.png) 5. After download python, next, download git for window, below is the download link https://git-scm.com/install/windows ![image](https://hackmd.io/_uploads/BydxzaECle.png) 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` ![image](https://hackmd.io/_uploads/B13QnHk1Wx.png) 7. Using following command to pull the auto_test progarm from git hub: `git clone https://github.com/benlai810122/auto_test` ![image](https://hackmd.io/_uploads/Bk4d2SyJ-e.png) ![image](https://hackmd.io/_uploads/ryYn2SyJ-l.png) 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` ![image](https://hackmd.io/_uploads/SyUnADPwJx.png) 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 ![image](https://hackmd.io/_uploads/r1r9ZgICee.png) 10. Install tesseract-ocr-setup-3.02.02.exe , downlaod link: https://drive.google.com/file/d/1jO2qvgv7R-BjPSoAmL8vwrehpNEUNa6Z/view?usp=sharing ![image](https://hackmd.io/_uploads/ryYIzcYk-x.png) ![image](https://hackmd.io/_uploads/H1Y4G9YkZx.png) :::info **Firmware** ::: 1.Download the Arduino IDE from below link: https://www.arduino.cc/en/software ![image](https://hackmd.io/_uploads/BJj3d2FzJl.png) 2.Install the Arduino IDE ![image](https://hackmd.io/_uploads/SkU8kfiG1l.png) 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** ![image](https://hackmd.io/_uploads/S1R6UCHCee.png) 4.Insert Arduino usb cable to the laptop and select "Arduino Uno" board ![image](https://hackmd.io/_uploads/r1KOCMifyl.png) ![image](https://hackmd.io/_uploads/Bkbd9MiG1e.png) 5.Click the upload button, burning the mouse clcik script to the arduino board ![image](https://hackmd.io/_uploads/ryAtJXofyl.png) 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 ![image](https://hackmd.io/_uploads/B1Wnc5hAxg.png) # **input command and press enter:** **Command '1'**: test sound detecter module ![image](https://hackmd.io/_uploads/Hy0oTHeybl.png) it will return '0' if not detect sound and return '1' if detect sound **Command '2'**: test buzzer sound ![image](https://hackmd.io/_uploads/BkDX1Lg1-l.png) you shound hear the buzzer sound after sending the command **Command '3'**: test mouse servo motor ![image](https://hackmd.io/_uploads/rkCllUe1-l.png) mouse servo motor should start spining after sending the command **Command '6'**: test keyboard servo motor ![image](https://hackmd.io/_uploads/rJ1Be8xkZx.png) keyboard servo motor should start spining after sending the command