Hello !
Im back here with yet an other mysterious problem. A couple of years ago i started building a project that involves an arduino mega and a GPS receiver that has RS422 output at 4800 bps baud rate. Unfortunately the arduino use serial communication TTL level. I have builded a pcb where A and B lines from the GPS are connected on a sn65hvd82 converter chip that in turn feeds the arduino serial TTL input. there is nothing special about my design and no other external components other than a 0.1uf decoupling capacitor between the converters VCC and GND.
I programmed the arduino to echo back to my computer all the data that receives from the GPS.
After running my code i noticed that the arduino is having hard time receiving the data. while has no problem at all receiving exactly the same data from an other arduino (no converter or actual GPS involved). I took the Oscope and checked the output from the GPS lines A and B with respect to ground and they looked kind of curved. They where not square as i would expect. The output of the converter looked the same.
I understand the output of the GPS to be kind of distorted due to the cable etc. but should the sn65hvd82 converter not produce a perfectly square signal ?
Maybe someone had a similar problem ???
P.S. I forgot to mention that i did not use terminator resistor between the A and B lines.
Im back here with yet an other mysterious problem. A couple of years ago i started building a project that involves an arduino mega and a GPS receiver that has RS422 output at 4800 bps baud rate. Unfortunately the arduino use serial communication TTL level. I have builded a pcb where A and B lines from the GPS are connected on a sn65hvd82 converter chip that in turn feeds the arduino serial TTL input. there is nothing special about my design and no other external components other than a 0.1uf decoupling capacitor between the converters VCC and GND.
I programmed the arduino to echo back to my computer all the data that receives from the GPS.
After running my code i noticed that the arduino is having hard time receiving the data. while has no problem at all receiving exactly the same data from an other arduino (no converter or actual GPS involved). I took the Oscope and checked the output from the GPS lines A and B with respect to ground and they looked kind of curved. They where not square as i would expect. The output of the converter looked the same.
I understand the output of the GPS to be kind of distorted due to the cable etc. but should the sn65hvd82 converter not produce a perfectly square signal ?
Maybe someone had a similar problem ???
P.S. I forgot to mention that i did not use terminator resistor between the A and B lines.
Last edited: