0
Offline
Jr. Member
Karma: 0
Posts: 61
Arduino rocks
|
 |
« Reply #30 on: December 15, 2011, 10:38:22 am » |
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)
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
UK
Offline
Brattain Member
Karma: 137
Posts: 19003
I don't think you connected the grounds, Dave.
|
 |
« Reply #31 on: December 15, 2011, 10:58:17 am » |
Can you try Google translation please? Maybe some jargon doesn't translate well.
|
|
|
|
|
Logged
|
Pete, it's a fool looks for logic in the chambers of the human heart.
|
|
|
|
0
Offline
Jr. Member
Karma: 0
Posts: 61
Arduino rocks
|
 |
« Reply #32 on: December 15, 2011, 11:03:06 am » |
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?
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
UK
Offline
Brattain Member
Karma: 137
Posts: 19003
I don't think you connected the grounds, Dave.
|
 |
« Reply #33 on: December 15, 2011, 11:18:15 am » |
Have you looked at the VirtualWire library?
(BTW, it is "MHz", not "mhz" or "mHz")
|
|
|
|
|
Logged
|
Pete, it's a fool looks for logic in the chambers of the human heart.
|
|
|
|
Gosport, UK
Offline
Faraday Member
Karma: 19
Posts: 3118
|
 |
« Reply #34 on: December 15, 2011, 12:29:39 pm » |
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.
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Jr. Member
Karma: 0
Posts: 61
Arduino rocks
|
 |
« Reply #35 on: December 15, 2011, 01:46:32 pm » |
but all the frequensys are the same there code isnt
|
|
|
|
|
Logged
|
|
|
|
|
Gosport, UK
Offline
Faraday Member
Karma: 19
Posts: 3118
|
 |
« Reply #36 on: December 15, 2011, 01:51:21 pm » |
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.
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Jr. Member
Karma: 0
Posts: 61
Arduino rocks
|
 |
« Reply #37 on: December 15, 2011, 02:25:52 pm » |
like i said it does not matter that there is interverence its for a game and not for a hospital
|
|
|
|
|
Logged
|
|
|
|
|
Gosport, UK
Offline
Faraday Member
Karma: 19
Posts: 3118
|
 |
« Reply #38 on: December 15, 2011, 02:28:03 pm » |
Ok. Whatever. Carry on, I give up.
|
|
|
|
« Last Edit: December 15, 2011, 02:30:36 pm by dxw00d »
|
Logged
|
|
|
|
|
0
Offline
Tesla Member
Karma: 71
Posts: 6596
Arduino rocks
|
 |
« Reply #39 on: December 15, 2011, 02:34:19 pm » |
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.
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Jr. Member
Karma: 0
Posts: 61
Arduino rocks
|
 |
« Reply #40 on: December 15, 2011, 06:18:56 pm » |
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)
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
UK
Offline
Brattain Member
Karma: 137
Posts: 19003
I don't think you connected the grounds, Dave.
|
 |
« Reply #41 on: December 16, 2011, 02:59:59 am » |
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?
|
|
|
|
|
Logged
|
Pete, it's a fool looks for logic in the chambers of the human heart.
|
|
|
|
0
Offline
Jr. Member
Karma: 0
Posts: 61
Arduino rocks
|
 |
« Reply #42 on: December 16, 2011, 10:17:33 am » |
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
|
|
|
|
|
Logged
|
|
|
|
|
|