On Tue, Jun 25, 2019 at 08:01:29AM -0700, rct wrote:
> Serial is probably too overloaded a term in this context without
> clarifications.
>
> The USB<->DB 9 serial adapter you point to is for RS-232 type devices which
> use a relatively large voltage range that goes from negative to positive at
> least -5vdc to +5vdc, originally was closer to -12 vdc to +12 vdc.
>
> If you tried to connect the RX/TX from an RS-232 port to a DS18S20 without
> building something like a DS9097U to create a 0-5vdc 1-wire bus, it won't
> work and it is possible your DS18S20 was damaged.
>
> The original DS9097* type devices converted from an RS-232 port down to a 5
> vdc 1-wire bus. I think most have a 5 volt regulator in them.
>
> There are simplified 1-wire bus adapters that connect to serial signaling
> that is at 0-5 vdc levels. These are for when you are using the output
> directly off the FTDI 232 or PL2303 or RPi or other system on a chip (SoC)
> pins that haven't gone through an RS-232 converter.
>
> The USB<->DB 9 serial adapter you are using has essentially two main
> components in it, a PL2303 USB<->Serial and an RS-232 convert, something
> like a max232 chip.
>
> If you ware building your own adapter, you want something like an FTDI or
> PL2303 "breakout" that doesn't have the converter. These are sold for
> microcontroller type projects for Arduino, RPi, serial consoles on embedded
> devices like wireless access points/routers, etc.
>
> Hope this helps,
> --Rob
Whoops, sorry I didn't see this thread earlier. Rob is spot on here, and
I second the recommendation for FTDI based USB->Serial adapters, I've
had no end of trouble with the PL2303 series.
You shouldn't be soldering RX and TX together, you should be using a
serial adapter. These days the DS9097U are cheap enough there's really
no reason to use the older-style DS9097 designs. Personally I like the
iButtonLink DS9097U compatible ones.
If you *really* want to build a DS9097 style adapter, see page 20 of the
App. Note 74 document -
https://digitemp.com/docs/app74.pdf it has a
circuit that works.
Good Luck!
Brian
--
https://www.brianlane.com