correct readme

This commit is contained in:
@arthurcabon29 2025-03-07 16:38:08 +01:00
parent 49bd95d51d
commit cfc11ab576

View File

@ -28,7 +28,7 @@ This project was made as part of a collaboration between **42 school** and **Laz
## ⚙️ Wiring Diagram ## ⚙️ Wiring Diagram
Heres how to connect the components: Heres how to connect the components:
![Schemat](assets/images/schemat.png) ![Schemat](assets/images/schema.png)
📌 **Explanation:** 📌 **Explanation:**
- The **HC-SR04 sensor** is connected to **Trig** and **Echo** pins - The **HC-SR04 sensor** is connected to **Trig** and **Echo** pins
@ -42,14 +42,14 @@ Heres how to connect the components:
```sh ```sh
git clone https://github.com/user/my-arduino-project.git git clone https://github.com/user/my-arduino-project.git
``` ```
2 follow the diagram for the connections
2 update motor.ino in arduino card and close the IDE Arduino (for resolve Serial problem) 3 update motor.ino in arduino card and close the IDE Arduino (for resolve Serial problem)
3 Install all lib : 4 Install all lib :
```sh ```sh
pip install requests openai-whisper sounddevice numpy soundfile pyttsx3 pygame pyserial pip install requests openai-whisper sounddevice numpy soundfile pyttsx3 pygame pyserial
``` ```
4 Replace MY_API_KEY and COM_OF_THE_ARDUINO in main.py 5 Replace MY_API_KEY and COM_OF_THE_ARDUINO in main.py
5 Run main.py 6 Run main.py
```sh ```sh
python main.py python main.py
``` ```