Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

1-wire USB interface for testing different net configurations and software

Status
Not open for further replies.

Vermes

Advanced Member level 4
Advanced Member level 4
Joined
Aug 2, 2011
Messages
1,163
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,316
Activity points
22,318


It is a 1-wire USB interface, that can be connected to a laptop to easy test different net configurations and software. It is plugged to a router with USB port. 1-wire ↔ serial DS2480B adapter is quite available on the market. The advantage of the system is simple implementation and availability of items.
DS2480B system is good for large 1-wire nets. When it is only few thermometers and available RS232 port, it is better to make a clone of DS9097.
DS9503 is ESD protection.
Capacitor C2 is optional and works as a filter. In specification, it has 470pF, depending on the quantity of sensors.
FT232RL on a plate with DIP24 outputs, 15,24mm wide, was used as USB interface ↔ serial.
The plate fits the housing Z-24. If you resign from base under UM232R, the whole device could fit Z-94.
Program support is made by OWFS (Linux). It is a very convenient solution, mapping 1-wire net to the system of files. That makes reading the temperature just reading the right file.
After mounting the system of files.
Code:

Code:
owfs -d /dev/ttyUSB0 /mnt/owfs

In catalogue /mnt/owfs the sensors occur.
Code:

Code:
~$ ls* /mnt/owfs/*
29.XXXXXX...*
alarm*
bus.0*
settings*
statistics*
structure*
system*
uncached*

Here listing 8 the output system I/O DS2408.
Code:

Code:
$ ls -C /mnt/owfs/29.XXXXXXXXXXX/*
address* latch.0* latch.5* * *LCD_H* * PIO.2* PIO.7* * *r_address* sensed.2* sensed.7* * *type*
alias* * latch.1* latch.6* * *LCD_M* * PIO.3* PIO.ALL* *r_id* * * *sensed.3* sensed.ALL*
crc8* * *latch.2* latch.7* * *locator* PIO.4* PIO.BYTE* r_locator* sensed.4* sensed.BYTE*
family* *latch.3* latch.ALL* *PIO.0* * PIO.5* por* * * *sensed.0* *sensed.5* set_alarm*
id* * * *latch.4* latch.BYTE* PIO.1* * PIO.6* power* * *sensed.1* *sensed.6* strobe*



Link to original thread (attachments) – Interfejs 1-wire usb
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top