ia_hackathon/README.md
2025-03-07 16:36:27 +01:00

1.4 KiB
Raw Blame History

🚀 IA Hackathon Project

Arduino 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. 🎯

Photo

📌 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

Heres how to connect the components:

Schemat

📌 Explanation:

  • The HC-SR04 sensor is connected to Trig and Echo pins
  • The motor is connected to a relay on pin D3
  • The Arduino communicates via USB with a PC

🖥️ Installation

1 Clone this repository:

git clone https://github.com/user/my-arduino-project.git

2 update motor.ino in arduino card and close the IDE Arduino (for resolve Serial problem) 3 Install all lib :

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 Run main.py

python main.py