OneWire Library / DS1990A
<note: had bunch of links in make easier reference, apparently have have 1 post before can add links... :-? i'll try add them in reply.>
hi, all. i'm reasonably new arduino, , i'm having smidge of trouble onewire library.
i've grabbed recent copy of jim studt's onewire library , dumped in ./hardware/libraries/ directory. comes fine in arduino.
i attached button reader pin 10 specified 4.7k pull-up resistor, , ground pin (duh) arduino ground.
i copied first example playground's onewire page, verified, , uploaded it. should note commented out following line didn't spammed badly:
i started serial monitor, , greeted lovely piece of work:
it appears reading nothing. contact reader nothing pair of metal contacts ds9092, unless there's button on contacts nothing should read.
the 2 lines in middle when press , hold ibutton ds1990a on contact. can see, it's reading zeroed address family, id, , crc, is... useless.
i've read other threads, , closest thing found problem involved removing onewire.o file , letting arduino recompile that. fixed error, alas, not mine.
any appreciated.
hi, all. i'm reasonably new arduino, , i'm having smidge of trouble onewire library.
i've grabbed recent copy of jim studt's onewire library , dumped in ./hardware/libraries/ directory. comes fine in arduino.
i attached button reader pin 10 specified 4.7k pull-up resistor, , ground pin (duh) arduino ground.
i copied first example playground's onewire page, verified, , uploaded it. should note commented out following line didn't spammed badly:
code: [select]
serial.print("no more addresses.\n");i started serial monitor, , greeted lovely piece of work:
code: [select]
r=0 0 0 0 0 0 0 40 crc not valid!
r=0 0 0 0 0 0 0 c0 crc not valid!
r=0 0 0 0 0 0 0 40 crc not valid!
r=0 0 0 0 0 0 0 c0 crc not valid!
r=0 0 0 0 0 0 0 40 crc not valid!
r=0 0 0 0 0 0 0 c0 crc not valid!
r=0 0 0 0 0 0 0 40 crc not valid!
r=0 0 0 0 0 0 0 0 device not ds18s20 family device.
r=0 0 0 0 0 0 0 0 device not ds18s20 family device.
r=0 0 0 0 0 0 0 80 crc not valid!
r=0 0 0 0 0 0 0 40 crc not valid!
r=0 0 0 0 0 0 0 c0 crc not valid!
r=0 0 0 0 0 0 0 40 crc not valid!
r=0 0 0 0 0 0 0 c0 crc not valid!
r=0 0 0 0 0 0 0 40 crc not valid!
r=0 0 0 0 0 0 0 c0 crc not valid!it appears reading nothing. contact reader nothing pair of metal contacts ds9092, unless there's button on contacts nothing should read.
the 2 lines in middle when press , hold ibutton ds1990a on contact. can see, it's reading zeroed address family, id, , crc, is... useless.

i've read other threads, , closest thing found problem involved removing onewire.o file , letting arduino recompile that. fixed error, alas, not mine.
any appreciated.

here links mentioned:
jim studt's onewire library
the playground's onewire page
the ds9092
the other thread
i should mention have arduino duemilanouve atmega 328, running v15 under ubuntu 9.04 (jaunty). have used arduino number of other test projects far.
jim studt's onewire library
the playground's onewire page
the ds9092
the other thread
i should mention have arduino duemilanouve atmega 328, running v15 under ubuntu 9.04 (jaunty). have used arduino number of other test projects far.
Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs > OneWire Library / DS1990A
arduino
Comments
Post a Comment