Monitoring a three phase induction motor arduino project HELP!!!!!!!

Okay so i have a project that consists of monitoring a three phase induction motor (AC) through the use of Arduino uno via bluetooth on a android app.!!! So far we are testing just one voltage with the use of a relay to get a reading with these components to get familiarized. So here is what we got so far. To begin with we are using:

  1. Arduino uno with the HC-05 Wireless Bluetooth module
  2. For the Android app we are using app inventor to connect to the bluetooth module
  3. The motor that we will be using is in the attachment.
  4. Relays
  5. Single Phase AC Voltage Sensor Module (attachment)

So we managed to read on a voltage through the use of a code we got online but it was in another language which was just pretty much was a voltage and a relay implemented.

I need help with adding two more voltages and as well as reading them on the app. Adding conditions as well. we want to accomplish getting the readings on the application and being able to turn off and on.

Here is the code we used (attached) with the picture of the motor. Also with the link of where we got the code!!!

If im missing anything please let me know so i can explain it more. But bottom line i need help getting the parameters of the motor onto the app. Like the voltage and current. If i can accomplish just getting the readings thats better than anything. We arent going to control the speed or anything for the time being. I can send the proposal we have if someone is willing to help me out.!!!

Also i think ima need a truth table as well if im not wrong.

V1 V2 V3 | Output
0 0 0 0
0 0 1 0
0 1 0 0
0 1 1 0
1 0 0 0
1 0 1 0
1 1 0 0
1 1 1 1 On

(I hope i have this write)

Also some of the conditions are like if the voltages are less than 100 or more than 130 we want the motor to be off… just giving an example.

Code.pdf (855 KB)