- Thu Aug 25, 2011 10:39 am
#132409
I'm planning to assemble a few more, and if you're interested I can send you one free to play with in a couple of weeks.
UhClem wrote:One feature common to both of those RS-232 converters is that they are absolutely dependent on the computer end providing a good negative voltage on its RS-232 output.This is exactly what I meant when I said the SparkFun RS-232 level converter he is using is an ugly kludge and has proven generally unreliable. Any RS-232 “power stealing” is unacceptable in my book, since it depends on the PC's RS-232 transceiver's unpredictable performance.
fll-freak wrote:I was aware that the the level converter steals power to generate the signal. Since it worked on talking to one computer, I assumed it should work on others as well. The proof will be in the scope traces I will collect.Yes, this is because the “power stealing” depends on nonstandard and unpredictable aspects of the RS-232 transceiver on the computer. Use a MAX232 or a proper USB-UART converter to get from the PC to the 5 V logic TTL levels, or better yet, use differential signaling with RS-485.
But the strange thing is the EXACT same RS-232 converter with the EXACT same cabling and nearly identical routing but on different computers behaves differently!
fll-freak wrote:Yes indeed. When I first saw this problem I immediately looked for a RS-422 transceiver chip on Sparkfun. I did not see any. B&B has 232-422 converters, but the price was more than I could stomach.RS-485 will be MUCH more reliable than RS-232 or any single-ended signaling method at ranges of over 15 feet. I recently designed a simple but robust USB to RS-232 converter board.
I'm planning to assemble a few more, and if you're interested I can send you one free to play with in a couple of weeks.
fll-freak wrote:I do not want to spend much money on this solution as it will only be temporary. My overall goal will be to go wireless with Xbee modules as I plan to place the detector in my attic and the computers I am protecting are in the basement and routing that much RS-232 cable would be difficult (and stupid).Hopefully the wireless connection would be robust... I am somewhat skeptical of wireless communications for any critical system. It would be a shame if the shutdown message was missed and the computer got zorched by lightning. But, I know it is a pain to cleanly run cables through a house. You could run CAT5 UTP for RS-485, or even cheap 2-pair twisted pair wire, if that's any easier than the shielded RS-232 cable you're using -- you don't need shielding if you use RS-485.