hsloan1a
Posts: 3
Joined: Sun Oct 19, 2014 7:54 pm

Can't find sensor

Sun Oct 19, 2014 8:09 pm

I'm running this guide:
http://www.cl.cam.ac.uk/projects/raspbe ... mperature/

I've bought everything and it is my first project and pi. I do have the B+, but I don't think it is an difference.

When I run this:
sudo modprobe w1-gpio
sudo modprobe w1-therm
cd /sys/bus/w1/devices/
ls

I don't get the results that are displayed. I have flipped the resistor about four times. I pulled out a volt meter (luck I had one) and I'm sending power from the board. I kept feeling it to see if it was getting warm. I researched the pins. However, being a novice, I tried all the connection combinations I could try. I'm thinking I possible blew the sensor. I did put the volt meter on the grnd and power and I can see that power is flowing. However, the first couple times I setup the device, my pi wouldn't startup. lol, I have no idea what I'm doing, but I'm trying. However, I could use some help if possible. :)

hsloan1a
Posts: 3
Joined: Sun Oct 19, 2014 7:54 pm

Re: Can't find sensor

Mon Oct 20, 2014 2:28 am

I actually had the resistor, power and power to the sensor all in the same spot. However, after looking at your link, I changed it to having the resistor power in a separate section. Unfortunately, that didn't work either.

User avatar
B.Goode
Posts: 10356
Joined: Mon Sep 01, 2014 4:03 pm
Location: UK

Re: Can't find sensor

Mon Oct 20, 2014 11:54 am

hsloan1a wrote: When I run this:
sudo modprobe w1-gpio
sudo modprobe w1-therm
cd /sys/bus/w1/devices/
ls

I don't get the results that are displayed.
So what DO you get? The output might give someone a clue...

hsloan1a
Posts: 3
Joined: Sun Oct 19, 2014 7:54 pm

Re: Can't find sensor

Mon Oct 20, 2014 1:18 pm

I can work on trying to figure out how to get a screen shot.
However, I'm getting just a w1_bus_master1. I don't have any other devices in the list.

User avatar
pluggy
Posts: 3635
Joined: Thu May 31, 2012 3:52 pm
Location: Barnoldswick, Lancashire,UK
Contact: Website

Re: Can't find sensor

Mon Oct 20, 2014 2:54 pm

You get that when it can't find the device. The wiring is the most important part. If you're using a bread board, I'd double check with a meter that the connections are being made between the breadboard contacts and the wires and components. Your posted link does work as published. I've just just made one by soldering a DS18B20 and a 5k resistor to a 5pin female header. There isn't a lot to go wrong.
Don't judge Linux by the Pi.......
I must not tread on too many sacred cows......

User avatar
pluggy
Posts: 3635
Joined: Thu May 31, 2012 3:52 pm
Location: Barnoldswick, Lancashire,UK
Contact: Website

Re: Can't find sensor

Mon Oct 20, 2014 3:20 pm

Just to be sure, it works exactly the same on a B+

Image
Image
Don't judge Linux by the Pi.......
I must not tread on too many sacred cows......

afduarte
Posts: 3
Joined: Sun Nov 02, 2014 1:31 pm

Re: Can't find sensor

Sun Nov 02, 2014 1:35 pm

Hello there,

Check out this question: http://raspberrypi.stackexchange.com/qu ... a-gpio-pin on raspberry pi stack exchange that I have both asked and answered. I was having exactly the same problems you talk about, try this solution and come back to me with the feedback. +1 the question on the stack if it helps you :)

Regards,
Antero

Return to “Troubleshooting”