Coder Social home page Coder Social logo

jarvis-ai's Introduction

JarvisAI: Smart Light Control System

JarvisAI is an innovative proof of concept that enables seamless control of home lighting through voice commands. Utilizing a Raspberry Pi and lightweight AI models trained for wake word recognition and speech-to-intent processing, JarvisAI allows users to effortlessly turn on and off lights in various rooms such as the bathroom, living room, and bedroom. This project showcases the integration of advanced AI with practical home automation, providing a glimpse into the future of smart living.

"project image"

Features

  • Voice-controlled lighting system
  • Supports multiple rooms
  • Utilizes lightweight AI models for wake word recognition and speech-to-intent processing

Hardware Requirements

  • Raspberry Pi
  • 3 LEDs
  • Breadboard and jumper wires

Software Requirements

  • Python 3.x
  • The following Python libraries (detailed in requirements.txt):
    • pvrhino
    • pvporcupine
    • pvrecorder
    • python-dotenv
    • RPi.GPIO

Setup

Hardware Setup

  1. Connect the 3 LEDs to the Raspberry Pi using a breadboard and jumper wires.
  2. Connect the negative legs of the LEDs to the ground (GND) pin on the Raspberry Pi.
  3. Connect the positive legs of the LEDs to GPIO pins (GPIO11, GPIO10, GPIO9) on the Raspberry Pi.

Software Setup

  1. Clone the repository to your local machine:

    git clone https://github.com/yourusername/jarvis-ai.git
    cd jarvis-ai
  2. Create and activate a virtual environment (optional but recommended):

    python -m venv venv
    source venv/bin/activate  # On Windows use `venv\Scripts\activate`
  3. Install the required Python packages:

    pip install -r requirements.txt
  4. Set up your environment variables:

    • Create a .env file in the project directory.
    • Add the necessary environment variables (e.g., API keys, and path to context files).

Running the Project

  1. Ensure the Raspberry Pi is properly connected to the LEDs.

  2. Run the main Python script:

    python main.py
  3. Use voice commands to control the LEDs representing different rooms.

Contribution

Feel free to contribute to this project by opening issues or submitting pull requests. For major changes, please open an issue first to discuss what you would like to change.

jarvis-ai's People

Contributors

ela-c avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.