This project involves blinking of LED throught Voice command. The code interpretes your voice to text and find the keyword to trigger the function of blinking light.
- Download Arduino IDE and python3.x
- Upload StandardFirmata.ino code in arduino
- Install python3.X and libraries in requirements.txt
pip3 install -r requirements.txt
- If your facing problem while installing PyAudio in python, then download PyAudio from here, according to your system configuration and run:-
pip3 install filename
- Run the main.py file
Make sure that your device is connected with microphone and internet
- Automatically connects to arduino through COM, no need to configure COM ports
- Voice command
- User friendly GUI assistant to connect device
Arduino pin | Electronic device |
---|---|
Pin 2 | Positive terminal of 1k ohms resistor |
GND | Negative terminal of the battery |
5V | Positive terminal of the battery |
LED +ve terminal | Resistor -ve Terminal |
LED -ve terminal | -ve terminal of battery |
- Connect your device to internet.
- Make sure your microphone is well connected to your device
- Run app.py file
python3 /path/to/folder/main.py
- Say "Turn on" on mic to switch on the LED light and "Turn off" on mic to switch off the LED light.