Jan thanks for the reply.
I currently have 2 Raspberry Pi's (of late 2012 vintage - forgot the
model ID's) and I've been running them since early 2013. I've run one
for 6 months non-stop (to manage the lighting and temperature in a
terrarium) and only stopped it to update the Raspbian firmware. I use
the "Blue DS9490R unit" (Dallas call it a DS9490R) to drive the 1-wire
network. On of the main issues I found with operating the Pi with WiFi
connectivity is the WiFi connectivity - seems to be a bit flaky (maybe
the drivers for the specific WiFi unit - the WiFi was not powered
directly from the Pi but from a USB hub). So I don't think I'll chose a
Raspberry B Zero W for long term stability reasons.
The system I'm thinking of building is for a home server and will use a
low-end laptop as I do not have to wire the basic infrastructure to get
a computing environment happening (power supply, screen, keyboard,
memory, case) - it's all setup already. All I'll need is a
USB-to-I2C-to-1_wire.
If I'm to use a USB-to-I2C adaptor (say FT232H) to drive a I2C 1-wire
master (say a DS2482-800) how should I initialize OWFS?
sudo owfs –d=/dev/i2c-0 /mnt/owfs ? or
sudo owfs –u=/dev/i2c-0 /mnt/owfs (manual says this option is for a
"USB adapter (DS9490) as 1-wire bus master") ?
... other ?
Regards
Joe P.
On 12/12/17 23:43, Jan Kandziora wrote:
Am 12.12.2017 um 06:07 schrieb joep:
Way back, in Apr 22, 2012 5:42pm to be precise, Patryk-6 started a
thread called 'usb-i2c-1wire tutorial' (at
https://sourceforge.net/p/owfs/mailman/message/29163416/) in which he
started discussing a USB-to-1-wire bus master to replace the then
discontinued DS2490. I believe that the DS2490 has now been replaced
by the DS2490r which is in production so Patryk-6's need may no
longer be there.
There is no such thing as a DS2490R. The DS2490 is the chip inside the
blue **DS9490R** and DS9490B adapters. Ten years ago, you could buy the
DS2490 chip to build similar adapters yourself but in 2010 or so Maxim
decided not to sell the chip any more.
You can still buy the blue adapters though.
One possible implementation is for a
USB-to-I2C interface (using, for example, an adafruit FT232H breakout
unit) driving a DS2482-800 (or multiple DS24282-100) to give multiple
independent 1-wire busses.
Correct. But using one or more Raspberry B Zero W running owserver may
be a **cheaper** and simpler idea, as the Raspberries already have
exposed I²C buses. See it as a WLAN to Onewire bridge.
The main questions I'm interested in resolving is: Can I use OWFS
drivers to drive a DS2482-800 through the USB-to-i2C interface
(FT232H)?
OWFS uses the Linux kernel to access I²C, so any USB-I²C adapter for
which a Linux kernel driver exists will work.
Kind regards
Jan
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers