Showing posts with label temperature sensor. Show all posts
Showing posts with label temperature sensor. Show all posts

Wednesday, June 4, 2014

3wire SPI temperature sensor and relay control boards (suitable for Raspberry Pi)

I've been using this LM95071 temperature sensor breakout for quite a while.


Low-power, high-resolution (13-Bit plus sign) digital temperature sensor with an SPI/MICROWIRE compatible interface. 5-pin SOT-23. From Texas Instruments.
Works just fine with the RPi :)

And here is the relay control board:




Coil is 5V DC. Controlled with digital transistor. All you need is 1 GPIO pin from any MCU.
-----------------------------------------------------------------------------------------------------------------

Monday, January 14, 2013

Wireless temperature sensor with Raspberry Pi

Finally got some time to play with the Raspberry. Behold the wireless temperature sensor :D




The sensor itself is LM95071. Temperature is read through SPI. The only problem was that after the first read the sensor was put in shutdown mode... I guess this is because the SPI is full duplex and the SI/O pin was left dangling during WR to the sensor (even though I was only reading from it...). The solution was to add pull-down resistor to the SI/O pin (the additional resistor on the picture).

I have Apache web server on the RPi and I'm using WUSB54GC wifi dongle to transmit the temperature over the internet :)


-----------------------------------------------------------------------------------------------------------------