Skip to content

SahajaPuligadda/Smart-Device-for-Dumb-People

Repository files navigation

Smart-Device-for-Dumb-People

Raspberry Pi and Python Kivy

There are situations where dumb people cannot find any medium to convey their message (ex: paper and pen). Hence, we created a user friendly interface using python, where a keyboard and some of the commonly used words are provided along with extra space to type desired text. When the user clicks 'OK', the data written in the provided space is converted to speech using the text to speech tool.

Components Required:

Langauge: Python

Python modules: Kivy, gtts

Raspberry Pi (optional)

Touch screen interfaceable with raspberry pi (optional)

Inputs:

Commonly used words (already created as buttons)

Any text (space given on the right side)

Working:

Used Kivy module and python language to create a GUI for the project.

Used gTTs module to convert text to speech.

Programmed raspberry Pi with the python code and interfaced it with an LCD touch screen to verify the output.

Validation:

Open the GUI, click on any commonly used words. It is automatically converted to audio.

Else, click on the empty space and type any desired text. Then, click 'OK' to convert it to speech.

Outputs:

Audio of given text is played instantly and also saved into a file.

References:

Kivy Installation for raspberry pi: https://kivy.org/doc/stable/installation/installation-rpi.html

Raspbian: https://www.raspberrypi.org/downloads/raspbian/

Kivy tutorials python: https://www.youtube.com/playlist?list=PLzMcBGfZo4-kSJVMyYeOQ8CXJ3z1k7gHn

Interfacing 3.5 inch Touch Screen TFT LCD with Raspberry Pi: https://circuitdigest.com/microcontroller-projects/interfacing-3.5-inch-touchscreen-tft-lcd-with-raspberry-pi

Running a Python script at start up: https://raspberrypi.stackexchange.com/questions/4123/running-a-python-script-at-startup

How do you use Python to play MP3 files: https://www.raspberrypi.org/forums/viewtopic.php?t=112006

Create Text-To-Speech with Python and gTTS: https://medium.com/quick-code/lets-learn-about-creating-text-to-speech-with-python-and-gtts-4f012294acd6