So I'm getting into GPIO and the first thing I want to do is connect a sensor and a RF controller. The thing is both 'sensors' require the same GPIO pins, so my question is can I still use both with a breadboard?

The RF sensor requires GPIO pins 1 to 26 and the sensor requires a 3.3v power pin, a ground pin and a GPIO pin so basically all Id need to do is use a different GPIO pin and ground pin for the sensor but what about the 3.3V power pin since its already being used by the RF controller?SensorRF board

  • 1
    Duplicate of Connect 2 different sensor to same ground, and yes, your sensors can share the same ground and 3v3
    – abolotnov
    Sep 24, 2019 at 22:09
  • @abolotnov so as long as I have enough GPIO pins I could theorically connect as many sensors as I want?
    – user109461
    Sep 24, 2019 at 22:22
  • Well, kinda - whatever you connect drains power, you want to remember that
    – abolotnov
    Sep 24, 2019 at 22:26
  • 1
    What sensors? What pins?
    – Milliways
    Sep 25, 2019 at 0:25
  • @Milliways I've uploaded the diagrams
    – user109461
    Sep 25, 2019 at 8:34

1 Answer 1


The DHT22 doesn't use a specific protocol, so it can be connected to any GPIO pin not used by another sensor. Assuming your second diagram showing the 26-pin header shows the pins used by your RF sensor as those in lighter green with a label, any of the darker green pins without a label should therefore be fine for the DHT22.

As pointed out in a comment, +3.3V, +5V, and GROUND can be shared between as many devices as needed provided there's enough power for them.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.