I have been trying to setup a small temperature probe beacon for my garden. I have been using the Adafruit HUZZAH ESP8266 Breakout packages with an FTDI cable to write code using the ArduinoIDE.
For the temperature sensing, I purchased some DS18B20 sensors that are encased in a waterproof housing. The sensor is broken-out into 3 leads (power, ground, data). I was able to wire the sensor into my breadboard successfully, and, using the example sketch online, I was able to read the temperature from the sensor successfully from my Arduino Uno.
Then I moved onto recompiling and uploading the firmware to the ESP8266. The code compiles without a problem and uploads, when paired with a WiFi client, the connection is made unhindered.
[u]The problem I'm having is that the ESP8266 is always reading 262.29 for the temperature (I assume logic high), regardless of which pin I try to move it to and replicated on both ESPs I have.[/u]
I checked to make sure that there were no touching wires and that the circuit was proper. I uploaded the same sketch to an extra Arduino Mega 2560 I had laying around and connected a switch to the data line so I could toggle both devices.
Watching both serial outputs, it is clear that the Mega handles the input from the sensor properly and the ESPs do not. I would really love to get this solved so I can move into board prototyping.
If there are any gurus out there who know what I should test or what the heck I'm missing, please help a brother out!
Thank you for your time and attention, Neurax