Best wireless module for one master and many slaves

Hi All.

I am making a wireless setup for a game show that has one 'brain' unit and six buzzer units, all using Arduino Unos. The buzzer units are where the contestant 'buzzes in' to answer a question.

The reason for this post is to try to ascertain the best wireless module to use that can have one 'master' and six or more 'slaves'. The 'slaves' need to be uniquely addressable by the 'master' and communication must be bidirectional. Range only need be about 150' or so.

I currently am using 433 MHz transmit and receive modules with HT12E and HT12D encoder and decoder, have had some success but the encoder/decoder chips seem to be inconsistent and have drop outs. I am also trying HC-05 BT modules as well.

I'm hoping the experts on the subject can point me in the right direction. Thanks fr reading.

you did not tell us where you live. you did not say what microcontroller you are using. we can't answer

If you are in a place regulated by the FCC your options are 2.4 gHz and 915 mHz LoRa. 915 mHz LoRa fits your needs exactly

I did say I'm using Arduino Unos. I'm in the USA, California.

The Very FIRST step in your project is to test the communications to ensure it is reliable. Otherwise there is no need to go any further with the project.

Understand that only one slave can transmit at a time and that is usually when the master asks each slave in turn if it has data to send. That is called "polling". If more than one slave tries to transmit, the master will receive garbage. Communication can be bidirectional, but can never be simultaneous.

150 feet.

2 or 4 slaves, I'd use ESP8266 as the slaves and a ESP32 as master with ESP-NOW.

5 or more slaves then I'd use ESP32's or ESP8266's and a Beagle Bone Black or RPi as master.

Thanks, sound advice, that.

Thank You Shannon, I will look into those!

Just curious, would Zigbee be a contender at all?

Zigbee? Hummm. Did you find any Arduino Zigbee libraries? I've not looked and I've not used Zigbee.

It's a thing.

Your topic has been moved to a more suitable location on the forum. Installation and Troubleshooting is not for advice on (nor for problems with) your project.

Okay

consider Lora long distance low-power communications

This already sounds unfair. Or randomly advantageous to a player.

How long will it take to see and react to a contestant ringing in?

If two satellites ring in simultaneously, what in the worst case will be the time between that instant and the recognition of any A ring-in, and then the time until the other B ring in is seen?

433 radio sets should be entirely adequate if you do it the way you propose. This

HT12E and HT12D encoder and decoder

is overkill, an Arduino can use the '433 OOK signal directly, there are libraries that will take care of quite a bit of the pain.

Less pain in any event than other radio sets.

150 feet is possible, but you will want to have good antennae and use a proper circuit, layout and lead dress.

What is your programming level?

What is the concept for the base station, and for the buzzer, as far as additional lamps or switches or sound effects or score display or whatever?

a7

Thanks for the idea of ditching the encoder and decoder, had considered that and will try it.

I'm not a newbie to electronics and devices, been at it working in R&D for over 30 years doing design and fabrication of test fixtures, prototypes, motion control etc. Wireless arena IS new to me so I'm on the learning curve. My programming level is a few thousand hours of VB6, a few hundred hours of Visual C++.

You are correct about the buzzer boxes needing individual IDs, that is settable by a dip switch in each buzzer box, read by code. The 'first buzzed in' being latched with all other buzzers locked is handled in software. The odds of a tie are quite slim. I designed and built a Pinewood Derby finish line for my son's Cub Scout pack and faced the same issue of a tie many years ago lol.

Appreciate your insight!

The buzzer boxes with LED lighting, base has sound.

So... the plan is for the base station to listen to all the buzzer boxes, first to get through wins?

I hope you are right, that is that the...

...odds of a tie are quite slim.

I thought you might have meant the base station would be polling the buzzer boxes. In my imagination (!) just listening will be full of conflict, not ties but conflicting rf packets. I guess you will see.

Obvsly this will be more true the tinier the messages.

I once did a medium deep dive on the Jeopardy signaling system. One thing I hadn't known or had forgotten is that contestants are locked out for a punishment period if they try ring in before Alex has finished with the question (lamp comes on?), and in some other cases.

It's good reading no matter what you google up on the subject. If you are aiming for a Jeopardy type ring-in system. I think the "real" one is hardwired and mostly hardware based, don't know if they went so far as to make sure the cables to each contestant were of equal length. :wink:

a7

Interesting.

It will be 'interrupt based' rather than polling. First buzz in is detected, others locked out for n seconds or upon receipt of a 'led done signal' from buzzer.

433 mHz radios are not legal in the USA, or any place where the FCC is the regulatory body. the only legal part 15 radios are 2.4 gHz and 915 mHz.

915 mHz radios can be used for other modulation methods, but LoRa is the best for my needs, so I have not studied other methods

getting LoRa working is trivially easy. the legal part of it would frustrate a Beverly Hills divorce lawyer

This is news to me. Is it news? Like a recent change?

I have used that frequency believing my deployment scenario and power output put me well within the bounds of being fully allowable.

Low power periodic transmissions.

a7