Detecting variable values

Hi:

I have an Arduino UNO R3 and 20x4 Hitachi LCD. On each line are 4 of this LCD I want to read a value that you through your serial or USB port.

I made a mini-run example detects the character string to receive data.

char caracter;
String comando;

void setup(){
	Serial.begin(9600);
}

void loop(){
  while (Serial.available()>0){
    caracter= Serial.read();
    comando.concat(caracter);
    delay(10);
  }
  if (comando.equals("hola") == true){
        Serial.println("El comando es hola");
  }      
  if (comando.equals("adiós")== true){
        Serial.println("El comando es adiós");
  }  
  comando="";
}

My idea is, each line of the LCD displays information such as this menera.

Line 1 -> 1,500 RPM
Line 2 -> 50.00 Hz
Line 3 -> 27.5 ° C
Line 4 -> Alarm fan

As you can see, you get 4 different sensors that are constantly updated, tachometer sensor for line 1, for frequency meter sensor 2 for 3, temperature sensor and 4 text message warning of something.

Each separate sensor was do not leave me with much information at once.

I make you a question.

  1. For 8-bit Arduino UNO is a lot to process so much data? If it is true, I see myself buying a 32-bit Arduino ZERO.

  2. Arduino has to detect the type of data you enter via serial port and display it each time in the corresponding line of the LCD. Is it really possible?

Need some ideas for programming.

Arduino has to detect the type of data you enter via serial port and display it each time in the corresponding line of the LCD. Is it really possible?

Yes it is possible.

Need some ideas for programming.

Precede each piece of data with a start character such as < then an identifier, perhaps A, B, C or D and follow it immediately with the data to be displayed and follow it with an end of message marker, perhaps >

So, a message about the tachometer might look like and about the frequency <B50.00>
Such a format will allow you to identify the start of a message, read the next character to determine the type of message then read the data and add it to a variable until you find the end of message marker. Then it can be displayed as and where required using the message type character to determine what to do.

I would advise you to avoid using Strings if possible and to use C style strings (NULL terminated char arrays) as Strings use more resources which is at a premium on the Uno and most other Arduinos.