1-wire (or I2C) to USB bridge

Go To Last Post
9 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hello all,

I am trying to find a 1-wire to USB bridge, essentially so that I can talk to a 1-wire bus from USB from a host PC.

Does anyone know of a device that does it?

There is a 1-wire to I2C host DS2482, but what about a I2C-USB bridge?

There is also a 1-wire to UART bridge (DS2480B), but then there's extra code :(

There is also this, but a single (or two) chip solution with no code would be nice :)

Any other ideas?

-- Damien

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

The FT232H does it all without any programming.

Warning: Grumpy Old Chuff. Reading this post may severely damage your mental health.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

There is also CP2112 from Silicon Labs that does USB to I2C.

There used to be a dedicated USB to 1-wire from Maxim, but they made it practically obsolete, not sure why:
http://www.maxim-ic.com/datashee...

Quote:
There is also a 1-wire to UART bridge (DS2480B), but then there's extra code
What do you mean by "extra code"? A FT232R combined with a DS2480B need no extra code to work, e.g. with 1-wire viewer demo.

-Pantelis

Professor of Applied Murphology, University of W.T.F.Justhappened.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

pnp wrote:
There used to be a dedicated USB to 1-wire from Maxim, but they made it practically obsolete, not sure why:
http://www.maxim-ic.com/datashee...

With kernel support too!

Quote:
There is also a 1-wire to UART bridge (DS2480B), but then there's extra code
What do you mean by "extra code"? A FT232R combined with a DS2480B need no extra code to work, e.g. with 1-wire viewer demo.

Well, I was hoping that it would turn up without writing userspace code. Over a UART means a little more software development for pulling data from the 1-wire EEPROM. Not too problematic though.

-- Damien

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hmm, DS9490 is based on the DS2490 IC (even though DS2490 is NRND), so if you only need the adapter you might get away with just that.

There are some comments on the subject here:
http://www.maxim-ic.com/datashee...

Adapter:
http://www.maxim-ic.com/datashee...

-Pantelis

Professor of Applied Murphology, University of W.T.F.Justhappened.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

There's an I2C-USB bridge based on an ATtiny too with a kernel driver.

Choices!

-- Damien

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Quote:
Does anyone know of a device that does it?

A LUFA with some 1-wire driver. 1-wire is pretty complicated if you want to make a longer network (requires slew-rate control and active pullup). Timings are essential, same as short circuit and open-circuit sensing. If you need only a bunch of those, get DS2490.

No RSTDISBL, no fun!

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Quote:

A LUFA with some 1-wire driver.

If you are going to use the TWI master driver in LUFA, make sure you pull from the latest reposiory, and NOT the latest release, which contains a number of show-stopper bugs.

- Dean :twisted:

Make Atmel Studio better with my free extensions. Open source and feedback welcome!

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

One more option:

there is the bus-pirate, an universal USB-to electronics interface for $30. http://www.seeedstudio.com/depot/bus-pirate-v3-assembled-p-609.html

It support may protocol and can be (ab)-used for lots of projects. If you want a Swiss-army knife, it is a good choice. If you want a dedicated, single-use device, then the above solutions are cheaper.

Markus