Hi dear i am new here so i have one problem i hope you help me
So i am try to read serial communion
So i find the baud rate 57600 and serial communiction is 7n1
So my signel is 0x44 0x04 0x3f 0x7f
When i read this signel with arduno
7f 3f 44 04
04 3f 7f 44
I read this data but it is not a sequnce i want
If else statment this data
haider650:
So i find the baud rate 57600 and serial communiction is 7n1
So my signel is 0x44 0x04 0x3f 0x7f
When i read this signel with arduno
7f 3f 44 04
04 3f 7f 44
I read this data but it is not a sequnce i want
If else statment this data
Which Arduino board? What device is transmitting the data? Can we see your Arduino code please?
It looks like the problem could be as simple as byte ordering due to the "endianness" of the transmitter and/or receiver.
Yes you are right star byte and end byte erroor i use arduno uno
For( i=0; i<4 ;i++)
{
Buf[i]=serial.read()
}
Is your signal really 0.52 volts? That's not enough for a TTL signal.
This can't possibly be your actual code because it is not syntactically correct. Please post your entire Arduino UNO sketch.
My signel is 5v
Acthly my probe set 10x
I have no idea to read this can you sugest me code
system
Closed
July 6, 2022, 2:34am
9
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.