I am using a raspberry pi and a dht22 sensor to control a humidifier. I need the sensor to be at the opposite end of the room. how can I get accurate readings from 20ft away. I only have the small 4 inch connector cables to the gpio right now. Would I just need to buy some wire and solder it?
Id like to use the rPi instead of a humidistat because im tight on funds.
Let me elaborate. The pi is in another room and I need to run the sensor to my humidifer at the opposite end of the bigger room.
Jack Bailey
either build yourself a 20ft cable or go this way: mysensors.org/
Jaxon Edwards
how do you connect to your humidifier? if you use a relay, put your pi and dehumidifier close together and just buy the wire that connects to the high voltage to be 20ft
Aaron Price
yes I am using relay. The room will be 90% Relative humidity so I want raspberry pi in my aircondition room. The room the humidifer is in is 8'x11'
Levi Moore
>The room will be 90% Relative humidity so I want raspberry pi in my aircondition room. it doesnt fuckin matter, nigger.
Jeremiah Jones
okay thanks I will just replace my rpi every other day.
Ayden Fisher
oops i meant put the pi and the sensor close together
Noah Williams
Well no, because it wont die?
Oliver Bailey
Get a cheap (~7$) esp8266 wifi chip. Connect it to your wifi. Program it to read the sensor data and post it to a webserver running on your pi.
Justin Reed
I will also have an overhead misters. I need a way to have it connected to monitor,keyboard,mouse I have a program that logs data and graphs it and allows farm control. The room is in my detached garage. I have a wifi chip for it but Ive tried vnc server and the connection constantly cuts out.
Dylan Parker
...
Leo Sanchez
you growing 420 bro?
Charles Moore
no its illegal here.
Isaiah Barnes
You could try using infared signals to relay it
John Fisher
Making a post with temperature and humidity every few seconds will require far less of the network than vnc. You'll have to figure oit for yourself how to do it though which is hard without any experience I guess. Depends on what languages you're comfortable in. Afaik the esp toolkit has some built in functions for http posting so thay should be easy. On the pi you'd run an http server that works with a language you're comfortable with. Nginx with python should be fairly straightforward and lightweight. You could even build on your project by creating some kind of web interface to control the sustem.
Luke Sanders
my garage is so far away that the usb wifi antenna I bought hardly connects and I need to leave the garage door open for it to work. I may just have to buy a high powered antenna.
Brody Ross
>90% humidity >not weed what the fuck man?
Jack Wood
Or stop growing pot you degenerate fuck.
Oliver Wood
buy an (arduino programmable) ESP8266 (~2$) and connect that thing directly to your wifi.
Elijah Morgan
I already have a wifi antenna. The goal is to have all the computer equipment in the low humidity room and a sensor in the high humidity room roughly 16' away.
Nathan Gomez
that's not an antenna, it's a programmable microcontroller with wifi and full TCP/IP stack.
Lucas Lewis
raspberry pi already has wifi? I dont understand what youre getting at.
Justin Evans
You can attach a ghetto antenna on the ESP8266. There are online tutorials on it. Alternatively you could use an Arduino with Ethernet Shield or another Ethernet module and pass an ethernet cable to your garage if you have some.
William White
ESP allows you to send data through wifi. It can act as an access point or connect to an already existing wifi network. Then you could read sensor data with ESP (it's programmable) and send it to your raspberry server through wifi.
Jaxon Brooks
fuck off pot head
Nathaniel Hughes
These sensors are fucking shit. I used them for a project once and its value changed wildly.