INTL 3:770/1 3:770/3   
   REPLYADDR jj@franjam.org.uk   
   REPLYTO 3:770/3.0 UUCP   
   MSGID: f4276dee   
   REPLY: 7b925cfc   
   PID: SoupGate-Win32 v1.05   
   On 2024-01-05, 56g.1183 <56g.1183@ztq4.net> wrote:   
   > On 1/4/24 7:27 AM, Jim Jackson wrote:   
   >> On 2024-01-04, 56g.1183 <56g.1183@ztq4.net> wrote:   
   >>>>   
   >>>> Pis can do *serial* directly, but not RS232. They only have 3.3V signal   
   >>>> levels, so voltage conversion needed for RS232 or another voltage (1.8V,   
   5V,   
   >>>> etc).   
   >>>   
   >>> Yep ... level-shifting chips are generally needed.   
   >>> The MAX3232 will do it.   
   >>   
   >> It does more than "level shift" it also inverts the signals. It will   
   >> accept 3v or 5v logic, even though supplied from a 3.3v supply.   
   >   
   >   
   > Properly wired, the MAX232 can deliver "real" RS-232 ... including   
   > the negative voltages.   
      
   The 3232 does provide the negative and positive voltages but only at   
   +/-5.5v Which is fine for most modern stuff, but as you say below not   
   for some older stuff.   
      
   > There IS still some equipment that expects   
   > those kinds of signals ... albeit mostly early-80s. Some industrial   
   > controllers of that vintage are still in use however.   
   >   
   > Flow-control ... sticky. For RECEIVING no modern cpu/controller   
   > is so slow that it cannot absorb such comms at even the highest   
   > usual RS232 speeds. However those ancient devices you may be   
   > communicating with may NOT be able to absorb the info so quickly.   
   > Ergo you have to respect their flow-control lines. Serial comms   
   > can be a pain in the ass. There are subtle issues.   
   >>>   
   >>> https://www.analog.com/media/en/technical-documentation/data   
   sheets/MAX3222-MAX3241.pdf   
   >>>   
   >>> If you are talking to VERY old serial devices that still   
   >>> expect some plus/minus 12v or more signals then you may   
   >>> have to double-up, add a MAX232 after the 3232   
   >>   
   >> Maybe. But not as you say. You would need a simple 3v to 5v level   
   >> shifter (so as NOT to invert the signal) then the MAX232.   
   >   
   > Again, depends on what you are trying to converse with.   
   > Very old devices may expect/depend on those rather high   
   > negative signal levels.   
      
   Indeed, which the max232 provides, +/- 12v. But it needs driving with 5v   
   logic levels. Hence the need for the 3v-to-5v level shifters BEFORE the   
   MAX232 inputs.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)   
   SEEN-BY: 10/0 1 15/0 90/1 103/705 105/81 106/201 128/260 129/305 135/225   
   SEEN-BY: 153/757 7715 218/0 1 601 700 840 870 930 220/70 221/1 6 226/17   
   SEEN-BY: 226/30 100 227/114 229/110 112 113 200 206 307 317 400 426   
   SEEN-BY: 229/428 452 470 550 616 664 700 240/1120 266/512 267/800   
   SEEN-BY: 282/1038 291/111 292/854 301/1 113 812 310/31 320/219 322/757   
   SEEN-BY: 335/364 341/66 342/200 396/45 460/58 633/280 712/848 770/1   
   SEEN-BY: 770/3 100 330 340 772/210 220 230 5020/400 1042 5058/104   
   SEEN-BY: 5075/35   
   PATH: 770/3 1 218/840 221/6 301/1 218/700 229/426   
      
|