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.
-
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.
-
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.