First the basics:
I have 2 DS18B20s that work just fine on an arduino. (Edit: and I’m only trying one at a time.) If I use the EXACT SAME circuit with my FEZ Cobra, I can’t get it to read an accurate temperatue. What am I doing wrong?
I wired one pin to Vcc, one to ground and the middle one to IO9 (with a 4.7k resistor to Vcc-5V).
I am using the exact same sample code from the “Beginners guide to NETMF” ebook. Yes, I changed my pin number to IO9. Do I have to use a specific pin?
When I look at the signal on my Saleae Logic Analyzer, it is able to recognize the reset and presence pulses, but it shows all zeros for the two commands (0xCC and 0x44) to start the temperature conversion.
I’m totally frustrated by this. Any help would be appreciated!