Speaking Through Breathing: An intelligent communication system for the paralyzed.
Things used in this project
Hardware components
1314 00
1434509556 android phone color
pack pro mobile lgnCHUgrkz 1
Pi 3 02 1
Software apps and online services
Python
react-native
Story
Speathe: An innovative and evolving communication method for the paralyzed who are gone speechless after paralysis. Even if there are methods for the paralyzed Speathe lends a helping hand by converting one’s breath into auditory sounds and transferable texts. I hope there will be great evolution of this code and I request all the enthusiasts to work upon this to make this an effective communication for our paralyzed fellow beings.
Hardware Components
Speathe components
Walabot will listen to the breath and classify it to short and long breaths. Raspberry will assign dots and dashes to short and long breaths respectively and appends them to form an alphabet. There are collections of 3 lettered acronyms which have predefined meanings to simplify the communication. Raspberry will determine the word speathe by user and assigns a value for a variable and posts the data to the server running in python. The mobile application is developed using react-native which sends continuous requests to the server seeking the value of the variable. Whenever a not null value is received mobile app displays it. We also provide extension for people to reply back to paralyzed by posting the text typed by user back to server and pronouncing it loudly to the paralyzed.
Software Developement
1. Setting up Walabot SDK and Programming using Python
Once that’s done, you can download the Walabot SDK for your OS. Detailed information about the Walabot Python API is available at : https://walabot.com/api/_pythonapi.html
Once you’ve installed the.deb file you can find various example programs written for both C++ and Python in the source directory. The example programs are also available on the Walabot API website. For this project, I would recommend going through the BreathingExample python program.
2. Breath detection and letter matching
The ability of walabot to determine energy of breathing is used to determine long and short breaths. We’ll take 10-15 successive loops and if in them the energy is considerably high than a threshold value then it is assigned to be long breath and if energy is lower than threshold it is a short breath. In that for these one time calibration may be needed for each person.
After detecting long and short breaths successive breaths and arranged in an array with ‘-‘ for long breaths and ‘.’ for short breaths which may form a Morse code like [‘-.-.-‘]. Specific Morse code patterns and predefined for letters and if breaths matches them that letter is pronounced.
3. Letters, Words, Sentences, Feelings
We in the first version of Speathe, have developed three lettered acronyms for common phrases used in day to day life, so that the paralyzed will not speathe too much. If a three lettered acronym match is found the value of variable which is taken by mobile application is replaced with the corresponding phrase. Thus an effective communication is possible for those who are fully paralyzed.
4. Server
The server is running on raspberry pi and is completely controlled by python. Flask module is used to run the server in Raspberry Pi 3. A static IP is set on Raspberry Pi and server is started on some port (say 80).
How to setStaticIP
1. Type sudo nano /etc/dhcpcd.conf at the command prompt.
2. Scroll to the bottom of the script, and add the following lines:
3. Save the file with ctrl + o and then exit nano with ctrl + x.
4. Reboot with sudo reboot.
5. Mobile Application
The mobile application is developed in react-native. React-native requests for the value at the same port of server. When a value is found it is displayed in the User Interface. And if user wants to return something back, react-native post the data to some variable in server and python code checking the value of that variable will pronounce it louder so that the paralyzed and hear and make a reply, if needed.
Mobile App searching for client
Mobile Application received message ‘Apple’ from paralyzed
Message back to server
5. Testing
Run the python files in Raspberry Pi and Set a static IP address for your Raspberry Pi. Change the IP address and port address in the JavaScript code and render the apk. In my case I have set IP address to 192.168.43.211 and the debug apk is given in the repository. After the apk is generated connect Raspberry Pi to android device via Wi-Fi and connect walabot to Raspberry Pi. Just open the application and start Speathing.
I am highly skilled and motivated individual with a Master's degree in Computer Science. I have extensive experience in technical writing and a deep understanding of SEO practices.
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt out if you wish.ACCEPTCheck Privacy Policy
Manage consent
Privacy Overview
This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.