- AuthorPosts
Im having the same issue. I can send from the arduino to screen. But the HMI doesn’t seem to send to the arduino. below is the code i used.
void setup() {
Serial.begin(115200);
}
// the loop routine runs over and over again forever:
void loop() {
if (Serial.available()){
int data = Serial.read();
Serial.write(data);
}
}
Hi Justin,
Have you tried the demo which I send you via email? Please let me know how is going. You can reply to my email directly
chao@stone-hmi.com / WSAPP 008613526285568
Look forward your reply and have a good day!
Best Regards,
Chao
Stone Tech
Hi every one, my team and I have the same problem, we can send information to the screen, no problem, but try to get a value from an “edit” in this case, and it doesn´t work at all…
we don´t get any value or data on the serial monitor as response…
when connect the display to the UART communication software SSCOMM3.2 we can get data on the screen like:
43 50 3C 10 72 00 10 41 44 4A 4F 52 40 5E 44 4F 56 41 44 40 00 00 00 3C 45 50 68 A8
53 54 3C 10 72 00 10 40 44 42 4F 53 50 5F 14 5F 54 40 4C 40 00 00 00 2E 44 54 A9 A0
43 54 2C 00 30 00 10 41 40 4A 1D 53 40 5B 44 5F 54 40 4C 40 00 00 00 3C 41 54 C9 A8
53 54 1C 10 62 00 00 41 44 4A 57 53 40 4F 54 5E 54 01 4C 00 00 00 00 3C 44 14 E9 08
52 04 38 10 30 00 10 01 44 42 5E 11 50 1F 54 57 52 40 0C 40 00 00 00 1E 40 50 E9 88this example is typing the number 2 and return every time and as you can see we get different data for example, the “53 54 3C” and “3E 45 54” (“ST<” and “>ET”) should be the same every time, but as you can see it is not the case…
as mentioned before, we can send information to the screen and show it with no problems, but cant get any data from it.
in the picture, you can see, what is the edit programing, on the image can see a picture of the screen with the number 2 as value, and in the left can see the SSCOMM3.2 software and the command I am sending to get the value , in the bottom can see a collection of several queries sent with the same information and will see that every response is completely different, and there is no information about this…
Hope you can guide me to the successful integration of this screen to our projects.
best regards.
Attachments:
You must be logged in to view attached files.- AuthorPosts
You must be logged in to reply to this topic.