trying to read\write to serial device - getting garbage

Hello ,
I can't manage to see the serial output of my device(my device using baud-rate of 115200
I have connected it using a RS232-TTL
this is the code I have put - a simple write\read serial
if I write commands to the device I can see it work.

#include <SoftwareSerial.h>
SoftwareSerial mySerial(6,7);// Green-Tx-6,Yellow-Rx-7)
void setup()
{
  Serial.begin(115200); 
  mySerial.begin(115200); 
}

void loop()
{
     if (mySerial.available())
    Serial.write(mySerial.read());
  if (Serial.available())
  
    mySerial.write(Serial.read());  
    
}

this is the output:

ad
?P¬®××+?
?L륷YX-U??*·¹\Y²Í²¹[X­òK¸Xî××KÉ
?e«Ó?!m­¤ÑRmÇBµ?Ë)Ò5
Â]?ê륷Èad
?P¬®××#?
?L륷YX-«??.k½¹¹©,©Í²¹[X¯ÒK p¬®××+???e«Ó?!m­¤Ñ?e£¡].$?ÅÕ
?¡Ý.$öin
?e«Ó?!m­¤£¥6c¢].??)ª55?¡­.õ´·NH!¡ÑÚ?!m­¤£¥6c¢].??)Ú5
B]?ê륷
?e«Ó?!m­¤£¥6c¢].??)Õ5
¢].õ´·OH!¡Ñ?ÚÅ!7[?Ã¥6c¢].??)Õ5??P]ꝴ·N
?e«Ó?!m­¤£QmÍBu.??)ª55?¡­.õ´·OH!¡ÑÚ?!m­¤£¥6c¢].??)ª55?¡­.õÎi·
?e«Ó?!m­¤´?e³¡.¤?)ê55
B]?ê륷HCÑÜÅí?¤£!m[J£?T͐?KL¦Ô¤Õç ¬ë¥·È
?e«Ó?!m­¤£¥6c¢].??)Õ5??P]ú´·NH!¡Ñ?ÚÅ!6[¤Ñ¥6c¢].??)ª55?¡­.õ´·
?e«Ó?!m­¤£¥6c¢].??)ª55?¡­.õÎi¶HCáÔÅí1H£?6[ªÓ?¬Í?KL¦Ô¤Õå ?륷È
?e«Ó?!m­¤£¥6c¢]ÊòÅÕ

?¡]?êk¥·HCÑÚÅm1H£?6[ªÓ?¤Í?KL¦Ô¤ÕÍ L륷È
?e«Ó?!m­¤£¥6c¢].??)Ö5
¢]õÎi·HCÑ´b;?¤£?6[¢£?T͐?KL¦Ô¤Õí L륷È
?e«Ó?!m­¤£¥6c¢].??)ª55?¡­.õÏi®PC¡´b;?¤£?6[ª£?T͐?KL¦¨¤$ês¦ë¥·È
?e«Ó?!m­¤£¥6c¢]ÊrÅÕ?C!T×ALïVËK5)«Ó?!m­¤£?e±¡½.??)Ò5
Â]?ê륷È
?e«Ó?!m­¤£¥6c¢].??)Õ5
¢]ê륷HCÑ´b;?¤£?6[ª£?T͐?KL¦Ô¤Õí Ì륷È
?e«Ó?!m­¤´?e³¡Ý.¤?)Ê55
B]ê륷HCÑÜÅí?¤£?6[¢Ó?¬í 6?L©¨¤$ª¹S륷È

the GND is the same for the Arduino+RS232TTL+Device

what else I can check?

Thanks ,

Hi, try a slower speed for a start, like 9600.

Tom..... :slight_smile:

I have thought about it but my device only work at 115200

never mind
found how to change 9needed to enter the device with Admin)

Thanks ,
now working!

Thanks ,