Hi everyone,

I'm trying to get a stone hmi screen running, so far with no success.

To start me off using it, i am simply trying to change 1 figure on the screen. I will be using the teensy 3.6 for the final product, but for testing purposes i'm just using my arduino leonardo to start with. So far the results are that the variable on the screen doesn't change, it just stays at 0 which is just the initial value stored in the screen. The code i'm sending should change it to a 1 if i have it right.

Hardware:

Arduino leonardo,

ttl to rs232 converter off ebay, https://www.ebay.com.au/itm/RS232-Se....c100012.m1985

RS232 male to male cable, https://www.ebay.com.au/itm/DTECH-RS...72.m2749.l2649

Stone HMI 7 inch advanced type 1000cd/m2 screen, http://www.stone-hmi.com/product/278138100

12v 1000mA power supply.


Code:

Code:
void setup() 
{
  Serial1.begin(9600);
  delay(1500);
}

void loop() 
{

 Serial1.print("A5 5A 05 82 FF C9 00 01");
/*A5 5A: frame header 
   05: command byte length
   82: write to variable memory interface
   FF C9: variable memory address to write to
   00 01: the new variable = 1.*/

}
Wiring:

Arduino D0 (RX) to rs232 converter TXD
Arduino D1 (TX) to rs232 converter RXD
Arduino 3.3v to rs232 converter VCC
Arduino GND to rs232 converter GND

12v power supply powers the screen

I will put photos in the next post.