VOICE COMMAND HOME AUUTOMATION

#include<SoftwareSerial.h>
SoftwareSerial mySerial(3, 4); // RX, TX
String readString;
byte led=13;
void setup() {

mySerial.begin(9600);
Serial.begin(9600);
pinMode(led,OUTPUT); }

// IF I AM MAKING LED HIGH ITS WORKING BUT WHEN I AM GIVING INPUT FROM PHONE ITS NOT
void loop() {

while (mySerial.available()>0)

readString = mySerial.readString();
if (readString == “START”)
digitalWrite(led,HIGH);
if (readString == “STOP”)
digitalWrite(led,LOW); }

Try yelling at the phone louder?

You probably want to sit down and think real hard about how much the people on the forum have seen of your particular project and how well they will know what you have done so far and the details of what you have connected. Think about that for a second and think about how they are going to know how to answer your question with only the one fact you have given them. Most people don't like puzzles and they will move on to help someone else who is smart enough to include those sorts of details.