0

What hat would be appropriate for attaching 3-5 Ultrasonic sensors like the SR04? For this question, assume I have to use a prebuilt 4-pin F-F dupont style connector.

4
  • What is the hat for? I.e. why aren't you just connecting the sensors directly to the Pi?
    – joan
    Apr 1, 2015 at 17:45
  • probably because I googled and not one hit said that was possible. But even if it was, what 3-5 sets of pins provide gnd, 5V, and 2 digital signals each?
    – Spiked3
    Apr 1, 2015 at 18:02
  • Ground and 5V may be shared between all the sensors. That's just a wiring problem. So you need two gpios per sensor, so 6-10 gpios. You will need resistors to voltage divide the 5V sensor output to a Pi safe 3.3V. I suppose you might find such a hat. It will be expensive as it's likely to be a one-off.
    – joan
    Apr 1, 2015 at 18:10
  • You are not telling me anything I do not know (www.spiked3.com). I have a specific purpose in mind, and a very specific question.
    – Spiked3
    Apr 1, 2015 at 18:38

0

Your Answer

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

Browse other questions tagged or ask your own question.