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 4 Channel 12V relay system issues.
  • 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
  • State Verified Answer
  • Replies 33 replies
  • Answers 2 answers
  • Subscribers 395 subscribers
  • Views 7566 views
  • Users 0 members are here
Related

4 Channel 12V relay system issues.

screamingtiger
screamingtiger over 10 years ago

mcb1

I bought this relay system and it doesn't work 

http://www.ebay.com/itm/231573073495?_trksid=p2057872.m2749.l2649&ssPageName=STRK%3AMEBIDX%3AIT

 

Its a 12V relay system so I have to use 12V into the VCC and the input pins are driven by 5V.  So I connect 5V in, the relays trip.  The code is simple, digital high and low with a 1 second delay.  Pins are output.

The little LEDS turn off and on as expected but the relays do not trip.  I don't have a load on them but should not matter.  If I use 12V as required into the VCC, the leds only turn on, then go dimmer, never off.

I have a common ground between the arduino and relay board as well.

 

What is going on?

 

I went ahead and 2nd day aired a 5v version, I will just run it off the same regulator as the arduino.  Anybody have any experience with these?

 

<body><p>I bought this relay system and it doesn't work  <img ___jive_emoticon_name="sad" class="jive_macro jive_emote" jivemacro="emoticon" src="http://www.element14.com/community/images/emoticons/sad.gif"/></p><p><a href="http://www.ebay.com/itm/231573073495?_trksid=p2057872.m2749.l2649&ssPageName=STRK%3AMEBIDX%3AIT">http://www.ebay.com/itm/231573073495?_trksid=p2057872.m2749.l2649&ssPageName=STRK%3AMEBIDX%3AIT</a></p><p></p><p>Its a 12V relay system so I have to use 12V into the VCC and the input pins are driven by 5V.  So I connect 5V in, the relays trip.  The code is simple, digital high and low with a 1 second delay.  Pins are output.</p><p>The little LEDS turn off and on as expected but the relays do not trip.  I don't have a load on them but should not matter.  If I use 12V as required into the VCC, the leds only turn on, then go dimmer, never off.</p><p>I have a common ground between the arduino and relay board as well.</p><p></p><p>What is going on?</p><p></p><p>I went ahead and 2nd day aired a 5v version, I will just run it off the same regulator as the arduino.  Anybody have any experience with these?</p></body>
  • Sign in to reply
  • Cancel

Top Replies

  • mcb1
    mcb1 over 10 years ago +2 verified
    Joey Did you remove the jumper .. JD-VCC to VCC ? You apply the 12v to JD-VCC NOT THE VCC PIN The 5v on the VCC pin is to power the Optocouplers ... Also note that these turn on with a LOW so you need…
  • jw0752
    jw0752 over 10 years ago in reply to screamingtiger +2
    Hi Joey, From my experience you will probably find that the 12 V relays will close at about 8 volts and release around 3 or 4 volts. If you have a variable voltage supply you can test this for yourself…
  • mcb1
    mcb1 over 10 years ago in reply to screamingtiger +2
    but I do not have 3.3V any where Many of the optical mice have a 3v3 regulator inside (looks like a transistor) if you want to canabilise something. Some of the Arduino's have a 3v3 regulator onboard…
  • mcb1
    0 mcb1 over 10 years ago

    Joey

    Did you remove the jumper .. JD-VCC to VCC ?

    You apply the 12v to JD-VCC  NOT THE VCC PIN


    The 5v on the VCC pin is to power the Optocouplers ...

     

    Also note that these turn on with a LOW so you need to reverse your ON/OFF code.

    image

     

    image

     

    Typical poor Asian support.

    The indicator LED's on the schamatic are drawn reversed.

     

    Mark

     

         For anyone else reading this, the rest of the conversation went like this.

     

           Joey Thompson Jun 18, 2015 3:16 PM (in response to Mark Beckett)

         Let me see if I understand,

         I need 5V to vcc, and 12V to JD-vcc pin?  What is that jumper for then??

     

                Joey Thompson Jun 18, 2015 3:23 PM (in response to Mark Beckett)

                   Its working now, I have no idea why it does, but I'll take it!  For the opto couplers, do you know the current draw?  I have it connected to a 1A regulator of which I am using 80ma so I assume 920mA is suffice for the opto

                    couplers (all 4).

     

                   Thanks, These are sold all over but seem to be poorly documented, I have used relays but I liked the idea of the opto couplers with the high current throwing around in there.

     

                   Man I owe you, the LEDs and now this.

     

                          Mark Beckett Jun 18, 2015 4:35 PM (in response to Joey Thompson)         

                   What is that jumper for then??

                        Many of these boards have 5v relays BUT you could easily power this from a 12v system.

     

                   For the opto couplers, do you know the current draw?

                        Like most Asian support there is no value for the series resistor.

     

                        However the forward voltage of a LED is approx 1.4v, so 5v - 1.4 (opto) - 1.4 (led) = 2.2v

                        If we assume the resistor is 470 ohms 2.2/470 = 0.0046 or 4.6mA.

                        If the resistor is 220 then about 8mA, for 1k then 2mA.

     

                        Its safe to say you could budget 5mA max for each opto.

     

                        If you want to know how to work it out ....

                        find the datasheet for the opto, and see if you can measure or note the resistor value ...then you can do the maths above ..

                        Man I owe you, the LEDs and now this.

                        So mark my answer correct ... oh you can't its not a question.

                        You haven't found the hidden camera then ...

                        Mark

     

                               Mark Beckett Jun 18, 2015 4:40 PM (in response to Joey Thompson)

                             These are sold all over but seem to be poorly documented,

                             yes but it depends on what supplier you use.

                             Terry King is very good, he always tests and dicuments all his products, and the price is not much more, but guaranteed.

                             Opto-Isolated 4 Channel Relay Board

     

                             Try this page for additional info

                                  http://arduino-info.wikispaces.com/ArduinoPower

                             NOTE the relays on the board are 5v.

     

                             Mark

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Reject Answer
    • Cancel
  • jw0752
    0 jw0752 over 10 years ago in reply to mcb1

    Hi Mark,

    The Asian schematics have a more serious problem than just the reversed diodes as the relay coils are shorted.

     

    Nice clear analysis of the problem.

    John

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • mcb1
    0 mcb1 over 10 years ago in reply to jw0752

    relay coils are shorted

    Well spotted Sir.

     

    Better make John's answer as Helpful ....

     

    mark

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • screamingtiger
    0 screamingtiger over 10 years ago

    I assume the issue is just with the schematics?

     

    I understand a bit now why the jumper is there.  If the relays were 5V, then I only need to connect into VCC and the jump then shorts the VCC to the JD-VCC.  However since I have 12V relays, this jumper is worthless and should not be there.  I must connect 12V to the JD-VCC for the relays to function.

     

    Not very intuitive at all.

     

    The thing I need to figure out is my batter can get as low as 10V, will the relays still fire?  If not I need to get a 5V version.  The 12V was by accident.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • jw0752
    0 jw0752 over 10 years ago in reply to screamingtiger

    Hi Joey, From my experience you will probably find that the 12 V relays will close at about 8 volts and release around 3 or 4 volts. If you have a variable voltage supply you can test this for yourself, just be careful to get the polarity correct so you are not shorting your power supply through the flyback diode.

    John

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • screamingtiger
    0 screamingtiger over 10 years ago in reply to jw0752

    These do not function at all at 5V nor 6.6V for if they did I would not of had any issues  image  It works well at 11.5.

     

    Thanks for the info, I will give it a try and report back.

     


    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • mcb1
    0 mcb1 over 10 years ago in reply to screamingtiger

    These do not function at all at 5V nor 6.6V for if they did I would not of had any issues

    Did you have the jumper ON at the time ....?

     

    jw0752 is quite right they will likely still work at 8v.....

     

    Mark

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • screamingtiger
    0 screamingtiger over 10 years ago in reply to mcb1

    Yes the jumper was on.  Believe me I tried nearly everything except connecting to the JD-VCC.


    What is JD anyways?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • balearicdynamics
    0 balearicdynamics over 10 years ago in reply to screamingtiger

    Hi Joey,

     

    I have no idea what does it means JD but I am sure someone has and will answer soon. Instead I was thinking to the problem of the relay working at 12 VCC In this case you can use - I think you have - a separate VCC voltage to drive the relays, i.e. ULM2003 with obviously the common GND with the board. So when you enable the darlington with the low VCC the external 12VCC closes the circuit and "click" the relay. It's a bit complicated as you add one more component but you save the accidental relays board without the need of a replacement. Take in account that ULM2003 is sufficient as it should not drain too much power as it is only to switch the relay while the power is managed independently by the other side of the relay.

     

    Let me know if you need a sample darlington usage schematics with arduino.

     

    Enrico

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • mcb1
    0 mcb1 over 10 years ago in reply to balearicdynamics

    balearicdynamics

    Enrico

     

    It's been covered here

    http://www.element14.com/community/message/152954/l/re-4-channel-12v-relay-system-issues#152954

    • 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