5

I recently tried to connect a temperature sensor (http://www.adafruit.com/product/381) to my RasPi via the GPIO, with a 4.7k (2Watt) resistor connecting the power and data (Source: http://www.cl.cam.ac.uk/projects/raspberrypi/tutorials/temperature/) as shown below:

enter image description here

I followed the instructions on the Cambridge link, but to no avail (I used the alternative temperature sensor listed on the website). When I type:

cd /sys/bus/w1/devices/ ls

It does not show a the temperature sensor, but it merely shows:

w1_bus_master1

Gah! The Pi Cobbler I use is for the Model B, not B+, but the first 26 pins are identical so it works (in case that's relevant).

Thanks for trying to help!

EDIT I also tried connecting a 3V LED to the 3V3 pin (and ground) but it didn't light up!

Kachamenus
  • 749
  • 6
  • 26

1 Answers1

4

Maybe the cobbler is not connected well, or the sensor is not getting enough power to work (the cable is too long or the power supply you're using is under-powered). Side note: you ALWAYS want to connect a resistor in series with an LED to avoid it getting damaged

(I don't have enough reputation to write a comment on your question)