Good day sir/madam, I am currently at my 3rd year level of my course Electronics Engineering, which I gained basic knowledge of electronics principles and some components. I am very interested to make an audio navigation system for my younger brother who is blind since 7 years ago. I am planning of making one where he could speak his destination and then, the device will tell him the directions he needed to reach his destination. I search in different books and in the internet which components should I used and come up with these results: RFID, speech recognition module, text-to-speech module, and a microcontroller (Arduino). I already bought the said components, however, my main problem is how to program the device. Robotics are taught in my school at higher levels, fortunately, C++ programming are already taught to us at the lower level.
I already made syntax for the prototype but in the C++ format only and since I don't have any knowledge about Arduino programming, I would like to ask if you guys could help me to translate the syntax I made suitable to Arduine IDE for the prototype...
I also planning to make it indoor as of now only for prototyping but I also want to implement this at the school of my brother. Thank you guys for your time and consideration. I am looking forward for your favorable response. Have a good day!
Here is the code:
//Audio Navigation System using RFID for Visually Impaired People
int i = 0;
int j = 0;
int RFIDTAG //RFIDTAG stores the scanned RFID tag serial code
while (i != 0) { //i != 0 for infinite loop
cin<<Destination; //User input his desired destination
//Valid Destinations are Room 1, Room 2, Room 3, and CR.
if (Destination == 'Room 1') {
cout<<"Desired Destination is Room 1"<<endl; //Output of Text-to-Speech module
Destination = Room1;
cin<<RFIDTAG; //Device begins scanning the RFID tags
//Each RFID tag has corresponding information
//Possible startings points are: entrance, Room 1, Room 2, Room 3, and CR
//For destination = Room 1; Possible startings points are: entrance, Room 2, Room 3, and CR
if (RFIDTAG == 'RT1') {
cout<<"Destination has reached, please stop"<<endl; //Output of Text-to-Speech Module
}
if else (RFIDTAG == 'RT2') {
cout<<"Approaching to a wall, please turn right"<<endl;
}
if else (RFIDTAG == 'RT3') {
cout<<"Please continue walking"<<endl;
}
if else (RFIDTAG == 'RT4') {
cout<<"Approaching to a Wall, please turn right"<<endl;
}
if else (RFIDTAG == 'RT5') {
cout<<"Please continue walking"<<endl;
}
if else (RFIDTAG == 'RT6') {
cout<<"Please continue walking"<<endl;
}
}
else if (Destination == 'Room 2') {
cout<<"Desired Destination is Room 2"<<endl; //Output of Text-to-Speech module
Destination = Room2;
cin<<RFIDTAG; //Device begins scanning the RFID tags
//For destination = Room 2; Possible startings points are: entrance, Room 1, Room 3, and CR
if (RFIDTAG == 'RT1') {
cout<<"Please continue walking"<<endl; //Output of Text-to-Speech Module
}
if else (RFIDTAG == 'RT2') {
cout<<"Approaching to a wall, please turn left"<<endl;
}
if else (RFIDTAG == 'RT3') {
cout<<"Please continue walking"<<endl;
}
if else (RFIDTAG == 'RT4') {
cout<<"Approaching to a Wall, please turn left"<<endl;
}
if else (RFIDTAG == 'RT5') {
cout<<"Destination has reached, please stop"<<endl;
}
if else (RFIDTAG == 'RT6') {
cout<<"Please continue walking"<<endl;
}
}
else if (Destination == 'Room 3') {
cout<<"Desired Destination is Room 3"<<endl; //Output of Text-to-Speech module
Destination = Room3;
cin<<RFIDTAG; //Device begins scanning the RFID tags
//For destination = Room 3; Possible startings points are: entrance, Room 1, Room 2, and CR
if (RFIDTAG == 'RT1') {
cout<<"Please continue walking"<<endl; //Output of Text-to-Speech Module
}
if else (RFIDTAG == 'RT2') {
cout<<"Approaching to a wall, please turn left"<<endl;
}
if else (RFIDTAG == 'RT3') {
cout<<"Please continue walking"<<endl;
}
if else (RFIDTAG == 'RT4') {
cout<<"Approaching to a Wall, please turn left"<<endl;
}
if else (RFIDTAG == 'RT5') {
cout<<"Please Continue Walking"<<endl;
}
if else (RFIDTAG == 'RT6') {
cout<<"Destination has reached, please stop"<<endl;
}
}
else if (Destination == 'CR') {
cout<<"Desired Destination is CR"<<endl; //Output of Text-to-Speech module
Destination = CR;
cin<<RFIDTAG; //Device begins scanning the RFID tags
//For destination = CR; Possible startings points are: entrance, Room 1, Room 2, and Room 3
if (RFIDTAG == 'RT1') {
cout<<"Please continue walking"<<endl; //Output of Text-to-Speech Module
}
if else (RFIDTAG == 'RT2') {
cout<<"Approaching to a wall, please turn right"<<endl;
}
if else (RFIDTAG == 'RT3') {
cout<<"Destination has reached, please stop"<<endl;
}
if else (RFIDTAG == 'RT4') {
cout<<"Approaching to a Wall, please turn left"<<endl;
}
if else (RFIDTAG == 'RT5') {
cout<<"Please Continue Walking"<<endl;
}
if else (RFIDTAG == 'RT6') {
cout<<"Please continue walking"<<endl;
}
}
else {
cout<<"Incorrect Input, please speak your desired destination again"<<endl; //Output of Text-to-Speech module
i = 0;
}
}
Here is the floor plan: