element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
    About the element14 Community
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Raspberry Pi
  • Products
  • More
Raspberry Pi
Raspberry Pi Forum Raspberry Pi 4 GPIO Leakage Voltage (1.2V) When LOW on Relay Module
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
Raspberry Pi Wishlist
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 8 replies
  • Subscribers 699 subscribers
  • Views 692 views
  • Users 0 members are here
Related

Raspberry Pi 4 GPIO Leakage Voltage (1.2V) When LOW on Relay Module

emreeyy
emreeyy 1 month ago

Hi everyone,

I am using a Raspberry Pi 4 Model B to control industrial 24V relay modules. However, I am not using an external 24V power supply; instead, I am routing the Pi's own 3.3V pin to the common power rail of the relays to use them as simple mechanical switches for 3.3V signals.

I have wired the Raspberry Pi GPIO pins directly to the relay signal inputs via a simple terminal block breakout board (no transistors or optocouplers are used yet).

The Problem:

 When the GPIO pin is ⁠HIGH⁠, I read exactly 3.3V on the line, which is correct.

 When the GPIO pin is set to ⁠LOW⁠, instead of 0V, I see a constant 1.2V leakage/floating voltage on the multimeter.

There is currently no common ground (GND) connection between the Raspberry Pi and the panel's internal structure. I suspect this 1.2V is due to a floating ground issue or feedback leakage through the relay's internal coil/status LED.

What is the best way to eliminate this 1.2V leakage and get a clean 0V when the pin is LOW? Should I use an optocoupler module (like PC817) or a transistor driver?

Thanks in advance!

  • Sign in to reply
  • Cancel
Parents
  • geralds
    0 geralds 1 month ago
    emreeyy said:

    Wenn der GPIO-Pin HOCH ist, messe ich genau 3,3 V auf der Leitung, was korrekt ist.

    Wenn der GPIO-Pin auf LOW statt 0V eingestellt ist, sehe ich eine konstante 1,2V-Leck-/Schwimmenspannung am Multimeter.

    Look here: https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#gpio-pads-control

    most of the port pin are tri-stated pins.

    Yes, it means that the pin can have 1.2V - the middle of the supply voltage as well as meaning this state is in "high-Z".

    This is NOT a "leakage".  Wink

    Z = Impedance in (k)Ohm.

    This function is a very important function if you want to use that pins with different jobs.

    Such port can be driven in: "switched on" (sending high to the output), "h-Z" (the software let the port "swimming"), "switched-off (sending low to the output)

    Gerald
    ---

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • geralds
    0 geralds 1 month ago
    emreeyy said:

    Wenn der GPIO-Pin HOCH ist, messe ich genau 3,3 V auf der Leitung, was korrekt ist.

    Wenn der GPIO-Pin auf LOW statt 0V eingestellt ist, sehe ich eine konstante 1,2V-Leck-/Schwimmenspannung am Multimeter.

    Look here: https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#gpio-pads-control

    most of the port pin are tri-stated pins.

    Yes, it means that the pin can have 1.2V - the middle of the supply voltage as well as meaning this state is in "high-Z".

    This is NOT a "leakage".  Wink

    Z = Impedance in (k)Ohm.

    This function is a very important function if you want to use that pins with different jobs.

    Such port can be driven in: "switched on" (sending high to the output), "h-Z" (the software let the port "swimming"), "switched-off (sending low to the output)

    Gerald
    ---

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube