hey guys
i have got an question
if i want to make a device for a game that
takes one recever with 15 leds (all chanals encripted)
this runs on a arduino
and 15 transmitters
all with a encription on the transmitter (so that not all transmitters work)
this should run on a attiny85
Probably lots of people, but your description is a bit vague. If I understand correctly, you want simultaneous encrypted communication between a single base arduino and 15 different 'client' attinys, potentially all sending at once. If so, I think you would struggle with the limited amount of SRam available.
well sorry to say but you have understoud it wrong
the transmitters are for problems (then we need to find team **)
you have 15 transmitters with one button
if you press the button it sends the code of the system and send it's id number (binairy)
the recever just lisens to the code (of the system)
when that is receved and after that the id code it will turn on the light that is equal to the number of the transmitter who has send it
and the atiny85 can be programed with the arduino ide and i want to use that becaus it is smal en cheap (as a transmitter)
you pres the button system code and id code gets send like 1001 1100 (systemcode and remote 3)
and the light 3 comes on (and remains on until reset is pressed)
if somone can give me a pde for one remote (with encription and code)
and the recever side i can do the rest myself
Imagine I sit you at a desk blindfolded.
I give two people in the same room identical sounding air-horns.
I tell one to send Morse "S" when I poke them with a stick, and the other person to send Morse "O" when I poke them.
I poke both simultaneously with a Y-shaped stick.
How do you tell which is which?
How can it not matter? You have two players sending codes, but your receiver is getting a third, completely different code, that may, or may not, represent another player.
I suggest you start by just looking out for one code. Work out how you identify that the optical receiver has seen your code sequence, for example 10011000.