wizzor
Posts: 3
Joined: Wed Jul 24, 2013 7:13 am

Using simple (arduino) sensors in the GPIO bus

Wed Jul 24, 2013 7:34 am

Hi all,
This is my first post so pardon (but correct) any faux pas I may commit.

I'm building a remote control framework for the Pi and will need to connect a number of sensors in the GPIO pins on the board.
Something like the following would be very nice:
https://dx.com/p/high-sensitivity-ir-re ... ino-152264
https://dx.com/p/vibration-switch-senso ... ino-150406
https://dx.com/p/arduino-compatible-3-p ... red-144386

Most of these are built to be powered at 5V (some of them also work at 3, like the vibration switch)

As I understand it, the GPIO pins are rated for 3.3V, except for the ones for powering stuff.

My question is: is it possible to use the 5V sensors on the Pi's GPIO pins, without resorting to intermediary boards? What kind of electronics would I need to build for this purpose?

I imagine many are wondering why won't I just use either the Arduino or intermediary Arduino-compatible boards in the first place. The reason for that is cost. The goal of the project is to add a bunch of sensors to the Internet via an easy-to-use extensible framework. I want to add many of these units around the house and form factor and cost are key here. As for why not Arduino is simply that programming a web-capable easily extensible system in C is beyond my capabilities.

Thanks for your help! If I get this working, I'll post the results and source code for y'all.

Return to “Beginners”