+ Post New Thread
Results 1 to 3 of 3
  1. #1
    Newbie level 3
    Points: 539, Level: 4

    Join Date
    Mar 2014
    Posts
    3
    Helped
    0 / 0
    Points
    539
    Level
    4

    [Ask] Keyboard to Relay

    Hello,

    I need some guidance to build a project. I want to build a keyboard which connect to relay then the relay will connect to rectenna. Here is my idea, when I press keyboard key (in example: scroll lock or combination from alt+h) it will trigger relay to active, and if I press it back it will be inactive. The function of relay connected to rectenna is, if the relay off the rectenna will consider as on and vice versa.

    I wanted to follow a step from this project, but do not know how to use it if only with one relay. I already buy a 5V SPDT Relay and usb keyboard, antenna will be built, and still wonder how to connect both of them.

    I only understand how to built antenna by now, so I would be grateful if anyone will help me to build the project.
    Thank you.

    •   Alt11th January 2017, 16:16

      advertising

        
       

  2. #2
    Advanced Member level 5
    Points: 18,998, Level: 33
    barry's Avatar
    Join Date
    Mar 2005
    Location
    California, USA
    Posts
    3,645
    Helped
    796 / 796
    Points
    18,998
    Level
    33

    Re: [Ask] Keyboard to Relay

    Why are you using a USB keyboard to control a relay? Is the keyboard connected to anything else, like a computer? If so, let the COMPUTER control the relay, if not, then why don't you use a switch?



    •   Alt11th January 2017, 19:09

      advertising

        
       

  3. #3
    Newbie level 3
    Points: 539, Level: 4

    Join Date
    Mar 2014
    Posts
    3
    Helped
    0 / 0
    Points
    539
    Level
    4

    Re: [Ask] Keyboard to Relay

    Quote Originally Posted by barry View Post
    Why are you using a USB keyboard to control a relay? Is the keyboard connected to anything else, like a computer? If so, let the COMPUTER control the relay, if not, then why don't you use a switch?
    Hello and thank you for the response.

    Yes, I would like to connect it or using it along with computer. I'll find some tutorial according your suggestions then. :)



--[[ ]]--