mirror of
https://github.com/acabon29/ia_hackathon.git
synced 2025-10-29 19:45:59 +00:00
Compare commits
4 Commits
a97d12443c
...
0338d635e8
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0338d635e8 | ||
|
|
cfc11ab576 | ||
|
|
49bd95d51d | ||
|
|
d51e1cd100 |
55
README.md
Normal file
55
README.md
Normal file
@ -0,0 +1,55 @@
|
||||
# 🚀 IA Hackathon Project
|
||||
|
||||

|
||||
|
||||
Welcome to **IA Hackathon Project**! About
|
||||
This project was made as part of a collaboration between **42 school** and **Lazada art school**. The goal was to make an AI with **psychiatric problems** in pairs. So we decided to make a child with tics. 🎯
|
||||
|
||||

|
||||
|
||||
## 📌 Features
|
||||
✅ Motor activation based on python request\n
|
||||
✅ Request to mistral API\n
|
||||
✅ Talk to text\n
|
||||
✅ Text to talk\n
|
||||
|
||||
---
|
||||
|
||||
## 🛠️ Required Components
|
||||
| Component | Quantity |
|
||||
|-----------------|----------|
|
||||
| Arduino Uno | 1 |
|
||||
| Motor | 1 |
|
||||
| Relais | 1 |
|
||||
| Wires | Several |
|
||||
|
||||
---
|
||||
|
||||
## ⚙️ Wiring Diagram
|
||||
Here’s how to connect the components:
|
||||
|
||||

|
||||
|
||||
📌 **Explanation:**
|
||||
- Faites le putin de **schéma**
|
||||
|
||||
---
|
||||
|
||||
## 🖥️ Installation
|
||||
1️⃣ Clone this repository:
|
||||
```sh
|
||||
git clone https://github.com/user/my-arduino-project.git
|
||||
```
|
||||
2 follow the diagram for the connections
|
||||
3 update motor.ino in arduino card and close the IDE Arduino (for resolve Serial problem)
|
||||
4 Install all lib :
|
||||
```sh
|
||||
pip install requests openai-whisper sounddevice numpy soundfile pyttsx3 pygame pyserial
|
||||
```
|
||||
5 Replace MY_API_KEY and COM_OF_THE_ARDUINO in main.py
|
||||
6 Run main.py
|
||||
```sh
|
||||
python main.py
|
||||
```
|
||||
|
||||
|
||||
BIN
assets/blender/dents.blend
Normal file
BIN
assets/blender/dents.blend
Normal file
Binary file not shown.
BIN
assets/blender/ia workshop.blend
Normal file
BIN
assets/blender/ia workshop.blend
Normal file
Binary file not shown.
BIN
assets/images/project.jpg
Normal file
BIN
assets/images/project.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 692 KiB |
BIN
assets/images/schema.png
Normal file
BIN
assets/images/schema.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 41 KiB |
3
main.py
3
main.py
@ -131,7 +131,8 @@ def main():
|
||||
pygame.init()
|
||||
pygame.mixer.init()
|
||||
print("Connexion a la carte arduino...")
|
||||
arduino = serial.Serial('COM4', 9600, timeout=1)
|
||||
# Replace with the correct port where the arduino is installed. ex: COM4
|
||||
arduino = serial.Serial('COM_OF_THE_ARDUINO', 9600, timeout=1)
|
||||
time.sleep(2)
|
||||
print("Connexion réalisé !")
|
||||
while True:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user