I just got in 2 of the “One Wire Digital Temperature Sensor - DS18B20” from sparkfun… but no matter what i do i cant seem to make it work with arduino. If some has used these sensors or know how to hook up a One Wire sensor, please reply.
I tried using the onewire.h module with both with and without the parasite mode… and the data pin was connected to the micro controller using a 4.7K resistor. However when i run the module, the module never finds the sensor and replies with “No addresses found”.
*One Wire sensors allow multiple sensors to communicate by connecting all to the same pin and differentiation is based on their unique id.
Yaa most probably because of people like you who would whine and complaint rather than offer to help anyone. I dint have much hope with posting it here either cuz more than 50% of the post here go unanswered… looks like a great forum community!!!..
Thanks for you eagerness in finding faults!!!.. You really do set standards for the community you associate in!!!..
and also fyi… if i did make multiple post on the same forum…it is understandable… but cuz i wasnt sure which forum it would belong to as i usually see scattered off topic posts on every forums…i decided to post it on multiple forums…and i did apologize for it on every post… and if still people feel “So Annoyed” then i rather not have a help from those members…
OOO…Thanks a million Micro-IDE… on the website the schematic was a million dollars worth… I Finally got mine to work :D…
Okay so here is the mistake i made… i connected the 4.7K resistor directly to the data pin and the data pin to the digtal input output on arduino…and was hoping the onewire module to power the sensor…
For future members reference
So the correct way to do it was power the resistor with a constand 5v and connect it to the data pin on the dallas temp sensor… then make another connection from the same data pin to arudinos digital input output pins…
______ Vcc (optional) = 5V
DS18x20 - |_______ Data Pin ==(Arudino Dg Pin)==4.7KResistor → +5V