Yes, I have tried what you described and now it works like a charm. I
maybe a software freak as I do not really understand this.

But since this works, I can at last continue with my master plan!!

Now I am going to the next step, using a Lantronix Xport to remote
read 1-wire. My problem is that our house is quite old and nobody
foreseen to build cable ducts when building the house (20 years old).
I have managed to lay ethernet between the floors, but major building
work if I want more cabling.

My idea is to use XPorts to manage the serial comms from a central FOX
board. I have found a software on the net that offer a serial
interface to owfs software, translate this into ethernet which can
then be give to the DS2480B chip on the other side.

Anybody have experience with something like this ?

Jos


--- In [email protected], "guellep" <[EMAIL PROTECTED]> wrote:
>
> Because I also intend to use /dev/ttyS2 for 1-wire communication 
> I did some additional testing with the DS2480B. 
> 
> This is my setup: 
> 
> - Direct connection of the DS2480B's TXD and RXD pins to 
> ttyS2 TX and RX lines (on J6 of Fox board). 
> 
> - POL pin of DS2480B tied to GND
> 
> - Some 1-wire devices connected to 1-wire output of DS2480B.
> 
> I wanted to know whethter the 3.3V logic of the Fox board 
> could directly interface with the 5V logic of the DS2480B 
> (according to the data sheet the DS2480B is intended for 
> use with 5V UARTS). 
> 
> Here are my results: 
> 
> 1. Supplying the DS2480B from an external voltage source < 4.5 V 
> the tstfind application finds all connected 1-wire devices. 
> 
> 2. Supplying the DS2480B with 5.0V provided from J6, 
> no devices are found. 
> 
> 3. Inserting a 1N4148 diode from 5.0 V to VDD of the DS2480B 
> all devices are found. 
> 
> Conclusion: 
> 
> With a slightly reduced supply voltage (voltage drop across the diode)
> the logic threshold of the DS2480B seems to be 
> compatible with the 3.3V logic of the board UART, interfacing of the
> DS2480B to the Fox board just requires an additional standard silicon
> diode. 
> 
> I would not suggest this setup for critical volume applications 
> where reliability is of concern (supply voltage of the DS2480B 
> slightly out of specs), but it works fine for simple 
> workbench testing. 
> 
> Regards 
> 
> Klaus
>


Reply via email to