Greetings
Can anyone confirm that a USB 9097 is just a CH341 USB to serial chip
connected to a DS2480B ?
Does anyone have a schematic by any chance to determine what other
components there might be ?
Thanks
--
Robin Gilks
___
Owfs-developers
r the MAX31826 is
better than the DS18B20 in a 3.3 volt environment since it seems to be
tailored to 3.0-3.7 volts rather than 3.0 to 5.5 volts ?
Cheers
--
Robin Gilks
--
Developer Access Program for Intel Xeon Phi Proce
re that there are no genuine Dallas/Maxim devices with
a family code where the MSB is set.
--
Robin Gilks
--
___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge
he type (FTDI)
and bus number and OWFS looks for that specific device name.
Just an idea (had to do that years ago with serial devices to sort out a
connection to a weather station and an IR blaster, never sure what device
names each would come up with!).
--
Robin Gilks
red and
the outputs are open drain mosfets, inputs look for less than ~3.2 volts
for a logic low (but that depends on the 1-wire speed and what the
internal charge pump voltage is!!)
--
Robin Gilks
--
Slashdot TV.
>
> Maybe a big endian / little endian problem?
That sounds like the endian problem I found on the 2413 dual output
device. The fix I produced went into the main tree but I can't remember if
it extends to the 2408.
--
Robin Gilks zl3rob/g8ecj
Internet: g8...@gilks.orghttp://www.gi
unplugged it, warmed it in my hand, plugged it back in and
its been OK since. Just unplugging and plugging back in without the
warm-up didn't fix it!!
Cheers
--
Robin Gilks
--
HPCC Systems Open Source Big Data Pla
wer we have from projects like OpenWrt that allow us to use such
good hardware thats really cheap :)
--
Robin Gilks zl3rob/g8ecj
Internet: g8...@gilks.org http://www.gilks.org
--
Robin Gilks zl3rob/g8ecj
Internet: g8...@gil
much of it is done as bit
> streams rather than numbers.
Good to know I've been of some help. I've played with 1-wire for a long
time, especially on AVR 8 bit CPUs and have even implemented slave devices
where Dallas/Maxim have either stopped making a device or never making a
particular
ons not being endian safe.
Cheers
--
Robin Gilks
diff -PurN owfs-2.8p13.orig/module/owlib/src/c/ow_byte.c owfs-2.8p13.new/module/owlib/src/c/ow_byte.c
--- owfs-2.8p13.orig/module/owlib/src/c/ow_byte.c 2010-09-25 09:04:24.0 +1200
+++ owfs-2.8p13.new/module/owlib/src/c/ow_byte.c 2014-03-02 11:26
rite_a_bit()
It would certainly explain the ds2413 problem I (and others) have.
Not sure of the solution, maybe a sprinkling of htonl() and ntohl() calls
since they are endian specific for the target?
Cheers
--
Robin Gilks
o set PIO.B tries to send 0x0203 instead of
0x02, the result being that neither bit gets turned on (the 2 LSBs both
high).
I've attached a trace of trying to turn on PIO.B on one device. I've added
a few extra debug lines in ow_2413.c which I've also attached.
Enjoy...
--
>
> OK - the uncached tree is working great for the voltage measurements but I
> seem to have not got the PIO.BYTE workaround doing as it should.
Duh - if you're going to keep a mirror of the device registers it helps to
make them static :)
-
- the uncached tree is working great for the voltage measurements but I
seem to have not got the PIO.BYTE workaround doing as it should.
More time tomorrow evening so I'll instrument a few places with
LEVEL_DATA() to see what goes where on a big endian box.
> Am 23.02.2014 19:26, schrieb Robin Gilks:
>>
>> If you look back in the thread you'll see I'm using a USB9097 which is a
>> ch341 usb/uart and a ds2480b master driver combination.
>>
> I read that, but I had the impression you have a bunch of hardware
> Am 23.02.2014 07:16, schrieb Robin Gilks:
>>
>> No couplers - hanging off the bus are 16x DS2413 switches and 3x DS2438
>> battery monitors which are used for measuring the output of a current
>> transformer and temperature.
>>
> How do you access the onewire
> Am 22.02.2014 05:12, schrieb Robin Gilks:
>>
>> I've been using 100mS between DS2413 write and DS2438 read on the old
>> Dallas s/w but even taking it up to 300mS I'm failing to read the
>> correct
>> value with owfs.
>>
> Do you have a
y the ds2480ut.c module from Dallas won't
talk to a USB9097 :( I see that the OWFS handling seems to send several
resets (breaks) to the chip during initialise but that may be just me
getting lost on the error paths. Something odd about the ch341 uart maybe?
Cheers
--
Robin Gilks
-
ased on the same
DS2480B as I use on my WRT54GL box!
Ho hum...
--
Robin Gilks
--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfal
> On 02/20/2014 10:59 PM, Robin Gilks wrote:
>> Greetings all
>>
>> I've just started to migrate from the public domain Dallas tools (that
>> go
>> way back to the DOS days as well as Linux) to OWFS and I'm a bit
>> confused
>> about the C A
terminated and if so is the terminator included in
the length? If the terminator is not included in the buffer length then I
assume that it doesn't need one!!
Cheers
--
Robin Gilks
--
Managing the Performance
21 matches
Mail list logo