davidanddiesel
Posts: 15
Joined: Sun Jan 18, 2015 4:03 am

Can you wirelessly transmit GPIO signals.

Thu Jan 29, 2015 2:30 am

So let's say that I want to put a GPIO temperature sensor outside, and have a Raspberry Pi inside with an lcd attached to it reading the GPIO signals and displaying them to the lcd. I do not want to place my pi outside as I am measuring overnight in very low temperatures, plus the added convenience of not having to go outside to look at the display. Any help would be appreciated.

User avatar
mikronauts
Posts: 2783
Joined: Sat Jan 05, 2013 7:28 pm
Contact: Website

Re: Can you wirelessly transmit GPIO signals.

Thu Jan 29, 2015 3:25 am

Temperature sensors generally fall into one of three categories:

I2c - four wires, Vcc, Vss, SDA, SCL
1wire - three wires (as I recall), Vcc, Vss, IO
analog - three wires Vcc, Vss, analog output

I2C can be 1m-5m away without issues at 100khz

I don't use 1wire sensors, so I don't know the range

analog should work with a 1m cable without amplification, however it will be noisy and less accurate

There is no such thing as wireless GPIO.

Your best bet would be to put an Arduino (or similar) outside with the sensor, then run RS232 or RS485 back to your Pi.
http://Mikronauts.com - home of EZasPi, RoboPi, Pi Rtc Dio and Pi Jumper @Mikronauts on Twitter
Advanced Robotics, I/O expansion and prototyping boards for the Raspberry Pi

W. H. Heydt
Posts: 12648
Joined: Fri Mar 09, 2012 7:36 pm
Location: Vallejo, CA (US)

Re: Can you wirelessly transmit GPIO signals.

Thu Jan 29, 2015 3:28 am

Or put a Pi (perhaps a model A+) outside with the sensor and a WiFi dongle and something else--perhaps another Pi--inside to receive the signals.

ame
Posts: 3172
Joined: Sat Aug 18, 2012 1:21 am
Location: New Zealand

Re: Can you wirelessly transmit GPIO signals.

Thu Jan 29, 2015 4:48 am

Use a one-wire sensor and a wire.

If you want to do it wirelessly then you need a powered "thing" such as an Arduino, which means batteries or some such.

User avatar
rpdom
Posts: 17172
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: Can you wirelessly transmit GPIO signals.

Thu Jan 29, 2015 6:48 am

One wire sensors like the DS18B20 work at a good range of many metres. I have one outside my house on a 2m length of wire. These sensors are cheap and only need one additional component to work with a Pi.


PiGraham
Posts: 3932
Joined: Fri Jun 07, 2013 12:37 pm
Location: Waterlooville

Re: Can you wirelessly transmit GPIO signals.

Thu Jan 29, 2015 8:26 am

davidanddiesel wrote:So let's say that I want to put a GPIO temperature sensor outside, and have a Raspberry Pi inside with an lcd attached to it reading the GPIO signals and displaying them to the lcd. I do not want to place my pi outside as I am measuring overnight in very low temperatures, plus the added convenience of not having to go outside to look at the display. Any help would be appreciated.
There are lots of wireless weather stations around that use 433MHz radio to transmit temperature and humidity from a remote sensor to a base station. It should be possible to receive signals from such a sensor with a 433MHz radio receiver attached to a GPIO input.

Some sensors are listed here: http://www.weather-station-products.co.uk/sensors
You may be able to find cheaper.

Here's a tutorial that might help (I haven't read it!)
http://www.princetronics.com/how-to-rea ... -receiver/

Return to “General discussion”