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 My Arduino board affected by opening or closing any key to open any lamp in my house
  • 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 1 reply
  • Subscribers 391 subscribers
  • Views 264 views
  • Users 0 members are here
Related

My Arduino board affected by opening or closing any key to open any lamp in my house

isadek
isadek over 8 years ago

hi every body ...

i am an Amateur in electrical engineering  i learned a few thing  about micro controllers and i mad a project

this project about light switch trigger by laser

the project Component of 1- Home made Arduino board 2-home made relay module 3- home made voltage regulator 4-tow 5V 1A adapters 5- laser 6- photo resistor  

the voltage regulator  take the power form the first adapter to supply 4.8V to the voltage regulate to out 4.8V to the laser and the laser pointed to the photo resistor and the adrduino board take the power from the second 5V adapter  looping on when the photo resistor value

less than 750 then switch the relay module to high and delay the code for 10000 M Seconds and then switch the relay to low and end

that is the project    BUT........?

when i installed this project to the real live on stairs fluorescent lamp .... first it takes a while to trigger the relay switch  and the biggest problem i do not know why 

when i open any near by switch to open or closing any of my hows lamp its trigger the relay on and then the rest of the code  continue normally

not this only also when i insert any near by plug

its look like some how connected to electricity  

I Rely Do not know the problem where 

and the schismatic for adrduino board , relay module and voltage regulator attached

cold any body please help me image 

Attachments:
image
image
image
  • Sign in to reply
  • Cancel
  • WarrenW
    WarrenW over 8 years ago

    looking at your circuit diagrams there are several possible causes.

    1. The reset on the micro processor does not look to be correct- the reset pin is pulled low by the switch and R1 is effectively connected across the supply - R1 does nothing!

    2. T1 2N5496 is connected across the power supply and is connected reversed for the voltage - if it is triggered it will short the power supply!

    3. The relay module D1 and LED are wired the incorrect way around. The LED also should have a limiting resistor in series.

    4. The voltage regulator ADJ pin should have the variable resistor to GND and a fixed value resistor to the output. The way this is connected in the drawing will give major power supply fluctuations.

     

    I hope these are drawing errors only and are not what you have built. If they are drawing errors, please redraw and resubmit the updated drawings, taking care with polarity etc and selection of components.

    This will assist us helping you.

     

    Cheers

    Warren.

    • 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