Go Down

Topic: wireless apperatus (Read 3174 times) previous topic - next topic

robot797

sorry i explaned the hardware so late
i use simple 433mhz rx and tx modules

i have 5 tx arduino's
and one rx arduino

i need the 5 tx to be secure (so nat all 433mhz transmitters work) with there one binairi code (BINIARI SECURETY)
and the rx needs to know up to 15 tx arduino's and if itt receves a signal from tx 1 light one lights (so the remotes tx have there own light)

AWOL

Can you try Google translation please?
Maybe some jargon doesn't translate well.
"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

robot797

arg
i typed in english as it is

15 tx 433mhz all have a code (10011001-11111111)
1 rx that knows them all and turns on a light that belongs to the tx

15 LIGHTS
15 TX (with arduino)
1 RX (with arduino)

clear enough?

AWOL

Have you looked at the VirtualWire library?

(BTW, it is "MHz", not "mhz" or "mHz")
"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

dxw00d

I think your biggest problem is likely to be implementing a frequency scanning routine on your base station, so that you can listen out for each transmitter in turn, and do it fast enough so that you don't miss a transmission.

robot797

but all the frequensys are the same there code isnt

dxw00d

If the frequencies are the same, you will have interference problems. If you press your button, and I press mine at the same time, and we are transmitting on the same frequency, which code will be read?

I would guess it would depend on which one of us was closest to the receiver.

robot797

like i said it does not matter that there is interverence
its for a game and not for a hospital

dxw00d

#38
Dec 15, 2011, 08:28 pm Last Edit: Dec 15, 2011, 08:30 pm by dxw00d Reason: 1
Ok. Whatever. Carry on, I give up.

MarkT

Use high baud rate and short packet to minimize the chance of a packet-collision.  Most likely outcome of a packet collision is _no_ packet received or a completely garbled packet.  Either way that's really annoying in practice.  There are ways to solve this problem with re-transmission and timestamps in the packets - retransmit several times with randomized delays and include a microseconds-since-packet-0 field in the packet to allow receiver to determine time of missed packets.
[ I won't respond to messages, use the forum please ]

robot797

it is okey to get the lowest baud rate it is only gonna send a string of 8-20 numbers

and i wish a attiny85 could run the virtual wire library but it is a bit to tiny to do that
(i am goeing to program an attiny85 with arduino software as mentiond earlyer)

AWOL

Quote
it is okey to get the lowest baud rate it is only gonna send a string of 8-20 numbers

That's good, because some of these cheap 4xxMHz modules have a maximum bit-rate of only 2000 bits per second, so your 20 (ASCII?) digits are going to take at least 100ms to transmit.
Plenty of time for the wireless doorbell at number 29 to chip in.

When you say "it's only for a game", do you mean like, a game with winners and losers?
"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

robot797

well we are playing in a forrest (so interverence is not a problem)

but if some is lost or has a problem
press a button and help is on its way

Go Up