Callsign
ad: CommRadio-1
Results 1 to 7 of 7

Thread: USB Relay Controller Help

ad: l-AmericanRadio
ad: l-assoc
ad: l-Waters
ad: l-hrd-1
ad: l-innov
ad: l-BCInc
ad: l-ezhang
ad: l-gcopper
  1. Default USB Relay Controller Help

    Hello-
    This isn't exactly ham radio related, but I am hoping someone can help me.

    I bought a USB I/O Board and Relay Controller from Electronics-DIY.com (the specs are here, purchased here) and I got it built. The problem I'm having now is in connecting the relays. It's an 8-channel controller, and it included 10 1k ohm resistors and 10 BC549 transistors, intended to be connected to the output pins. However, I can't figure out how to connect them. Can anybody offer any suggestions?

    Thanks!

    -Sutter KI6ZON

  2. #2
    Join Date
    Feb 2010
    Location
    Dallas / Fort Worth
    Posts
    2,528

    Default

    Looks like those transistors are typical general purpose NPNs -- here is one example -- scroll about 1/2 way down the page.

    http://www.kpsec.freeuk.com/trancirc.htm

    Here is another example:

    http://pcbheaven.com/wikipages/Transistor_Circuits/

    Although not provided, you definitely want to use a flyback diode when switching a relay. Might want to try the circuit with an LED first, just to get the hang of it.

  3. Default

    Okay, I think I'm understanding it better, but to clarify: When there's voltage across B and E, the voltage will pass between C and E, correct? And how does the flyback diode work?

    Thanks!

    -Sutter

  4. #4
    Join Date
    Feb 2010
    Location
    Dallas / Fort Worth
    Posts
    2,528

    Default

    The diode protects the rest of the circuit from voltages generated by the collapsing magnetic field in the relay coil when power to the relay is removed.

    Transistors are a current device -- if you have a current flowing from the base to emitter, it will switch the transistor on and current will flow from the collector to emitter. The resistor between the base and the pin on your circuit limits the current to the base of the transistor.

    One thing to consider is the amount of power a USB cable can supply -- it might run one relay OK, but more than one relay may pull too much current and cause an issue. If they have a forum or user group for that particular line of products, there are probably examples of circuits using external power for the relays.

  5. #5
    Join Date
    Feb 2010
    Location
    Dallas / Fort Worth
    Posts
    2,528

  6. Default

    I've almost got it - thanks for your help. Does it need to be a specific type of diode?

    Thanks!

  7. #7
    Join Date
    Jan 2011
    Location
    Houston Texas
    Posts
    3,251

    Default

    Quote Originally Posted by KI6ZON View Post
    I've almost got it - thanks for your help. Does it need to be a specific type of diode?

    Thanks!

    I use 1n4007, but any 1n400X type will work.

    Any silicon diode is better than none.
    .
    Last edited by KA9JLM; 09-20-2012 at 12:40 AM.
    "Books tell how it should be, Experience tells how it really is..."
    73 DE KA9JLM Don

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •