Synchronous Transmission at +12V
Dan in Van
Posts: 2
Trying to take Serial·and Clock data and decode it with a BSII.· The Synchronous Data in question is a 12V source and from what I've read, will damage the BSII if connected directly from the source.
The Max232 does not support data voltage "translation" and I'm trying to·interpret the data effectively with lookup tables·once it·has an effective data voltage of +5V.
There has to be an easy fix here - I·can't see it Yet.· Can anyone help.
Thanks.
Dan.·
The Max232 does not support data voltage "translation" and I'm trying to·interpret the data effectively with lookup tables·once it·has an effective data voltage of +5V.
There has to be an easy fix here - I·can't see it Yet.· Can anyone help.
Thanks.
Dan.·
Comments
The Max232 is specifically designed to provide for the +12/-12 volt configuration.
You may have misread something.
Since you have 4 channels, you could use the 2 unused channels to provide for a clock bi-directionally.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"When all think alike, no one is thinking very much.' - Walter Lippmann (1889-1974)
······································································ Warm regards,····· G. Herzog [noparse][[/noparse]·黃鶴 ]·in Taiwan
I have to ask - what or which synchronous serial device produces a 12 volt output? Many asynchronous serial devices will output +12 V to -12 V as noted, but synchronous serial devices are usually limited to 5.5 V or lower.
Regards,
Bruce Bates
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
<!--StartFragment -->
The BS2 can recieve RS-232 throuth a 22-Kohm resistor in the same way, actually.
Now, DRIVING such a signal requires a few more components.
Also, you cannot generate more voltage than you have. So the 22Kohm resistor is great for the BasicStamp to receive, but doesn't help and may actually significantly worsen the transmit signal.
If you need the swing to be inverted and from V- to V+; then the MAX232 is just fine.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"When all think alike, no one is thinking very much.' - Walter Lippmann (1889-1974)
······································································ Warm regards,····· G. Herzog [noparse][[/noparse]·黃鶴 ]·in Taiwan