logo elektroda
logo elektroda
X
logo elektroda

Connection of 3.3V PIR sensor on 15-20m cable - interference, voltage drops

Michal8883 993 8
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 21550677
    Michal8883
    Level 5  
    Posts: 135
    Rate: 11
    Is it possible to connect a 3.3v pir sensor on a 15-20m cable without any problems or will there be any problems?
  • ADVERTISEMENT
  • Need sensor, receiver, and cable details

    #2 21550731
    viayner
    Level 43  
    Posts: 10638
    Help: 1563
    Rate: 2053
    Hello,
    it is impossible to give a clear answer:
    - what is the sensor and what is the output signal? What is the output?
    - What is the receiver of this signal? What signals are expected on the receiving side?
    - what cable do you want to use? How routed? The presence of any interference?
    This is as a starting point.
    20 m is already quite a lot for digital signals, but to light up an LED is not a problem.
    Such a cable will bring a lot of delay to the signal edges, so here is the first potential problem.
    Inducing interference and lowering signal levels, meaning it can be difficult to detect whether it's an L, H or Z state.
    With such a long cable it is more likely that the output should be OC/OD type and loaded on the receiver side.
    Regards
  • #3 21550957
    Michal8883
    Level 5  
    Posts: 135
    Rate: 11
    And the use of a relay and a 12v pir sensor
  • ADVERTISEMENT
  • Helpful post
    #4 21550998
    78db78
    Level 43  
    Posts: 10687
    Help: 1817
    Rate: 3289
    >>21550957 a signal across the relay contacts will take care of the matter.
  • ADVERTISEMENT
  • #5 21555806
    Michal8883
    Level 5  
    Posts: 135
    Rate: 11
    I was still thinking about the PC817 2 4 8 channel optocoupler isolation board voltage converter adapter module driver 3.6-30V photoelectric isolated module
    https://a.aliexpress.com/_EyBMzVk

    I don't know if it wouldn't be better than a relay?
  • ADVERTISEMENT
  • Need cable and receiver details before choosing voltage

    #6 21555969
    JacekCz
    Level 42  
    Posts: 8670
    Help: 760
    Rate: 1464
    @Michal8883

    You have not picked up the lifebelt given >>21550731 .
    What is the cable, how many wires, can you separate power and signal or not, what is the receiver ?
    You are treating a problem, but you yourself have not well defined what kind of problem.

    If (I infer from the posting in the section) an ESP32 is to mate with this, then 12V or 36V is of no use to you (without additional investment)
  • #7 21556095
    Michal8883
    Level 5  
    Posts: 135
    Rate: 11
    JacekCz wrote:
    @Michal8883

    You have not picked up the lifebelt given >>21550731 .
    What is the wire, how many wires, can you separate power and signal or not, what is the receiver ?
    12v pir good.
  • #8 21792354
    Michal8883
    Level 5  
    Posts: 135
    Rate: 11
    I want to connect a 3.3v sensor to the Olimex ESP32-POE-ISO-EA Development Board and run an Ethernet cable 30-50m. To the PoE switch and manage it. Will such a design work? Finally a second esp and a raspberry pi zero 2w with touch screen for management.
  • #9 21799169
    waltersalata
    Level 26  
    Posts: 734
    Help: 66
    Rate: 291
    Michal8883 wrote:
    I want to connect a 3.3v sensor to the Olimex ESP32-POE-ISO-EA Development Board and run a 30-50m Ethernet cable. To the PoE switch and manage it. Will such a design work? Finally a second esp and a raspberry pi zero 2w with touchscreen for management.


    Connect like this.

Topic summary

LABEL_AI_GENERATED
The discussion concludes that a 3.3 V PIR sensor over a 15–20 m cable cannot be judged reliably without knowing the sensor output type, receiver input requirements, cable type, routing, and interference conditions. Long cable runs can cause edge degradation, signal delay, voltage drop, and noise pickup, making logic levels difficult to detect. A relay contact or open-collector/open-drain interface is suggested as a more robust way to transmit the PIR signal over distance. Later, the use case is clarified as connecting a 3.3 V sensor to an Olimex ESP32-POE-ISO-EA board over 30–50 m of Ethernet cable, with PoE and additional ESP32/Raspberry Pi Zero 2 W management, but the final advice remains only a brief “connect like this” without further detail.
AI summary based on the discussion. May contain errors.
ADVERTISEMENT