Skip to content

In this you can turn on the LED light in arduino circuit by say "Turn on" and to turn off the LED , just say "Turn off"

License

Notifications You must be signed in to change notification settings

abhineetraj1/arduino-LED-auto

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Arduino LED width python A.I.

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.

Installation

  1. Download Arduino IDE and python3.x
  2. Upload StandardFirmata.ino code in arduino
  3. Install python3.X and libraries in requirements.txt
pip3 install -r requirements.txt
  1. If your facing problem while installing PyAudio in python, then download PyAudio from here, according to your system configuration and run:-
pip3 install filename
  1. Run the main.py file

Note :-

Make sure that your device is connected with microphone and internet

Features

  • Automatically connects to arduino through COM, no need to configure COM ports
  • Voice command
  • User friendly GUI assistant to connect device

Circuit of Arduino

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

Execution

  • 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.

Programming languages used

blender Python

Developer

About

In this you can turn on the LED light in arduino circuit by say "Turn on" and to turn off the LED , just say "Turn off"

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages