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
  • 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
Embedded and Microcontrollers
  • Technologies
  • More
Embedded and Microcontrollers
Embedded Forum Connect the same Digital Input to two different optoisolator boards
  • Blog
  • Forum
  • Documents
  • Quiz
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Embedded and Microcontrollers to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 2 replies
  • Subscribers 475 subscribers
  • Views 323 views
  • Users 0 members are here
  • boards
  • mcu
Related

Connect the same Digital Input to two different optoisolator boards

nikoly
nikoly over 11 years ago

Hi, This is my first post and hope you can clear my doubts  I have about optoisolator boards!

 

I have 2 boards  which acquire singularly  and  correctly 12 v Contact as shown in the image belove :

image

Both boards work with singular connection without problem (first figure)

My problem  is that I want to make them working  with the same digital input  DI . So I decided to make this connection:

 

image

 

At first glance it seems to work because i can see both board make what they are designed for (like in the singular connection)  but I want to be  sure this connection cant give any problem in the future

 

Its important to note that the boards are different and in particular the value of the resistors are different so the total current will be splitted in two but with different amplitude.

 

From my point of view what its important  to consider is  that my power supply  can supply enough current (the total current ) for each board and that my contact can support the total current.

Could you please confirm me my theory ?

Hope you can help

Thanks in advance

  • Sign in to reply
  • Cancel
  • johnbeetem
    0 johnbeetem over 11 years ago

    Looks good to me.  Obviously you have the optoisolator LED grounds connected together and to the +12V ground.  As you say, the +12V supply must provide enough current for both optoisolator LEDs, and the switch must have a DC rating above the combined current.

     

    If you want to be creative, you could connect the optoisolator LEDs in series if they have the same current rating and you can separate the grounds.  Then you'd divide the current through the switch in half and only need a single resistor, cutting power used in half.  If they're different current ratings, you could add a parallel resistor across the lower-current LED so that it matches the higher-current LED.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • nikoly
    0 nikoly over 11 years ago in reply to johnbeetem

    Thanks John for your answer!

     

    The right schematic is the attached one , I forgot to say that Board 1 is powered at 5V while the second one is powered at 12V , but both optoisolator have the same ground (each input ground of each input PCB connector are short to power supply 12V ground )

     

    The second one needs optoisolation (even if powered at 12V)  because I saw the PCB and I found a PIC18f46k20 which works from 1.8 to  3.6V and which (I suppose) is responsible for acquiring DI .

     

    I cant access the two optoisolator leds since they are part of manufactured PCB , only I can do is operate from 12V power supply to each Input PCB connector .

     

    Hope my theory is still valid after this information,

    Thanks again

    Attachments:
    imageopto2.docx
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
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 © 2025 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.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube