mirror of
https://github.com/acabon29/ia_hackathon.git
synced 2025-10-29 19:45:59 +00:00
Compare commits
5 Commits
0338d635e8
...
521fb4d1ab
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
521fb4d1ab | ||
|
|
3d5e73473d | ||
|
|
9c782a8eb8 | ||
|
|
be70363025 | ||
|
|
9d52b2f3b7 |
32
README.md
32
README.md
@ -1,17 +1,19 @@
|
||||
# 🚀 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
|
||||
✅ Motor activation based on python request
|
||||
|
||||
✅ Request to mistral API
|
||||
|
||||
✅ Talk to text
|
||||
|
||||
✅ Text to talk
|
||||
|
||||
|
||||
---
|
||||
|
||||
@ -20,7 +22,7 @@ This project was made as part of a collaboration between **42 school** and **Laz
|
||||
|-----------------|----------|
|
||||
| Arduino Uno | 1 |
|
||||
| Motor | 1 |
|
||||
| Relais | 1 |
|
||||
| Relais Arduino | 1 |
|
||||
| Wires | Several |
|
||||
|
||||
---
|
||||
@ -28,25 +30,33 @@ This project was made as part of a collaboration between **42 school** and **Laz
|
||||
## ⚙️ Wiring Diagram
|
||||
Here’s how to connect the components:
|
||||
|
||||

|
||||

|
||||
|
||||
📌 **Explanation:**
|
||||
- Faites le putin de **schéma**
|
||||
1. Connect the GND and NO (Normally Open) pins of the relay to the GND pin of the Arduino board.
|
||||
2. Connect the CVV pin of the relay to the D2 pin of the Arduino.
|
||||
3. Connect the NC (Normally Closed) pin of the relay to the GND pin of the motor.
|
||||
4. Connect the 5V pin of the motor and the SING pin of the relay to the 5V power supply.
|
||||
|
||||
---
|
||||
|
||||
## 🖥️ Installation
|
||||
1️⃣ Clone this repository:
|
||||
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/images/schema-V2.png
Normal file
BIN
assets/images/schema-V2.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 34 KiB |
Loading…
Reference in New Issue
Block a user