Relay controll

Discussion in 'Embedded Systems and Microcontrollers' started by Michal94, Nov 19, 2014.

  1. Michal94

    Thread Starter New Member

    Nov 19, 2014
    1
    1
    Hi everyone,

    I would ask you something. I want to create simple circuit to controll relay with computer. If it is possible, I want to use RJ-45 connector from my home server because there will be more than 5 relay controll deviced. Do you have any idea? Thanks for yours replies and advices and sorry for my english, Im still learning. I hope you understead, what I want.

    Thanks.
     
  2. Brownout

    Well-Known Member

    Jan 10, 2012
    2,375
    998
    To answer your question, yes. There are many ways to do this, depending on your budget, schedule, etc. You can also use the USB port, maybe make it easier.
     
  3. MaxHeadRoom

    Expert

    Jul 18, 2013
    10,526
    2,369
    There are 8 outputs on the parallel port.
    You just need a 2n7000 or a ULN2805 from these to control a relay.
    Max.
     
  4. Brownout

    Well-Known Member

    Jan 10, 2012
    2,375
    998
    Computers these days don't have a parallel port. You'll need a UBS/parallel converter. I use the FTDI-4232. This will only work for windows, as they don't provide parallel port drivers for Linux.
     
  5. MaxHeadRoom

    Expert

    Jul 18, 2013
    10,526
    2,369
    Off the shelf, maybe not, but if you put your own together you can still get Asus etc M.B.'s with a 25pin D.
    I am using these for some current CNC software that runs through the P.P.
    Max.
     
  6. Brownout

    Well-Known Member

    Jan 10, 2012
    2,375
    998
    Sure, but the OP said he's using an existing machine.
     
  7. djsfantasi

    AAC Fanatic!

    Apr 11, 2010
    2,802
    832
    You may not have to build your own machine. If there's an available slot, the OP could add a parallel port to the existing machine.

    Parallel.jpg
     
    Brownout and MaxHeadRoom like this.
Loading...