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
Power & Energy
  • Technologies
  • More
Power & Energy
Forum Programmable timer to drive 230V siren for sports ground
  • Blog
  • Forum
  • Quiz
  • Documents
  • Polls
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 3 replies
  • Subscribers 287 subscribers
  • Views 512 views
  • Users 0 members are here
Related

Programmable timer to drive 230V siren for sports ground

Former Member
Former Member over 12 years ago

Hi, I'm new to Arduino and am impressed with the vast array of projects that turn up! I want to make a programmable timer to drive a siren periodically. Basically I want it to drive the siren for a 6 sec blast at set times throughout the day. I have hunted around for a similar project as I'm sure it's been done but am not having any luck. Does anyone know of one that will suit my purpose? Any assistance in being shown where to start would be most appreciated.

 

cheers,

Andy

  • Sign in to reply
  • Cancel
Parents
  • fidelsalinas
    fidelsalinas over 12 years ago

    I'd use a relay and set one of your pins to 5v output on a 6 second loop during the chosen time periods. It's almost the same as the blinking LED

     

    int outPin = 13;


    void setup()

    {

         pinMode(outPin, OUTPUT);

    }


    void loop()

    {

         digitalWrite(outPin, HIGH);

         delay(60000);

         digitalWrite(outPin, LOW);

         delay(time to next trigger);

    }

    connect pin 13 and ground of your arduino to the triggering side of the relay, Then connent the sirens Positive lead to the other two inputs on the relay and ground to it's ground. when your arduino sets the 5v output it acts as a switch conneting the positive line, giving your siren power.

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

    Thanks Fidel,

     

    As I understand it there are three components to this project:

    1. A clock set with the correct date/time
    2. Ability to program times to drive the relay (eg, 8:50am, 9am, 9:20am, 9:30am, 9:50am etc)
    3. The relay

     

    I'm a real newbie starting form the ground up here...

     

    cheers,

    Andy

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • Former Member
    Former Member over 12 years ago in reply to fidelsalinas

    Thanks Fidel,

     

    As I understand it there are three components to this project:

    1. A clock set with the correct date/time
    2. Ability to program times to drive the relay (eg, 8:50am, 9am, 9:20am, 9:30am, 9:50am etc)
    3. The relay

     

    I'm a real newbie starting form the ground up here...

     

    cheers,

    Andy

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
  • fidelsalinas
    fidelsalinas over 12 years ago in reply to Former Member

    yup, thats pretty much the drift of it, adding a real time clock would help for exact times and dates. I hope you get your project up and running and if you run into problems i'm more then happy to help.

     

    regards,

    Fidel

    • 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