Show Posts
Pages: [1]
1  Forum 2005-2010 (read only) / Development / Re: Introducing Maxim DS2482 1-wire master library on: December 05, 2009, 01:32:24 pm
Hi,

Thank you for your comments about the library smiley
I think you did found the problem indeed, I used the appnote as the basis of the search function and did not encounter the problem you described in the earlier posts.

I've updated the library to include your fix. Thanks!

 

2  Forum 2005-2010 (read only) / Development / Re: Introducing Maxim DS2482 1-wire master library on: May 20, 2009, 04:18:18 am
Here is an quick example:

Code:
#include <Wire.h>
#include <DS2482.h>

DS2482 ds(0);

void setup()
{
   Wire.begin();
   ds.reset();
   //configure DS2482 to use active pull-up instead of pull-up resistor
   //if (!ds.configure(DS2482_CONFIG_APU))
   //{
   //       Serial.print("DS2482 not found\n");
   //}
}

void loop()
{
    byte addr[8];

    if ( !ds.wireSearch(addr))
    {
        //Serial.print("No more addresses.\n");
        ds.wireResetSearch();
        return;
    }

}


So I think the main thing is that Wire library needs to be initialized and this fact is not very clearly stated in the DS2482 library. I will update the library soon.


3  Forum 2005-2010 (read only) / Development / Introducing Maxim DS2482 1-wire master library on: May 12, 2009, 09:14:26 am
Hi,

I created a library for controlling DS2482 with Arduino for my project and I thought it might be useful for others too.

Library can be found at http://code.google.com/p/arduino-ds2482/. Any feedback will be appreciated.

Cheers!


4  Forum 2005-2010 (read only) / Scandinavia / Re: Suomalaisia on: September 21, 2009, 03:31:20 am
Moikka moi,

Itsekin olen Arduinon kanssa pelehtinyt tämän vuoden ajan ja myös myyn niitä sekä lisätarvikkeita osoitteessa http://www.paeae.com.
Omat projektit ovat olleet aika laidasta laitaan, RFID kulunvalvontaa, kasvien automaattikastelu ja valaistusjärjestelmiä yms smiley
5  Forum 2005-2010 (read only) / Interfacing / Re: Reset command on: May 12, 2009, 09:13:01 am
Using watchdog to reset can cause annoying loop when watchdog is retriggered during boostrap. I think watchdog should be disabled when entering bootstrap code.
Pages: [1]