Sign in

username:

password:



Not a member?

Search basicx



Search tips

Subscribe to basicx



basicx by Keywords

Accelerometer | ADC | ADXL | Adxl20 | AVR | BasicStamp | BX-35 | BX28 | BX35 | COM3 | Compiler | Downloader | EEPROM | Electromagnet | GetADC | GP2D1 | GPS | I2C | IDE | Keypad | LCD | LCD+ | MIDI | Motors | Multitasking | Netmedia | Networking | PCB | PID | PlaySound | PWM | Relays | RTC | Servo | ShiftOut | SitePlayer | SPI | Stack | Timer | USB

Ads

Discussion Groups

Discussion Groups | BasicX | Re: DS1820 1-wire temperature not working (update)

Discussion forum for the BasicX family of microcontroller chips.

Re: DS1820 1-wire temperature not working (update) - "James R. Parish" - Feb 14 7:45:15 2008

I switched over to powered mode instead of parasitic mode and it works
fine. I'm not one to just move on when there is a quirk causing an
issue and a fix is found. I'm thinking the problem is in the "hard
pull-up" on the data line, I tried increasing the time from 0.5 sec to
1.5sec with no different results. I have a task running while testing
the DS1820, it is just this:

DIM DACCounter as BYTE

DO

Call DACPIN(18, SETIOUT, DACCounter)

SLEEP(0.0)

LOOP

End Sub 'SetIOUTtask

I'm not sure if this is effecting the time it takes for the hard pull-up
to be applied to the dS1820 data pin. Maybe the extra current is not
getting to the chip before the temperature conversion starts. I stopped
the task and it didn't make a difference either.

[Non-text portions of this message have been removed]



(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )