• usb-serial adapters

    From bob prohaska@3:770/3 to All on Sunday, December 24, 2023 01:55:43
    Are there any usb-serial adapters that folks find particularly
    satisfactory? I've been using pl2303 and ft232 devices for a while,
    but wonder if there are other, newer types worth considering. The
    main requirement is decent open-source compatibility. RTS/CTS would
    be nice but not really necessary.

    Attrition has taken the last of my spares and if there's something
    better it would be good to know.

    Thanks for reading and any guidance.

    bob prohaska

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From yeti@3:770/3 to bob prohaska on Sunday, December 24, 2023 03:22:13
    bob prohaska <bp@www.zefox.net> writes:

    Are there any usb-serial adapters that folks find particularly
    satisfactory? I've been using pl2303 and ft232 devices for a while,

    I mainly use CP210x and FT232R. Some CH340 sneaked into my electronic sediments and they appear identical and (at least the first generation)
    cannot be changed to e.g. have own serial numbers in their USB
    information.

    FT232R comes with a random serial number, unless it is a fake. The
    FT232 tool allows some interesting configurations like inverting some
    lines, the chip has a clock output, some lines can be abused for bit
    wiggling, but the presence of those fakes on the market sucks.

    CP2102 comes with an empty serial number, but it can be changed in their EEPROM.

    I gave away all but one papoy using CH340, so it now is an individual
    here.

    Related:

    <http://hintshop.ludvig.co.nz/show/persistent-names-usb-serial-devices/>

    --
    [T^@.]*$fsg;("?GV>Da-_o8-BBI128P]S^S+[$/fL[b.{lH.>m]kb3Efa<7j+7i8cv6!kAK 43@zi0vReA2,_k%X"|0zXQ!xk}M)u?^$[l.*CYP Sr3C^ygj58A$}ta&$UDnJ-,]Ph%J\oXh Lw|P5ol>iJWn+eLBxwqfw\EMi
    NO CARRIER

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Chris Green@3:770/3 to crn@nospam.com on Sunday, December 24, 2023 11:51:57
    crn@nospam.com wrote:
    bob prohaska <bp@www.zefox.net> wrote:
    Are there any usb-serial adapters that folks find particularly satisfactory? I've been using pl2303 and ft232 devices for a while,
    but wonder if there are other, newer types worth considering. The
    main requirement is decent open-source compatibility. RTS/CTS would
    be nice but not really necessary.

    Attrition has taken the last of my spares and if there's something
    better it would be good to know.

    Crivens
    I prefer to keep an old laptop with serial ports and cd/dvd drive.

    ... and what does one use RS232/RS485 for nowadays? I did use it a
    while ago for driving a display at a distance but I2C with some long
    wire drivers is now much easier in terms of availability of hardware
    and so on. I've dropped RS232 sort of serial completely.

    --
    Chris Green
    ·

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From crn@nospam.com@3:770/3 to bob prohaska on Sunday, December 24, 2023 11:43:54
    bob prohaska <bp@www.zefox.net> wrote:
    Are there any usb-serial adapters that folks find particularly
    satisfactory? I've been using pl2303 and ft232 devices for a while,
    but wonder if there are other, newer types worth considering. The
    main requirement is decent open-source compatibility. RTS/CTS would
    be nice but not really necessary.

    Attrition has taken the last of my spares and if there's something
    better it would be good to know.

    Crivens
    I prefer to keep an old laptop with serial ports and cd/dvd drive.

    --
    http://www.netunix.com/

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From The Natural Philosopher@3:770/3 to Chris Green on Sunday, December 24, 2023 13:19:35
    On 24/12/2023 11:51, Chris Green wrote:
    crn@nospam.com wrote:
    bob prohaska <bp@www.zefox.net> wrote:
    Are there any usb-serial adapters that folks find particularly
    satisfactory? I've been using pl2303 and ft232 devices for a while,
    but wonder if there are other, newer types worth considering. The
    main requirement is decent open-source compatibility. RTS/CTS would
    be nice but not really necessary.

    Attrition has taken the last of my spares and if there's something
    better it would be good to know.

    Crivens
    I prefer to keep an old laptop with serial ports and cd/dvd drive.

    ... and what does one use RS232/RS485 for nowadays? I did use it a
    while ago for driving a display at a distance but I2C with some long
    wire drivers is now much easier in terms of availability of hardware
    and so on. I've dropped RS232 sort of serial completely.

    The last time I had serial as opposed to USB was a legacy printer that I
    drove from some networked box that had parallel and serial on it.

    Before that it was a modem back in the noughties, till ADSL turned up..


    --
    There is something fascinating about science. One gets such wholesale
    returns of conjecture out of such a trifling investment of fact.

    Mark Twain

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Stephen Pelc@3:770/3 to bob prohaska on Sunday, December 24, 2023 12:20:53
    On 24 Dec 2023 at 02:55:43 CET, "bob prohaska" <bp@www.zefox.net> wrote:

    Are there any usb-serial adapters that folks find particularly
    satisfactory? I've been using pl2303 and ft232 devices for a while,
    but wonder if there are other, newer types worth considering. The
    main requirement is decent open-source compatibility. RTS/CTS would
    be nice but not really necessary.

    I do a lot of embedded systems work from macOS, Linux, and Windows hosts, including Raspberry Pis.

    Over the years the FTDI adapters have *always* worked. I recently tried a modern 4 wire 3v3 unit on Windows and it failed. The unit used a now
    obsolete Prolific chip. I don't have the time or inclination to track down
    the exact chip in use. Quality is cheaper in the long term, especially if
    I am charging for my time.

    Stephen
    --
    Stephen Pelc, stephen@vfxforth.com
    MicroProcessor Engineering, Ltd. - More Real, Less Time
    133 Hill Lane, Southampton SO15 5AF, England
    tel: +44 (0)78 0390 3612, +34 649 662 974
    http://www.mpeforth.com - free VFX Forth downloads

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Jean-Pierre Kuypers@3:770/3 to Philosopher on Sunday, December 24, 2023 14:23:06
    In article (Dans l'article) <um9b57$2ivcm$2@dont-email.me>, The Natural Philosopher <tnp@invalid.invalid> wrote (écrivait) :

    The last time I had serial as opposed to USB

    USB = universal SERIAL bus...

    --
    Jean-Pierre Kuypers

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Theo@3:770/3 to crn@nospam.com on Sunday, December 24, 2023 14:30:36
    crn@nospam.com wrote:
    bob prohaska <bp@www.zefox.net> wrote:
    Are there any usb-serial adapters that folks find particularly satisfactory? I've been using pl2303 and ft232 devices for a while,
    but wonder if there are other, newer types worth considering. The
    main requirement is decent open-source compatibility. RTS/CTS would
    be nice but not really necessary.

    Attrition has taken the last of my spares and if there's something
    better it would be good to know.

    Crivens
    I prefer to keep an old laptop with serial ports and cd/dvd drive.

    Not much use for modern stuff, where it's all 'TTL' RS232, ie 5v or 3.3v voltage levels, rather than +/-12V as you get on a DB9.

    FT23x would be my top recommendation, since they're bulletproof.
    CP210x is fine
    MCPxxx is fine too
    PL2303 is ok
    CH340 is cheap'n'nasty

    And that's assuming they're genuine and not knockoffs.

    https://wiki.freebsd.org/USB/Peripherals/Serial
    has some more info

    Theo

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From David Higton@3:770/3 to Chris Green on Sunday, December 24, 2023 14:24:31
    In message <tjil5k-c0j9.ln1@esprimo.zbmc.eu>
    Chris Green <cl@isbd.net> wrote:

    ... and what does one use RS232/RS485 for nowadays?

    Embedded programming.

    OK, to be pedantic, it's more often at 5V or 3V3 logic levels than RS-232,
    but if we just think of it as serial, it's widespread.

    David

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Computer Nerd Kev@3:770/3 to Theo on Monday, December 25, 2023 07:18:44
    Theo <theom+news@chiark.greenend.org.uk> wrote:
    crn@nospam.com wrote:
    I prefer to keep an old laptop with serial ports and cd/dvd drive.

    Not much use for modern stuff, where it's all 'TTL' RS232, ie 5v or 3.3v voltage levels, rather than +/-12V as you get on a DB9.

    You just need a level converter like this circuit, which I can
    confirm works well for interfacing a RPi Zero's UART to a PC RS-232
    serial port that's a few decades its senior: http://picprojects.org.uk/projects/simpleSIO/ssio.htm

    It's equally handy for hooking up 5v-only USB adapters to the Pis,
    which use 3.3v.

    FT23x would be my top recommendation, since they're bulletproof.
    CP210x is fine
    MCPxxx is fine too
    PL2303 is ok
    CH340 is cheap'n'nasty

    Good to know. I take it that includes on Linux, where I always
    worry about driver problems for more obscure USB devices? Hence
    I sought out a FT23x-based adapter when I recently bought a second
    one.

    --
    __ __
    #_ < |\| |< _# | Note: I won't see posts made from Google Groups |

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From The Natural Philosopher@3:770/3 to Jean-Pierre Kuypers on Monday, December 25, 2023 06:00:49
    On 24/12/2023 13:23, Jean-Pierre Kuypers wrote:
    In article (Dans l'article) <um9b57$2ivcm$2@dont-email.me>, The Natural Philosopher <tnp@invalid.invalid> wrote (écrivait) :

    The last time I had serial as opposed to USB

    USB = universal SERIAL bus...

    USB = Universal serial BUS.

    As opposed to RS232 etc.

    --
    "Socialist governments traditionally do make a financial mess. They
    always run out of other people's money. It's quite a characteristic of them"

    Margaret Thatcher

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Chris Green@3:770/3 to Jean-Pierre Kuypers on Monday, December 25, 2023 12:15:56
    Jean-Pierre Kuypers <Kuypers@address.invalid> wrote:
    In article (Dans l'article) <um9b57$2ivcm$2@dont-email.me>, The Natural Philosopher <tnp@invalid.invalid> wrote (écrivait) :

    The last time I had serial as opposed to USB

    USB = universal SERIAL bus...

    But this thread is about serial adapters which allow one to use RS232
    from a USB connector. I2C is serial as well but when someone says
    just 'serial' it's usually taken to mean RS232/RS485.

    --
    Chris Green
    ·

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Chris Green@3:770/3 to David Higton on Monday, December 25, 2023 12:20:35
    David Higton <dave@davehigton.me.uk> wrote:
    In message <tjil5k-c0j9.ln1@esprimo.zbmc.eu>
    Chris Green <cl@isbd.net> wrote:

    ... and what does one use RS232/RS485 for nowadays?

    Embedded programming.

    OK, to be pedantic, it's more often at 5V or 3V3 logic levels than RS-232, but if we just think of it as serial, it's widespread.

    Is it really? I have a number of RPis and a couple of Beaglebone
    Blacks but, as I said earlier, I stopped using RS-232 serial quite a
    while ago. It was just getting harder and harder to actually find
    hardware that used it. For example I did use it for a while to drive
    a remote LCD display but the RS-232 capable backpacks are now
    difficult to find whereas I2C backpacks are plentiful and cheap as
    chips.

    I2C bus is also addressable so one can have lots of devices on a
    single bus.

    --
    Chris Green
    ·

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Theo@3:770/3 to Chris Green on Monday, December 25, 2023 14:32:34
    Chris Green <cl@isbd.net> wrote:
    David Higton <dave@davehigton.me.uk> wrote:
    In message <tjil5k-c0j9.ln1@esprimo.zbmc.eu>
    Chris Green <cl@isbd.net> wrote:

    ... and what does one use RS232/RS485 for nowadays?

    Embedded programming.

    OK, to be pedantic, it's more often at 5V or 3V3 logic levels than RS-232, but if we just think of it as serial, it's widespread.

    Is it really? I have a number of RPis and a couple of Beaglebone
    Blacks but, as I said earlier, I stopped using RS-232 serial quite a
    while ago. It was just getting harder and harder to actually find
    hardware that used it. For example I did use it for a while to drive
    a remote LCD display but the RS-232 capable backpacks are now
    difficult to find whereas I2C backpacks are plentiful and cheap as
    chips.

    Many embedded widgets, including RPi 5 by default and other RPis if you configure it so, have a TTL serial port lurking on the board somewhere, by which you can get the boot messages and maybe a recovery console. It is
    often not labelled, but the likes of OpenWRT have details of how to find them for a lot of home router hardware.

    This is also Modbus, a serial port using RS485 differential signalling,
    which is very common for talking to industrial stuff.

    Theo

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From bob prohaska@3:770/3 to Theo on Monday, December 25, 2023 19:04:28
    Theo <theom+news@chiark.greenend.org.uk> wrote:

    Not much use for modern stuff, where it's all 'TTL' RS232, ie 5v or 3.3v voltage levels, rather than +/-12V as you get on a DB9.


    I'm using usb-serial adapters to let one Pi connect to the serial console of another. The scheme is to ssh from a workstation to the Pi holding the USB-serial adapter and keeping a console window open on the Pi at the serial end. Up to now I've used a mix of pl2303 and ft232 adapters. A couple of years ago the ft232's seemed to hold connections better than the pl2303's, but lately I've been seeing overnight disconnects of the ssh sessions on the ft232 setups. The pl2303 links seem relatively unchanged. These are just 3 wire connections, TX, RX and GND.

    This is with FreeBSD, not RasPiOS, but I wondered if there were alternatives preferred within the Raspberry Pi community. Guess not.


    FT23x would be my top recommendation, since they're bulletproof.
    CP210x is fine
    MCPxxx is fine too
    PL2303 is ok
    CH340 is cheap'n'nasty

    And that's assuming they're genuine and not knockoffs.

    https://wiki.freebsd.org/USB/Peripherals/Serial
    has some more info


    It looks like that page hasn't been updated since 2021.
    Absent more recent news I'll probably stick with pl2303.
    They're cheap and for the moment better-behaved than ft232.

    Thanks for writing!

    bob prohaska

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Chris Green@3:770/3 to Theo on Monday, December 25, 2023 21:05:38
    Theo <theom+news@chiark.greenend.org.uk> wrote:
    Chris Green <cl@isbd.net> wrote:
    David Higton <dave@davehigton.me.uk> wrote:
    In message <tjil5k-c0j9.ln1@esprimo.zbmc.eu>
    Chris Green <cl@isbd.net> wrote:

    ... and what does one use RS232/RS485 for nowadays?

    Embedded programming.

    OK, to be pedantic, it's more often at 5V or 3V3 logic levels than RS-232,
    but if we just think of it as serial, it's widespread.

    Is it really? I have a number of RPis and a couple of Beaglebone
    Blacks but, as I said earlier, I stopped using RS-232 serial quite a
    while ago. It was just getting harder and harder to actually find
    hardware that used it. For example I did use it for a while to drive
    a remote LCD display but the RS-232 capable backpacks are now
    difficult to find whereas I2C backpacks are plentiful and cheap as
    chips.

    Many embedded widgets, including RPi 5 by default and other RPis if you configure it so, have a TTL serial port lurking on the board somewhere, by which you can get the boot messages and maybe a recovery console. It is often not labelled, but the likes of OpenWRT have details of how to find them for a lot of home router hardware.

    But that's already there, you don't need a USB to RS232 adapter to use
    it. ... or are you saying that you have another RPi that you're using
    to talk to it?


    This is also Modbus, a serial port using RS485 differential signalling,
    which is very common for talking to industrial stuff.

    Yes, I've sort of looked at that because it's closely related to
    CANbus, however will a standard USB to 'serial' adapter talk to it?

    --
    Chris Green
    ·

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Theo@3:770/3 to Chris Green on Tuesday, December 26, 2023 16:48:01
    Chris Green <cl@isbd.net> wrote:
    Theo <theom+news@chiark.greenend.org.uk> wrote:
    Chris Green <cl@isbd.net> wrote:
    David Higton <dave@davehigton.me.uk> wrote:
    In message <tjil5k-c0j9.ln1@esprimo.zbmc.eu>
    Chris Green <cl@isbd.net> wrote:

    ... and what does one use RS232/RS485 for nowadays?

    Embedded programming.

    OK, to be pedantic, it's more often at 5V or 3V3 logic levels than RS-232,
    but if we just think of it as serial, it's widespread.

    Is it really? I have a number of RPis and a couple of Beaglebone
    Blacks but, as I said earlier, I stopped using RS-232 serial quite a while ago. It was just getting harder and harder to actually find hardware that used it. For example I did use it for a while to drive
    a remote LCD display but the RS-232 capable backpacks are now
    difficult to find whereas I2C backpacks are plentiful and cheap as
    chips.

    Many embedded widgets, including RPi 5 by default and other RPis if you configure it so, have a TTL serial port lurking on the board somewhere, by which you can get the boot messages and maybe a recovery console. It is often not labelled, but the likes of OpenWRT have details of how to find them
    for a lot of home router hardware.

    But that's already there, you don't need a USB to RS232 adapter to use
    it. ... or are you saying that you have another RPi that you're using
    to talk to it?

    You use a USB to TTL UART adapter to talk to it from a machine with USB.
    That could be a Pi or your laptop, depending on what you want to do.

    One use for a Pi Zero or similar is as a simple debug tool to talk to random devices via software driving GPIO - might be UART, I2C or JTAG - and then either plugged into your PC as a USB gadget (network) device, or connected
    via wifi. In that case the Pi is being your (unconventional) USB to UART
    (or wifi to UART) adapter.

    This is also Modbus, a serial port using RS485 differential signalling, which is very common for talking to industrial stuff.

    Yes, I've sort of looked at that because it's closely related to
    CANbus, however will a standard USB to 'serial' adapter talk to it?

    You need one with an RS485 rather than an RS232 transceiver, but those are easily available.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Tauno Voipio@3:770/3 to Theo on Tuesday, December 26, 2023 20:01:22
    On 25.12.2023 16.32, Theo wrote:
    Chris Green <cl@isbd.net> wrote:
    David Higton <dave@davehigton.me.uk> wrote:
    In message <tjil5k-c0j9.ln1@esprimo.zbmc.eu>
    Chris Green <cl@isbd.net> wrote:

    ... and what does one use RS232/RS485 for nowadays?

    Embedded programming.

    OK, to be pedantic, it's more often at 5V or 3V3 logic levels than RS-232, >>> but if we just think of it as serial, it's widespread.

    Is it really? I have a number of RPis and a couple of Beaglebone
    Blacks but, as I said earlier, I stopped using RS-232 serial quite a
    while ago. It was just getting harder and harder to actually find
    hardware that used it. For example I did use it for a while to drive
    a remote LCD display but the RS-232 capable backpacks are now
    difficult to find whereas I2C backpacks are plentiful and cheap as
    chips.

    Many embedded widgets, including RPi 5 by default and other RPis if you configure it so, have a TTL serial port lurking on the board somewhere, by which you can get the boot messages and maybe a recovery console. It is often not labelled, but the likes of OpenWRT have details of how to find them for a lot of home router hardware.

    This is also Modbus, a serial port using RS485 differential signalling,
    which is very common for talking to industrial stuff.

    Theo

    The Modbus-RTU framing is a nightmare, depending of timing between
    incoming characters.

    Avoid it if ever possible.

    I was forced to make code for Modbus-RTU, and during testing it became
    clear that none of the PC Modbus programs had timings compliant with the
    Modbus specifications.

    --

    -TV

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Ahem A Rivet's Shot@3:770/3 to Theo on Tuesday, December 26, 2023 18:11:56
    On 26 Dec 2023 16:48:01 +0000 (GMT)
    Theo <theom+news@chiark.greenend.org.uk> wrote:

    One use for a Pi Zero or similar is as a simple debug tool to talk to
    random devices via software driving GPIO - might be UART, I2C or JTAG -
    and then either plugged into your PC as a USB gadget (network) device, or connected via wifi. In that case the Pi is being your (unconventional)
    USB to UART (or wifi to UART) adapter.

    Hmm add breakout wiring and a selection of connectors (maybe a DB25
    and adaptors) and you have a universal serial interface for the universal serial bus. Throw in a little external circuitry and you could even handle
    12v and 20ma current loop.

    --
    Steve O'Hara-Smith
    Odds and Ends at http://www.sohara.org/
    Host: Beautiful Theory meet Inconvenient Fact
    Obit: Beautiful Theory died today of factual inconsistency

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Scott Alfter@3:770/3 to theom+news@chiark.greenend.org.uk on Thursday, December 28, 2023 21:44:21
    In article <gVh*GsMyz@news.chiark.greenend.org.uk>,
    Theo <theom+news@chiark.greenend.org.uk> wrote:
    Many embedded widgets, including RPi 5 by default and other RPis if you >configure it so, have a TTL serial port lurking on the board somewhere, by >which you can get the boot messages and maybe a recovery console.

    If you have a 3D printer, that serial port is also a useful way to connect
    an OctoPrint instance to it. I have a CM4 (in a suitable carrier) dangling
    off the motherboard in my printer by a 4-wire cable that carries 5V power
    and the two serial lines. It's much more convenient to send a file to OctoPrint and tell it to start printing than to have to move the printer's
    SD card over to your computer, write a file to it, put it back in the
    printer, and select the file on the printer's control panel to begin
    printing.

    --
    _/_
    / v \ Scott Alfter (remove the obvious to send mail)
    (IIGS( https://alfter.us/ Top-posting!
    \_^_/ >What's the most annoying thing on Usenet?

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Ahem A Rivet's Shot@3:770/3 to Scott Alfter on Thursday, December 28, 2023 23:29:22
    On Thu, 28 Dec 2023 21:44:21 GMT
    scott@alfter.diespammersdie.us (Scott Alfter) wrote:

    It's much more convenient to send a file to
    OctoPrint and tell it to start printing than to have to move the printer's
    SD card over to your computer, write a file to it, put it back in the printer, and select the file on the printer's control panel to begin printing.

    I've always found that to be a minor thing next to loading the
    right filament (possibly unloading one and putting it in the dry box) and wiping the bed.

    --
    Steve O'Hara-Smith
    Odds and Ends at http://www.sohara.org/
    Host: Beautiful Theory meet Inconvenient Fact
    Obit: Beautiful Theory died today of factual inconsistency

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Anssi Saari@3:770/3 to Chris Green on Friday, December 29, 2023 19:02:39
    Chris Green <cl@isbd.net> writes:

    ... and what does one use RS232/RS485 for nowadays?

    In my case, serial terminal, on headless computers. And sometimes
    interfacing with retro stuff, for example I recently dug up my old HP48 calculators which talk 9600 bps and ymodem at best.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Charlie Gibbs@3:770/3 to Anssi Saari on Friday, December 29, 2023 23:36:59
    On 2023-12-29, Anssi Saari <anssi.saari@usenet.mail.kapsi.fi> wrote:

    Chris Green <cl@isbd.net> writes:

    ... and what does one use RS232/RS485 for nowadays?

    In my case, serial terminal, on headless computers. And sometimes
    interfacing with retro stuff, for example I recently dug up my old HP48 calculators which talk 9600 bps and ymodem at best.

    In my line of work (telephone call data recording), RS-232 is still
    in heavy use (although TCP/IP links are starting to replace them).
    We use IP-to-serial converters a lot.

    --
    /~\ Charlie Gibbs | The Internet is like a big city:
    \ / <cgibbs@kltpzyxm.invalid> | it has plenty of bright lights and
    X I'm really at ac.dekanfrus | excitement, but also dark alleys
    / \ if you read it the right way. | down which the unwary get mugged.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From A.M. Rowsell@1:2320/105 to bob prohaska on Saturday, December 30, 2023 04:12:29
    Re: usb-serial adapters
    By: bob prohaska to All on Sun Dec 24 2023 01:55:43

    Are there any usb-serial adapters that folks find particularly
    satisfactory? I've been using pl2303 and ft232 devices for a while,
    There is a seller on Tindie called 8086 Consultancy that has a whole bunch of https://tindie.com/stores/8086net/items/ if you
    want to take a look. Lots of pi-related devices as well. But the chips you mentioned are still pretty much the only good choices.
    Aurelius
    --- SBBSecho 3.14-Linux
    * Origin: capitolcityonline.net * Telnet/SSH:2022/HTTP (1:2320/105)
  • From 56g.1183@3:770/3 to bob prohaska on Wednesday, January 03, 2024 01:10:12
    On 12/23/23 8:55 PM, bob prohaska wrote:
    Are there any usb-serial adapters that folks find particularly
    satisfactory? I've been using pl2303 and ft232 devices for a while,
    but wonder if there are other, newer types worth considering. The
    main requirement is decent open-source compatibility. RTS/CTS would
    be nice but not really necessary.

    Attrition has taken the last of my spares and if there's something
    better it would be good to know.

    Thanks for reading and any guidance.

    In My Experience - MOST USB/SERIAL adapters work OK
    in PI/OS. I think, despite brand names, there are only
    a few actual chip-sets.

    While Amazon reviews are a bit suspect, still DO
    read them, with particular attention to Linux
    remarks

    IF you get stuck having to load virtual Winders
    drivers ... then you haven't chosen wisely

    Pi's can also do RS-232 directly. A bit less civil,
    but it works.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Theo@3:770/3 to 56g.1183@ztq4.net on Wednesday, January 03, 2024 12:15:35
    56g.1183 <56g.1183@ztq4.net> wrote:
    In My Experience - MOST USB/SERIAL adapters work OK
    in PI/OS. I think, despite brand names, there are only
    a few actual chip-sets.

    While Amazon reviews are a bit suspect, still DO
    read them, with particular attention to Linux
    remarks

    If you can find the chip number, that's the main thing. If there is a link
    to Windows drivers, downloading them and taking a look at the .inf file is a good clue.

    IF you get stuck having to load virtual Winders
    drivers ... then you haven't chosen wisely

    There is no support for running virtual Windows serial drivers in Linux.

    Pi's can also do RS-232 directly. A bit less civil,
    but it works.

    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).

    Theo

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From 56g.1183@3:770/3 to Theo on Wednesday, January 03, 2024 23:16:03
    On 1/3/24 7:15 AM, Theo wrote:
    56g.1183 <56g.1183@ztq4.net> wrote:
    In My Experience - MOST USB/SERIAL adapters work OK
    in PI/OS. I think, despite brand names, there are only
    a few actual chip-sets.

    While Amazon reviews are a bit suspect, still DO
    read them, with particular attention to Linux
    remarks

    If you can find the chip number, that's the main thing. If there is a link to Windows drivers, downloading them and taking a look at the .inf file is a good clue.

    IF you get stuck having to load virtual Winders
    drivers ... then you haven't chosen wisely

    There is no support for running virtual Windows serial drivers in Linux.

    Pi's can also do RS-232 directly. A bit less civil,
    but it works.

    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.


    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

    3.x volts IS a pain in the ass. Eventually all the old
    devices will be gone and the new stuff will do 3.x or
    less. However, there are still a lot of those "old devices"
    still out there and still in profitable use and likely
    will be for at least another 25 years.

    As for converters ... I'd swear I got a USB<->232
    unit working on a Pi3 ... but don't quote me on it.
    I'm kinda a hardware guy, so I would have made
    something with the MAX chips almost automatically.

    Anyhow, peruse the usual spots, AdaFruit, SparkFun,
    Seeed. They may have a canned solution.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Jim Jackson@3:770/3 to 56g.1183@ztq4.net on Thursday, January 04, 2024 12:27:52
    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.


    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.

    ...snip...
    Anyhow, peruse the usual spots, AdaFruit, SparkFun,
    Seeed. They may have a canned solution.

    sound advice.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From The Natural Philosopher@3:770/3 to Jim Jackson on Thursday, January 04, 2024 12:45:26
    On 04/01/2024 12:27, Jim Jackson wrote:
    On 2024-01-04, 56g.1183 <56g.1183@ztq4.net> wrote:

    ...snip...
    Anyhow, peruse the usual spots, AdaFruit, SparkFun,
    Seeed. They may have a canned solution.

    sound advice.

    https://thepihut.com/products/serial-pizero

    level conversion inbuilt


    --
    "When a true genius appears in the world, you may know him by this sign,
    that the dunces are all in confederacy against him."

    Jonathan Swift.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From 56g.1183@3:770/3 to Jim Jackson on Friday, January 05, 2024 01:35:55
    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. 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.

    ...snip...
    Anyhow, peruse the usual spots, AdaFruit, SparkFun,
    Seeed. They may have a canned solution.

    sound advice.

    These days there's often a canned fix for just a few dollars.
    Kinda takes the fun out of it though :-)

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Jim Jackson@3:770/3 to 56g.1183@ztq4.net on Sunday, January 07, 2024 19:50:32
    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)
  • From Michael Schwingen@3:770/3 to Jim Jackson on Monday, January 08, 2024 19:49:08
    On 2024-01-07, Jim Jackson <jj@franjam.org.uk> wrote:
    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.

    Which means the older stuff is broken and not really conforming to RS232 -
    the signals from the '3232 & Co *are* fully RS232-compliant.

    Yes, I know broken stuff exists and if you need to interface to such stuff,
    you need better drivers, but the blame is on the broken equipment and not on the MAX3232.

    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.

    When driving a RS232 load, the MAX232E output is specified at +-9V typical, +-5V guaranteed minimum - not +-12 (it internally doubles the +5V supply, so there is no way to get above 10V).

    The MAX3232 output is +-5V minimum, and +-5.5V typical.

    If you really need more output swing, you will have to use something like a SN75188 (with a 3.3V -> 5V level converter, and +-13V supplies) - at VCC=+-13.2V, these will drive +-9V guaranteed and +-10.5V typical.

    With Vih=1.9V, these might even work from a 3.3V output without additional level translation.

    cu
    Michael
    --
    Some people have no respect of age unless it is bottled.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Jim Jackson@3:770/3 to Michael Schwingen on Monday, January 08, 2024 22:33:15
    On 2024-01-08, Michael Schwingen <news-1513678000@discworld.dascon.de> wrote:
    On 2024-01-07, Jim Jackson <jj@franjam.org.uk> wrote:
    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.

    Which means the older stuff is broken and not really conforming to RS232 - the signals from the '3232 & Co *are* fully RS232-compliant.

    Indeed, and as you say the blame is on the equipment - but in the late
    80's early 90's there was a lot of crap^H^H^H^H non-conformant equipment
    :-)

    Yes, I know broken stuff exists and if you need to interface to such stuff, you need better drivers, but the blame is on the broken equipment and not on the MAX3232.

    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.

    When driving a RS232 load, the MAX232E output is specified at +-9V typical, +-5V guaranteed minimum - not +-12 (it internally doubles the +5V supply, so there is no way to get above 10V).

    Ah I mis-remembered - thanks for that.

    The MAX3232 output is +-5V minimum, and +-5.5V typical.

    If you really need more output swing, you will have to use something like a SN75188 (with a 3.3V -> 5V level converter, and +-13V supplies) - at VCC=+-13.2V, these will drive +-9V guaranteed and +-10.5V typical.

    With Vih=1.9V, these might even work from a 3.3V output without additional level translation.


    cheers

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Charlie Gibbs@3:770/3 to 57r.1283@etq5.net on Friday, January 12, 2024 01:08:44
    On 2024-01-12, 57r.1283 <57r.1283@etq5.net> wrote:

    Async is versatile, but a pain in the rump sometimes. Synchronous
    serial is more civilized. However most equipment you'll ever come
    across is async.

    Synchronous was more common in the mainframe environments of old.
    It can be a real pain to set up, especially if you're trying to
    get hardware from different manufacturers to talk to each other.
    Synchronous protocols are better suited to sending files across
    the country than characters across the room. The handshaking
    overhead can easily eat up the speed advantage of losing async's
    start and stop bits.

    --
    /~\ Charlie Gibbs | The Internet is like a big city:
    \ / <cgibbs@kltpzyxm.invalid> | it has plenty of bright lights and
    X I'm really at ac.dekanfrus | excitement, but also dark alleys
    / \ if you read it the right way. | down which the unwary get mugged.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From 57r.1283@3:770/3 to Jim Jackson on Thursday, January 11, 2024 19:41:12
    On 1/7/24 2:50 PM, Jim Jackson wrote:
    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.


    Probably true. I think the 3232 is 3.3 in/out so some kind
    of level-converter would be required between it and the 232.
    Cheap, or you can make yer own, but it's an extra level of
    complication.

    Thing is, some of that old equipment (oft industrial) IS still
    out there doing its job so a Fake-to-Real RS232 (might add a
    couple other RS's) converter might be a worthwhile bit of kit
    to have around.

    There's also the issue of the flow-control lines. While modern
    stuff is fast enough to not worry about it, the old equipment
    might need to signal a brief stop while you are sending to it.
    Buffers were often very small back then (and processing slow).

    Async is versatile, but a pain in the rump sometimes. Synchronous
    serial is more civilized. However most equipment you'll ever come
    across is async.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Jim Jackson@3:770/3 to 57r.1283@etq5.net on Friday, January 12, 2024 13:25:36
    On 2024-01-12, 57r.1283 <57r.1283@etq5.net> wrote:
    On 1/7/24 2:50 PM, Jim Jackson wrote:
    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.


    Probably true. I think the 3232 is 3.3 in/out so some kind
    3.3 in and 5v tolerant

    but +/- 5.5v out. For equipment that actually, meets the RS232 spec
    is fine

    of level-converter would be required between it and the 232.
    Cheap, or you can make yer own, but it's an extra level of
    complication.

    Thing is, some of that old equipment (oft industrial) IS still
    out there doing its job so a Fake-to-Real RS232 (might add a
    couple other RS's) converter might be a worthwhile bit of kit
    to have around.

    There's also the issue of the flow-control lines. While modern
    stuff is fast enough to not worry about it, the old equipment
    might need to signal a brief stop while you are sending to it.
    Buffers were often very small back then (and processing slow).

    Async is versatile, but a pain in the rump sometimes. Synchronous
    serial is more civilized. However most equipment you'll ever come
    across is async.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)