Hi,
Been trying to do a simple 24/7 serial comms between a micro and the desktop PC over a cable distance of 15 mtrs, just sending out a few simple lines of text every minute to the PC at a lowly baud rate, 9600, 1200 and even tried 300. Not sending anything from the PC.
Initially, some time ago, with a 18F Pic and a genuine FT232 module via a usb repeater cable to Putty on the PC but though it would run for a day or so, it just give serial read error and Putty stopped. Totally random times between failures.
Now have been using an Arduino Uno sending the data out via the Serial Monitor using a 15mts Cat 5 cable and a usb to rj45 adapter on each end.
However this still gives the same kind of error using the Arduino serial monitor or fed straight into Putty.
When Putty or the Serial Monitor fails, I can see the Unos serial TX led and its still flashing to show the programs still sending out the data and also have led 13 flashing to prove the very simple main loop is working ok.
I can reprogram the Uno via this cable set up without any problems, which I think is 115200 baud .
( can even upload a larger 17k program and it runs ok)
Any suggestions as to where the problem may be, or a simpler alternative method ?
Been trying to do a simple 24/7 serial comms between a micro and the desktop PC over a cable distance of 15 mtrs, just sending out a few simple lines of text every minute to the PC at a lowly baud rate, 9600, 1200 and even tried 300. Not sending anything from the PC.
Initially, some time ago, with a 18F Pic and a genuine FT232 module via a usb repeater cable to Putty on the PC but though it would run for a day or so, it just give serial read error and Putty stopped. Totally random times between failures.
Now have been using an Arduino Uno sending the data out via the Serial Monitor using a 15mts Cat 5 cable and a usb to rj45 adapter on each end.
However this still gives the same kind of error using the Arduino serial monitor or fed straight into Putty.
When Putty or the Serial Monitor fails, I can see the Unos serial TX led and its still flashing to show the programs still sending out the data and also have led 13 flashing to prove the very simple main loop is working ok.
I can reprogram the Uno via this cable set up without any problems, which I think is 115200 baud .
( can even upload a larger 17k program and it runs ok)
Any suggestions as to where the problem may be, or a simpler alternative method ?