jklondon
Posts: 23
Joined: Thu Dec 31, 2015 1:58 pm

Cheap wifi temperature logger

Thu Dec 31, 2015 2:02 pm

Hi - looking to create a small cheap temperature logger that streams to the internet.

What components can I use to create this, ideally no soldering if possible?

Thanks
JK

User avatar
DougieLawson
Posts: 38883
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Cheap wifi temperature logger

Thu Dec 31, 2015 5:13 pm

Common one is a DS18B20. You can use a solderless breadboard and some dupont wires to connect that to 3V3, GND and GPIO04 on your RPi.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

User avatar
AiGreek
Posts: 229
Joined: Sun Dec 06, 2015 7:44 pm

Re: Cheap wifi temperature logger

Thu Dec 31, 2015 5:22 pm

DHT22 with python and SQLite (or MySQL)

morticiaskeeper
Posts: 101
Joined: Mon Aug 27, 2012 6:05 pm

Re: Cheap wifi temperature logger

Thu Dec 31, 2015 8:56 pm

I use a couple of DS18B20 sensors on a Pi2, recording to a SQLite database. Then a cgi script to present and graph the data over the web.

It was all built and tested on a PiZero if you want to go smaller.

This is the instruction I followed

http://raspberrywebserver.com/cgiscript ... ogger.html

jklondon
Posts: 23
Joined: Thu Dec 31, 2015 1:58 pm

Re: Cheap wifi temperature logger

Thu Dec 31, 2015 9:44 pm

Thanks - DHT22 seems way forward - found a good tutorial here https://www.youtube.com/watch?v=IHTnU1T8ETk although if someone knows a better one for beginner pls shout. I assume this could work on pi zero if I can find one!

morticiaskeeper
Posts: 101
Joined: Mon Aug 27, 2012 6:05 pm

Re: Cheap wifi temperature logger

Fri Jan 01, 2016 7:08 pm

I'm sure that will work on the PiZero, but it doesn't seem to show how to stream it to the web.

The link I gave above logs the temperature to a SQLite database.

at the bottom of the page is another link which shows you how to read the database over the web.

Return to “General discussion”