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
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

safety switch code

  • 21-11-2017 7:55am
    #1
    Registered Users, Registered Users 2 Posts: 832 ✭✭✭


    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, Registered Users 2 Posts: 6,262 ✭✭✭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, Registered Users 2 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, Registered Users 2 Posts: 832 ✭✭✭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, Registered Users 2 Posts: 9,605 ✭✭✭gctest50




Advertisement