Connect with us

Protecting circuit to IO card from surge

Discussion in 'General Electronics Discussion' started by ethan_oost, Aug 30, 2015.

Scroll to continue with content
  1. ethan_oost

    ethan_oost

    1
    0
    Aug 30, 2015
    Hi
    I am new to electronics. I am building a simulator connecting switches to a computer via a microcontroller IO card (I use a pokeys card) So one wire goes to ground on the card and one to a free digital input port. It works well. The problem is this.. One switch has a built in solenoid to automatically flip the switch off. This solenoid requires a 5V charge and created a current of about half an amp to switch. The switch has only 2 pins, so it uses the same pins for the switch logic and the solenoid connection. This means that when I apply the 5v 0.5A charge to activate the solenoid, I am effectively connecting the digital input of my pokeys card to the same circuit. I don't think that is good. It will be only for a short time frame as the switch will automatically turn off when the solenoid fires. How can I protect the IO card from getting fried? Anybody has any ideas. Thank you
    Ethan
     
  2. Arouse1973

    Arouse1973 Adam

    5,164
    1,080
    Dec 18, 2013
    Can you supply a circuit diagram please so we can see what you intend to do. I understand it's difficult sometimes to explain what you want to do so a diagram lets everyone else understand fully what you might need.
    Adam
     
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day

-