element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • 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 Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • 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
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • 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
Arduino
  • Products
  • More
Arduino
Arduino Forum Multiple signals to same pcb?
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Arduino to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 9 replies
  • Subscribers 393 subscribers
  • Views 633 views
  • Users 0 members are here
Related

Multiple signals to same pcb?

Former Member
Former Member over 10 years ago

Hi, so I have little pcb with 2 leds and 2 switches on it.  A common wire goes to one side of all of 4 items and a single wire goes to other side of each item, for a total of 5 wires.  In addition, there is what looks like a resistor connecting both sides of the leds.  My issue is that to get an led to light up, I have to connect the common wire to the signal of pin 12, for example, and the individual wire for that led to ground.

 

This is causing great confusion and pain and suffering on my end.  I presume that I can not connect the signal of 4 different arduino pins to the common wire on the pcb without doing something else, if at all?  I can connect the switches normally, but I presume using the same connection as both signal for the switches and ground for the leds will also not be a good idea.  Anyway, board designed and engineered precisely and replicating with different wiring would be very difficult for me.  Thanks for any advice!

  • Sign in to reply
  • Cancel

Top Replies

  • Robert Peter Oakes
    Robert Peter Oakes over 10 years ago +1
    you may have something like this (Based on description) hope this helps did you make the board yourself and are having difficulty getting it to work or is it a bought product? can you provide a picture…
  • 4ringfan
    4ringfan over 10 years ago

    Joe,

     

    Is your intent to push button #1 and have LED #1 light up, and/or press button #2 and have LED #2 light up?  What exactly are you trying to accomplish?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 10 years ago

    Maybe I can just cut that little resistor and make the common wire +5v for all and then put my own resistors from the signal wires to ground for each of them?  Thanks again.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 10 years ago in reply to 4ringfan

    If I connect the common wire to 4 different arduino pin signal wires, then is that problem? Reason being they may be active at the same time, so having two signal wires connected to the same circuit and each signaling at same maybe time burn something out?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Robert Peter Oakes
    Robert Peter Oakes over 10 years ago

    you may have something like this (Based on description)image

    hope this helps

     

    did you make the board yourself and are having difficulty getting it to work or is it a bought product?

     

    can you provide a picture or a schematic like the one i just provided but showing how you have the parts connected

     

    thanks

     

    oh and post your sketch so we can see what your trying to do in the code as well

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • 4ringfan
    4ringfan over 10 years ago in reply to Robert Peter Oakes

    I was going to mention the resistors on the switches because I didn't recall Joe mentioning them in his first post, but I stepped away to eat some chicken pot pie instead.

     

    What app are you using to make your whiteboard drawings, Peter?  Something on a surface I take it?  I don't suppose there is a copy cat app for my iPad.  I like it.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 10 years ago in reply to 4ringfan

    The board was connected to another proprietary computer that I am trying to replace.  Right now it is like the diagram below, and I can connect one led to a pin, e.g. pin 12, as shown.  If I switch the wires, so the common wire is ground, then the led doesn't work.  Actually now that's making me think those are diodes, and not resistors.  Regardless, what I don't know is if I can connect the Pin12 wire to Pin11 also, and then both the other wires to ground, or that zap something.  I'm thinking now the safest thing is to just cut the pcb and separate everything and solder new wires to make 4 separate circuits.

    image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • 4ringfan
    4ringfan over 10 years ago in reply to Former Member

    It would help to know what you are intending for the two buttons and two LEDs to do.  I think you are definitely going to need to re-wire the board.  As drawn, the schematic, to me at least, looks wrong.  Can you get us a picture of the existing PCB, preferably both sides?  Maybe we can give you direction on what needs to change to make it work.  LEDs are diodes and they only work in one direction.  If you look carefully at the Light Emitting Diode, one side of it should be flat.  That side is the cathode and it should go to ground and on one side or another you need a resistor, otherwise the LED can go POP.  The resistor should be about 560 Ohms in a 5V circuit for an LED.  There is an excellent book by Massimo Banzi "Getting Started with Arduino".  You might want to check it out.  He has a few examples that would be helpful for you.

     

    image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • gadget.iom
    gadget.iom over 10 years ago in reply to Former Member

    Looking at those diodes, the only way I could see that board working is by connecting the common wire to GND.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 10 years ago

    Here is the board.

     

    image

     

    But I am looking at Mike's led pic and thinking maybe I didn't understand how leds work, which is to say that full current doesn't flow through the led, if at all, but current flows more around the led so to speak and stuff happens between the two sides and the resistor limits the current going around the two sides so not too much stuff happens between the two sides or poof?  So they are resistors and they aren't in parallel, they just look like they are.

     

    So getting back to my original question, thinking now even if bad stuff doesn't happen between the arduino pins, it's moot because both leds would light up on either signal because arduino has individual positive and common ground, whereas the proprietary computer this board was connected to clearly has individual ground and common positive.  That means I either have to turn the led's around to change the common to ground or cut this thing and add more wires.

     

    Anyway, anyone feel free to correct me if any of that sounds wrong.  Also any ideas are welcome.

     

    Thanks again for all your help!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • 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