Dnia 18.04.2012 o 20:45 Stuart Poulton <webw...@gmail.com> Stuart Poulton <webw...@gmail.com> napisaĆ(a):
> Great work. > > This was on my 'todo' list. > > Does it just appear as an i2c device to linux ? Yes but You have to compile osif module and load it and also load i2c-dev and then it's in /dev/i2c-X The slower i2c-tiny-usb is already in the kernel and load automatically but still you have to load i2c-dev. But i2c-tiny-usb is too slow for DS2482-800 I will try to write a step by step tutorial later. I also found that FTDI chip FT232H has some kind of i2c interface. I think it will be fast enough but I don't know how does it work on linux and i2c. But the price is good and it's not so hard to solder. > > Stuart > > On 18 Apr 2012, at 10:06, Patryk wrote: > >> Hello >> As I previously said I was trying to build USB 1-wire adapter. Today I >> managed to get it working on a breadboard. >> The main advantage is that it's cheap and easy to build from standard >> parts. It uses 1-wire master DS2482-800 which is connected with i2c bus >> to >> Atmega8 which is a USB to i2c converter. >> Atmega8 is a widely available microcontroller I can even buy it at my >> local electronics shop. It costs there about $2. It has to be programmed >> before use. You can build a cheap programmer that uses parallel port if >> You have >> an old PC. >> First I run i2c-tiny-usb >> http://www.harbaum.org/till/i2c_tiny_usb/index.shtml >> but there was a performance issue. The read from DS18B20 took about 3 >> seconds >> and without specifying the bus about 10. Compared to 1.5 with DS2480 >> and similiar >> time connected to vga i2c port. >> Fortunately there is a derivative project from Till's i2-usb-tiny. It's >> from project OpenServo. >> It uses Atemga8 and has better performance because it uses some built >> in i2c(do not know exactly)' >> Here's the page with it >> http://www.openservo.com/viewcvs/OpenServo/Interfaces/OpenServo_InterFace/?root=cvs >> You can also buy it assembled in this shop it has other useful features. >> http://www.robotfuzz.com/index.php?main_page=product_info&cPath=66&products_id=181 >> >> That's how it looks like on the breadborad. Atmega on the left then >> DS2482 >> and one DS18b20 on the right. >> http://www.fotosik.pl/pokaz_obrazek/pelny/ad26b46b4fb860dd.html >> I also attach a schematic. >> http://www.fotosik.pl/pokaz_obrazek/pelny/ab6a5fc5827cd013.html >> >> I'm now designing a board for it. >> >> >> >> -- >> p4trykx<i2c-mega.sch.tar.7z>------------------------------------------------------------------------------ >> Better than sec? Nothing is better than sec when it comes to >> monitoring Big Data applications. Try Boundary one-second >> resolution app monitoring today. Free. >> http://p.sf.net/sfu/Boundary-dev2dev_______________________________________________ >> Owfs-developers mailing list >> Owfs-developers@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/owfs-developers > > > ------------------------------------------------------------------------------ > Better than sec? Nothing is better than sec when it comes to > monitoring Big Data applications. Try Boundary one-second > resolution app monitoring today. Free. > http://p.sf.net/sfu/Boundary-dev2dev > _______________________________________________ > Owfs-developers mailing list > Owfs-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/owfs-developers -- p4trykx ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev _______________________________________________ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers