element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Members
    Members
    • Benefits of Membership
    • Achievement Levels
    • Members Area
    • Personal Blogs
    • Feedback and Support
    • What's New on element14
  • Learn
    Learn
    • Learning Center
    • eBooks
    • 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
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Dev Tools
    • Manufacturers
    • Raspberry Pi
    • RoadTests & Reviews
    • Avnet Boards Community
    • Product Groups
  • 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
Personal Blogs
  • Members
  • More
Personal Blogs
Legacy Personal Blogs Aaaaaargh!
  • Blog
  • Documents
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Blog Post Actions
  • Subscribe by email
  • More
  • Cancel
  • Share
  • Subscribe by email
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: sasquatch84
  • Date Created: 29 Aug 2017 11:36 PM Date Created
  • Views 674 views
  • Likes 0 likes
  • Comments 17 comments
Related
Recommended

Aaaaaargh!

sasquatch84
sasquatch84
29 Aug 2017

So I got everything hooked up/soldered together and it was all working great.  The relay was clicking on when I wanted it to.  The power supply had everything going without any smoke or flames.  And then I hooked up the solenoid valve to the relay.  It clicked on once and then the relay stopped working.  The light on the Nano is still on and yet the relay light is no longer blinking.  I guess I should see if there is any voltage coming from pin 8 (the one hooked up to the relay. 

The solenoid power was coming directly off of the power supply, not from the Nano.  Should I have put  a diode in there somewhere?  I'm really new to electronics as I am a logger.  image

  • Sign in to reply

Top Comments

  • jw0752
    jw0752 over 5 years ago in reply to sasquatch84 +3
    Hi Clinton, Here is a link with some info.: https://electronics.stackexchange.com/questions/110574/how-to-choose-a-flyback-diode-for-a-relay The diode goes across the contacts of the solenoid with in a…
  • jw0752
    jw0752 over 5 years ago +2
    Hi Clinton, If the power supply was supplying the solenoid as well as the Nano then it would be a good idea to have a flyback diode across the solenoid. In fact it is probably always a good idea to have…
  • dougw
    dougw over 5 years ago +2
    It looks like the relay card has opto isolators so the arduino output is protected. However the solenoid and relay will both generate spikes on the power supply when they turn off. This could damage the…
  • sasquatch84
    sasquatch84 over 5 years ago in reply to ntewinkel

    I was born in Port Alberni.  I've lived about a third of my life on the Island.  the most recent was 10 years in Lake Cowichan.  I moved to Sicamous last year.  Logging is much easier and drier around here!

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • sasquatch84
    sasquatch84 over 5 years ago in reply to shabaz

    Yes, I used my multimeter and that was the positive side.;)

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • shabaz
    shabaz over 5 years ago

    Hi Clinton,

     

    I think this could be the issue, although it is a guess:

    image

    It looks like the black wire with white stripe is connected to the 'VIN' pin, if the proto-board has copper tracks running in the usual direction. Often the stripe means the '0V' wire however. But, this isn't always the case. Do you have a multimeter (or an LED and resistor) to confirm that it is really the positive connection, and not 0V? The rest of the wiring looks ok to me, but I've not used this relay board or Arduino.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • ntewinkel
    ntewinkel over 5 years ago in reply to sasquatch84

    >I live in BC.

    Even better! I'm on Vancouver Island (Comox). The reason I guessed Northern Alberta is because I went to school there with a few Horsmans image

    Very cool to meet someone on e14 closer to home image

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • sasquatch84
    sasquatch84 over 5 years ago in reply to ntewinkel

    I live in BC. 

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • 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 © 2023 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

  • Facebook
  • Twitter
  • linkedin
  • YouTube