past couple of weeks i've been playing around with wireless communication and i've managed to make; one way and bi-directional projects each with 1 transmitter and 1 receiver. now for my next project i would like to make 4 groups of 1 transmitter talking to 3 receivers without each group interfering with each other
each transmitter includes;
6 momentary push buttons
3 leds
each receiver includes;
1 led
so the idea is that 1 button activates one led or two leds so;
button 1 = led 1
button 2 = led 2
button 3 = led 3
button 4 = led 1&2
button 5 = led 1&3
button 6 = led 2&3
this combination will be repeated for the rest of the transmitters and receivers and all have to be able to work at the same time without interfering.
the 3 leds on the transmitter will indicate if each receiver is connected to the transmitter, this part i have achieved by connection the 5v pin to a digital pin and labelling it an input. see the attached code.
i've been trying to adjust this code to control a second led however i'm drawing a blank. if you could only use the activation of led in your reply's that would be most helpful since, i'll also be great full if you explained your answers step by step.
Wireless_Led_Control_Transmitter_With_Led_Indicator.ino (872 Bytes)
Wireless_Led_Control_Receiver_With_Led_Indicator.ino (843 Bytes)