-->
Page 1 of 2

serial

PostPosted: Mon Mar 21, 2016 2:43 pm
by stern0m1
i am trying to read serial data from a device that responds with data following a specific command,
this is what i get:
| þ‚•0000000±·530000±6¸·00000²´0±0000¸9¸90000²59¸0000²¸¸²0000²3060000²306000000000000000000000000±²±9±²±90000000000000000000000000¸00000000000000000000¸Ã09·Ã000Ã00000035±00±±603²±0²±´²6´±0²000000000000000000000000000000000000000000000000000000000000�65

its supposed to return something like this:
000000017530000168670000240000008987000025980000288200002306000023060000000000000000000000001213121500000000000000000000000006000000000000000000006C096C000C0000003510011603200121594002000000000000000000000000000000000000000000000000000000000000!
>8

I am able to successfully send the command with the input command (now that we can set the data/parity) and read it with a separate usb serial reader. Seems like some format issue. Any ideas?
Thanks

Re: serial

PostPosted: Mon Mar 21, 2016 4:00 pm
by Mmiscool
Are you using long wires between the rx/tx pins on the esp?

Re: serial

PostPosted: Mon Mar 21, 2016 4:18 pm
by stern0m1
its about 8 inches

Re: serial

PostPosted: Mon Mar 21, 2016 6:45 pm
by Mmiscool
Try making the wire shorter. See if this might resolve the problem.