Jump to content
43oh

Skunky Lee

Members
  • Content Count

    2
  • Joined

  • Last visited

  1. Hi! Thanks for the help. Sorry I didn't answer sooner but something unexpected came up. Yeah, the jumper on 1.6 was removed, I forgot to mention that. Anyway, I'll try running your sample code tomorrow and try to see what comes up. Thank you very much for your help so far [EDIT] Hah! Found the problem. I had a "lightbulb" moment and checked to see if I didn't accidentally mistake my DS18B20 for a transistor or something else in TO-92 casing. Funny enough, it seems that my DS18B20 isn't DS18B20 at all, but DS18B20P, which is a Parasite-mode only chip. It'll be a while
  2. Hi! So I'm having a bit of a problem trying to figure out this code, and I'm wondering if anyone could help me out a bit. Basically, I'm trying to use G2231 to read a DS18B20. I'm using pin 1.6 and 1 MHz factory calibrated clock. The thing is, when I send down the initial check owex(0,0), I get correct behaviour (tested on 2 different sensors). 0xFFFF if the sensor is plugged in and 0 if it's not. Then, I try to send down the Skip Rom command (0xCC) in order to verify the communication. It fails, for it always returns a 0. Curious enough, though, if I send down the ReadRom command
×
×
  • Create New...