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 :)


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

1 comment:

  1. can you provide code for putting temp vale to html page

    ReplyDelete