I am able to connect sensors using the GPIO pins.

My Question is:

Is there any possible way to connect any kind of sensors to the raspberry pi via Bluetooth or wifi?

And get the data via the same!

  • use wifi enabled sensors - OK that's vague, but what type of sensors are you wishing to connect? – Jaromanda X Jul 15 '16 at 10:47
  • any kind, like temperature, tachometer, motion, etc can you link me any? – johnrao07 Jul 15 '16 at 10:48
  • I was kidding about wifi enabled sensors - you have to make them yourself - e.g. I have a bunch of ESP8266's with temperature, humidity and/or barometric pressure sensors which send data to a Rpi – Jaromanda X Jul 15 '16 at 10:52

It's unlikely that a 'normal' sensor module would have a wireless interface baked in. That would massively increase its cost while appealing to a relatively small market segment.

The cheapest, easiest method I'm aware of for adding wireless capabilities to sensors is to use an ESP8266 module, which is basically an Arduino with a WiFi antenna. The entry level modules (ES01) are available for a little over £1/unit from China via Ebay. You would connect sensors to the ESP8266 GPIO pins, relay the data over WiFi, and from there the easiest route to communicating with them would be with something like a Flask program run on the Pi.

  • Don't get the 01 if you want to connect anything too complex, i.e. SPI or I2C connections - I'd recommend the 12F, 12E or 07 at least – Jaromanda X Jul 15 '16 at 10:52
  • 1
    The larger/slightly more expensive modules will definitely make life easier, but it is possible to run I2C on an ES-01: instructables.com/id/How-to-use-the-ESP8266-01-pins/step2/… . – goobering Jul 15 '16 at 10:55
  • the additional 9 resistors all but nullify the size difference :p – Jaromanda X Jul 15 '16 at 11:20
  • No argument there. Still, I think, cheaper, but definitely not the easy route. – goobering Jul 15 '16 at 11:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.