1-Wire COM Port Adapter an c't-COM-auf-LAN-Adapter

Folks,

da ich noch eine freie Ethernet-Verbindung in den Heizungskeller habe, wollte ich den seriellen 1-Wire COM Port Adapter am c’t-COM-auf-LAN-Adapter dort betreiben um Vorlauftemp, Rücklauftemp. usw. in IPS einzubinden.

Ich kann im Lantronix COMPORT Redirector sehen, dass die Verbindung über COM4 steht, aber schon das Default 1-Wire Net Programm meckert, dass es keinen 1-Wire COM Port Adapter erkennt. :mad:

Hat jemand ähnliches schon probiert? Falls Erfolge zu vermelden sind - bitte Tipps.

Gruss Dieter

Universal 1-Wire COM Port Adapter

The DS9097U is a sophisticated RS232 to 1-Wire® adapter, which performs RS232 level conversion and actively generates the 1-Wire communication signals. Together with an adequate TMEX software driver, it enables an IBM-compatible PC to directly communicate with any 1-Wire device connected to the adapter’s RJ-11 port. The DB-9 version reads and writes any non-EPROM 1-Wire device. To write to EPROM devices, the DB-25 version with external power supply is required.

All DS9097U adapters are based on the DS2480B Serial 1-Wire Line Driver chip and therefore are not a plug-in replacement for the DS9097 or DS9097E. The RXD/TXD Polarity Select input of the DS2480B is tied to VDD (non-inverting). Free software drivers can be downloaded from http://www.ibutton.com/software/tmex/index.html.

The DS9097U communicates with 1-Wire devices at regular speed as well as Overdrive speed. The serial port must support a data transmission rate of 9600bps. Under software control, the adapter can be set up for RS232 data rates of 19200, 57600, and 115200bps. The two higher rates are recommended for communication at Overdrive speed with Overdrive capable devices. Since the DS9097U operates in a byte mode, every data byte received from the RS232 port generates eight time slots on the 1-Wire line. At 19200bps data rate the DS9097U-E25 is already faster than the DS9097 (E) at 115200bps.

Note that there are some COM ports that use signal levels of less than (±)5V. The DB-9 versions of this adapter will not work with such ports. The DS9097U-E25 adapter, however, will function in most cases if external power is supplied. Without EPROM programming, the external power may be anywhere in the range of 6V to 9V. For EPROM programming the voltage must be at 12V in any case. Before using an externally powered DS9097U-E25 with a COM port of less than (±)5V check whether the COM port will not be damaged by 5V on its RXD input.

oder anders ausgedrückt:: hast Du ein MAX232 und Du mußt mid. +7V an RTS oder DTR als Betriebsspannung anlegen! Siehe:http://pdfserv.maxim-ic.com/en/ds/DS9097U-009-DS9097U-S09.pdf

MST

Hallo Michael,

Danke für Deine Rückmeldung - die Antwort ist JA, auf dem c’t-COM-auf-LAN-Adapter ist auch ein MAX232 (Levelshifter). Kennst du dieses c’t Projekt nicht? Es stellt eine Remote COM Schnittstelle via Ethernet zur Verfügung und meine Telefonanlage im Keller kann ich auch ohne Probleme via Ethernet konfigurieren - das läuft gut. Nur der Sch… 1-Wire nicht :confused:

Gruss und guten Rutsch ins neue Jahr.

Dieter

Das DS9097 benutzt auch DTR. Wie Du hier sehen kannst, werden die Daten durch setzen der einzelnen Pins und nicht durch die UART versendet. Das ist mit dem XPORT wohl nicht so einfach möglich.

Tommi

DTR und Daten durch einen 5V Regler - dass verstehe ich nicht … :confused: :confused: :confused:

ds9097.jpg

Hm,jetzt macht Ihr mich aber selbst unsicher.
Der DS9097 ist eine passiven Variante wie im Link beschrieben.
Wenn ich es richtig verstanden habe (ich lasse mich gern korrigieren), ist der DTR-Pin mit der Data-leitung verbunden. Rx+TXx hängen and Ground. Über die Z-Dioden wird die Betriebsspannung aufgebaut. Durch Änderung der Pegel an DTR würde man nun eine Datenübertragung erreichen. Oder?

Tommi

Kollegen,

ich habe mich vor Jahren schon mal mit den Dallas-Komponenten beschäftigt und kann mich erinnern, dass DTR & RTS lediglich zur 5 Volt Versorgung des DS2480B ‚angezapft‘ werden und signalmässig nicht relevant sind.

Gruss Dieter

Ach ja, ich habe den 1-Wire COM Port Adapter mal geöffnet - ist ein voll aktives Teil - wie in der schematic von Michael gezeigt.

So - hab noch weiter recherchiert:

„mid. +7V an RTS oder DTR als Betriebsspannung anlegen“

… habe ich doch gesagt :rolleyes:

MST

und wie funktioniert dann das hier?

fragt sich
Tommi

Hi Tommi,

ich vermute gar nicht mit dem Timex Module - die Beschreibung war doch für eine Ansteuerung mit einem PIC.

ABER - mein Set Up funzt jetzt !!!:slight_smile:

Habe CTS vor dem MAX232 so ‚gejumpered‘, dass am 1-Wire COM Port Adapter RTS-Pin permanent ca. 9 Volt anliegen und siehe da, es läuft.

Das war’s für dieses Jahr - guten Rutsch an das IPS-Team, nebst aller Forum Supporter.

Prost Neujahr
Gruss Dieter