0% found this document useful (0 votes)
38 views6 pages

2

Uploaded by

ksaumya098
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
38 views6 pages

2

Uploaded by

ksaumya098
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 6

INTRODUCTION

The robot “TechieBot” is designed to move


and interact using an Arduino Uno, a
Bluetooth module, and a motor drive.
Movement is controlled via Bluetooth, with
specific code implemented to manage the
motor drive. Additionally, a system has
been integrated to control a voice assistant,
allowing the robot to respond to selected
questions and play music. The voice
assistant is capable of recognizing voice
commands, answering pre-programmed
questions, and controlling music playback,
adding a layer of interactivity to the robot's
functionality. The integration of these
components creates a robot that not only
moves but also engages in meaningful
interactions, making it a versatile and
interactive device.
CODE FOR

MOVEMENT

OF ROBOT
ELEMENTS USED FOR PROJECT
1. Movement:
 Hardware and Control: The robot has motors
connected to an Arduino Uno or similar
microcontroller. These motors are responsible for
the robot’s movement. When a movement
command like "move forward" or "turn left" is
received, the microcontroller activates the motors
to move the robot in the desired direction.
2. Answering Selected Questions:
 Speech Recognition: The robot uses a
microphone to listen to voice commands. The
speech_recognition library processes this audio
input, converting it into text.
 Keyword Matching: This text is then checked
against a list of predefined keywords stored in the
keyword_responses dictionary. If a match is found,
the corresponding response is selected.
 Text-to-Speech: Using the pyttsx3 library, the
robot converts the selected text response into
speech and speaks it aloud. This allows the robot
to answer general knowledge questions or specific
inquiries about itself.
 Error Handling: If the robot doesn't understand
the command or question, or if there is no
matching response, it informs the user by saying,
"Sorry, I don't know the answer to that."
Uses in daily life
1. Movement:
 The robot is directed to navigate around the
home or workspace, facilitating movement from
one place to another.
2. Personal Assistance:
 Responses to specific questions and reminders
are provided by the robot, assisting with daily
tasks and inquiries.
3. Entertainment:
 Music is played by the robot upon request,
offering entertainment and relaxation.
4. Educational Support:
 Knowledge-based queries are answered by
the robot, supporting learning and
educational activities.
5. Smart Home Interaction:
 Commands for other smart home devices can
potentially be executed by the robot,
enhancing automation and convenience in
daily living.
3. Playing Music:
 Command Recognition: The robot listens for
specific commands to play music, like "play Hindi
song" or "play English song."
 Song Selection and Playback: Based on the
recognized command, the robot selects the
appropriate song file from a list stored in the songs
dictionary. The robot then plays the selected song
using the [Link] library.
 Announcing Playback: Before starting the music,
the robot announces which song it is about to play
using text-to-speech.
 Stopping Music: While the music is playing, the
robot can only respond to the "stop music"
command, which stops the song.
Overall Functionality:
 Continuous Listening: The robot is always
listening for commands.
 Task Execution: Based on the recognized
command, the robot either moves, answers a
question, or plays music.
 Seamless Switching: The robot efficiently
switches between these tasks, ensuring smooth
operation and interaction.
MANAVA
BHARTI
INTERNATIO
SCIENCE
NAL
EXHIBITION
SCHOOL
BY SHUBHAM AND
YAGYA
AI ROBOT “TechieBot”

You might also like