Wireless Relay Light Control Help Needed

Attached is a diagram of basically what I’m thinking. The goal is to have multiple relay switches in a point to multi-point setup with a controller as the primary link back. The relays would have lights attached to them. So basically I want to be able to connect usb into the main controller and send a signal to the relays for example send a 1 code relay number 5, so the switch closes and the light turns on and set the time for 3 seconds then send a 0 code to shut it off. I am brand new to these types of products so my question is… based on this information. Where would I start?
Are there particular modules that i will want to use? Are there any sites where I can purchase the modules already configured for what i want? I tried googling the idea but I’m not sure what exactly to search up. Ive tried things like. Point to multi point relay network.
My goal is to be able to plug any kind of light into the relays like simple two prong led lights or an led light strip behind each of the relay switches, and connect to the main control board and use serial or ssh or some interface to send a command to the relay to turn the light on.
Eventually I would like to write a script to automate the process of send the command to turn the light on. Then randomize it, such as, relay 2 on for 3 seconds/off, relay 6 on for 3 seconds/off, etc.
Additionally, aside from the basics that I need to get started on the right track, How is power controlled? Does the relay have an onboard battery or do i need to put into the loop a battery that when the loop closes the light turns on?
Any help with pointing me in the right direction is greatly appreciated. I am just not sure where to begin and I don’t think my search parameters have been accurate enough to help me find any similar type projects to help guide me.


you’ll need a relay board, and an Arduino…

You would then configure/code the Arduino to accept serial data (or some other form on input) so it can parse the incoming ‘command/action’ and then carry out the behavior its coded for, for that command.

Thats your step 1. your ‘receiver/controller’ board.

*** What you can/do connect to the relays are up to you… but you should understand what is powering things… and the obstacles of triggering/toggling a variety of different end devices with different power needs.

Next you’ll need to decide on HOW you plan on communication with your receiver/relay controller board.

Do you want to send commands from the IDE serial monitor? *(this wouldnt match up with your thread title of wireless)

This would require:
1.) you to have a physical USB connection to your PC
2.) must have the IDE installed

So forget the technical stuff for now…

and walk through (in laymen terms) how you want/envision this working? (you have left off some crucial info)

Search terms:

8-channel relay board
Serial Basics thread here (sticky by Robin2)

That being said… if you want to pass in other info (like a timing requirement so the light is only on for xx seconds)…

You’ll have to create your own protocol… and then write a parser to interpret the incoming command.

Dont let the ‘fancy’ words scare you…

protocol = just the way you want to send your data over
parser = how you break up the incoming serial data


  • could be:
  • target light: #5
  • state: 1 (1=on/0=off)
    *if state is ‘1’
  • length: 3 (keep on for 3 seconds)

Then you would have to break up that incoming serial data… into its own parts so you want needs to done to what.

Use the forum Google search function in the upper right of this page to search for the key words of your project. You will probably find many similar previous project discussions and code to get you started.

What is the maximum voltage and current of the individual lights? AC or DC?