Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

safety switch code

Options
  • 21-11-2017 8:55am
    #1
    Registered Users Posts: 827 ✭✭✭


    Hi all looking for a point un the right direction. I have an arduino mega.
    I want to use it as a safety device.
    If switches 1-5 are all made then the output is high otherwise the output is low.
    Where would i go about finding out how to do this or how much would it cist for someone to write the code for me approx?
    Thanks


Comments

  • Registered Users Posts: 6,250 ✭✭✭Buford T Justice


    Hi all looking for a point un the right direction. I have an arduino mega.
    I want to use it as a safety device.
    If switches 1-5 are all made then the output is high otherwise the output is low.
    Where would i go about finding out how to do this or how much would it cist for someone to write the code for me approx?
    Thanks

    Really? Thats like, maybe two lines of code


  • Registered Users Posts: 9,605 ✭✭✭gctest50


    Could you not just connect sw 1 ---->5 in series ?


    connect to 240v rail to stop people at it


  • Registered Users Posts: 827 ✭✭✭studdlymurphy


    Really? Thats like, maybe two lines of code

    gctest50 wrote:
    Could you not just connect sw 1 ---->5 in series ?

    gctest50 wrote:
    connect to 240v rail to stop people at it


    Where would i get the code or how to start writing it.

    I want the option of using any of the 5 switches so would prefer to have the seperate. But as you say series may still be tge best option.

    It will be in a 12v system.

    Also if a switch is triggered i would want it to latch until a reset button was pressed.


  • Registered Users Posts: 9,605 ✭✭✭gctest50




Advertisement