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 Need 10 minutes from an Arduino Expert
  • 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 34 replies
  • Subscribers 394 subscribers
  • Views 2245 views
  • Users 0 members are here
  • arduino
Related

Need 10 minutes from an Arduino Expert

gub11
gub11 over 10 years ago

Having some noob trouble with a sketch, and an arduino uno, i'm sure anybody with more knowledge than me could help.

add me on skype, gabe.spound2

  • Sign in to reply
  • Cancel

Top Replies

  • Robert Peter Oakes
    Robert Peter Oakes over 10 years ago in reply to gub11 +2
    The people trying to help here are all over the world.. literally so many different time zones, we get to respond when we have a moment from our busy lives and as a principal we dont skype etc, this would…
  • Robert Peter Oakes
    Robert Peter Oakes over 10 years ago +1
    Can you please simply post your issue here with sketch, diagrams and description of the problem then many folks will be able to help and then the answer will also help many
  • mcb1
    mcb1 over 10 years ago in reply to gub11 +1
    gub11 Okay so you've included the code for the LED. What about including what you did for the relay. Note to include code paste the code, then select it. Click on the >> and then select Syntax highlighting…
  • Robert Peter Oakes
    0 Robert Peter Oakes over 10 years ago

    Here is some videos I created a while back for some projects I was working on, look at blog entry 8, 9 and 10

    Peter

     

    The Electronic Referee

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

    BTW, Bad form to mark your own answer as the correct one, especially when you dont know why it worked?, there are many folks that have provided "Helpfull" Answers and possibly "Correct" Ones too!, please give them some credit

     

    Now to the isue at hand

     

    The reason it may work at 3v3 is that less power is being drawn through the relay and by inference, the Arduino output pin, with the appropriate intermediate driver it wont matter if it is 3v3 or 5V

     

    The videos I linked in earlier should help explain that

     

    Peter

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

    Hi Peter,

     

    If my interpretation of his Fritzing layout was correct the relay was getting its power from the Pin 2 of the Arduino being written HIGH. This would still be a load on the 5 volt power to the uP. Changing the power to the bread board to 3V3 only affected the microphone and LED voltage supply. I do believe it better isolated A0 from the spike that the relay coil had to be creating on the 5 volt rail.

     

    As far as the self pat on the back I suspect he just didn't know how things work on the E14 site. A new person is hit with a lot of new stuff to deal with. Fact is he took a bit of negativity and just continued to try to supply the information requested in a positive manner. I say welcome to Gabriel and I hope he sticks around and contributes to the site.

     

    John

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Robert Peter Oakes
    0 Robert Peter Oakes over 10 years ago in reply to jw0752

    you may well be correct there, I was only going from the email part of the description and did not look at the schamatic, either way the Arduino should not be driving a relay directly, not at any voltage

    • 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