SeppPi
Posts: 13
Joined: Sat Sep 30, 2017 2:30 pm

Send DS18B20 data thru router 'directly'

Mon Oct 02, 2017 6:16 am

Hello, would the following be possible?

- from the temperatur sensor DS18B20 directly into the ethernet port of a router? The answer is no, but which interface could I use to send the data from the sensor to the router, without the Pi?

I have a weekend cottage, where I want to control some temperatures. I have a router there, with connection to the internet. But I would like to spare my Pi for home.

Any ideas?

Greetings

DirkS
Posts: 9872
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: Send DS18B20 data thru router 'directly'

Mon Oct 02, 2017 4:41 pm

Use a cheap ESP8266 module or something like that. You can easily program it to read the DS18B20 data and then send it to anywhere you want.

timrowledge
Posts: 1270
Joined: Mon Oct 29, 2012 8:12 pm
Location: Vancouver Island
Contact: Website

Re: Send DS18B20 data thru router 'directly'

Mon Oct 02, 2017 5:17 pm

Go to wemos.cc
Buy a D1 mini pro and an SHT30 shield - total price around $10.
Wait for delivery.
Use Arduino IDE and install the ESP8266 support.
Load SHT30 and Mqtt libraries.
Find an example of reading the SHT, and hack together with mqtt.
Power from an old iPhone charger (because it has USB socket)
Send data to some mqtt broker.

There’s plenty of doc etc around the web.
Making Smalltalk on ARM since 1986; making your Scratch better since 2012

Return to “General discussion”