Author Topic: 1-to-100 wireless communication  (Read 1549 times)

0 Members and 1 Guest are viewing this topic.

Offline cubeflakeTopic starter

  • Contributor
  • Posts: 20
  • Country: nl
1-to-100 wireless communication
« on: November 11, 2021, 04:45:35 pm »
Hi everyone,

I'm facing an interesting challenge for a project where I'm working on. I need to communicate to about 100 devices that are spread out in a large-ish room (say 20 x 40 m). I need to send about 10 bytes to each devices at about 10 Hz. The communication will be mostly one-way, but it would be nice to get some data back every now and then (like every few minutes). My client was thinking of using (multi-router) wifi, but I think the latency would be too indeterministic. I am looking at nRF52 chips to get much lower-level control over the communication, but I'm unsure if they are suitable for a 1-to-100 set-up. I'm also looking into blasting IR from the roof, but I think it'll be hard to reach the necessary data throughput. I will probably need about 150 kbps, which looks doable with IR, but not at a distance larger than about 1 meter. Since the roof will be a few meters high, it looks like IR won't do the job.

Any thoughts?

Cheers!

cubeflake
 

Offline Skashkash

  • Regular Contributor
  • *
  • Posts: 118
  • Country: us
Re: 1-to-100 wireless communication
« Reply #1 on: November 11, 2021, 06:14:56 pm »
The NRF devices would certainly do it.
  They have a fairly flexible addressing mode if you use the radio in "bare bones" mode where it emulates the older NRF24l01+ ESB protocol.
   Check the data sheet for the concept of "pipes". You could have broadcast as well as unicast addressing.

   In broadcast mode you won't have an ack response, so you may drop packets occasionally. If that's an issue, you will need to deal with that on another level.

   You could also just use the nrf24l01 radio chip added to your processor of choice.
 
     





 
 

Offline Alex Eisenhut

  • Super Contributor
  • ***
  • Posts: 3483
  • Country: ca
  • Place text here.
Re: 1-to-100 wireless communication
« Reply #2 on: November 11, 2021, 06:20:37 pm »
Zigbee? People don't like it seems to me.
Hoarder of 8-bit Commodore relics and 1960s Tektronix 500-series stuff. Unconventional interior decorator.
 

Offline Benta

  • Super Contributor
  • ***
  • Posts: 6257
  • Country: de
Re: 1-to-100 wireless communication
« Reply #3 on: November 11, 2021, 06:37:04 pm »
Zigbee? People don't like it seems to me.

ZigBee was also the first thing that came to mind with me.
It's not that people don't like it, but that no 800-lbs gorillas stand behind it (compared to, eg, Bluetooth). ZigBee is more in the realm of small- and medium-sized companies.
But it's well supported, and there are lots of devices on the market, mostly in industrial and home automation. It's just not as visible as the PC/Phone type products.
 

Offline Alex Eisenhut

  • Super Contributor
  • ***
  • Posts: 3483
  • Country: ca
  • Place text here.
Re: 1-to-100 wireless communication
« Reply #4 on: November 11, 2021, 06:48:41 pm »
Well there's 800 lbs of particle board behind it: IKEA.
Hoarder of 8-bit Commodore relics and 1960s Tektronix 500-series stuff. Unconventional interior decorator.
 

Offline cubeflakeTopic starter

  • Contributor
  • Posts: 20
  • Country: nl
Re: 1-to-100 wireless communication
« Reply #5 on: November 11, 2021, 08:26:26 pm »
I'm definitely open to trying Zigbee, it seems quite interesting. However it looks like it's really meant to be used as a mesh network. I don't really want to use a mesh network because I want to keep the latency as predictable as possible. When used as a star network, the maximum number of nodes per Zigbee "router" appears to be limited to 32 or 64. I'm pretty new to all this, so I might be wrong about that.

One thing that I should maybe clarify is that I need to send unique data to each of the clients. So 10 times per second, every one of the 100 clients should get a unique data packet. Do you still think this is possible with the nRF chips or with Zigbee?

edit:
Alternatively, I could send a broadcast package 10 times per second, containing the data for all the nodes. Dropping a packet every now and then should be ok.
« Last Edit: November 11, 2021, 09:12:37 pm by cubeflake »
 

Offline Benta

  • Super Contributor
  • ***
  • Posts: 6257
  • Country: de
Re: 1-to-100 wireless communication
« Reply #6 on: November 11, 2021, 09:51:41 pm »
There's absolutely no problem using Zigbee in a star network. ~250 nodes is unproblematic.

 

Offline cubeflakeTopic starter

  • Contributor
  • Posts: 20
  • Country: nl
Re: 1-to-100 wireless communication
« Reply #7 on: November 12, 2021, 09:14:32 am »
There's absolutely no problem using Zigbee in a star network. ~250 nodes is unproblematic.

That sounds promising! Do you have any thoughts about the data throughput? If I have 100 nodes, can I update each of them 10 times per second (i.e. send 10 bytes)? At some point I'll just have to get a bunch of nodes and start pumping data, but I would like to get as much information beforehand as possible.
 

Offline Benta

  • Super Contributor
  • ***
  • Posts: 6257
  • Country: de
Re: 1-to-100 wireless communication
« Reply #8 on: November 12, 2021, 12:26:40 pm »
Well, Zigbee data rate is 250 kbits/s, calculate from there.
 

Offline coromonadalix

  • Super Contributor
  • ***
  • Posts: 6651
  • Country: ca
Re: 1-to-100 wireless communication
« Reply #9 on: November 12, 2021, 08:07:11 pm »
Zigbee in a mesh network,  done that in a past for minimum 250 devices on the same network,  never had problems
 

Offline Benta

  • Super Contributor
  • ***
  • Posts: 6257
  • Country: de
Re: 1-to-100 wireless communication
« Reply #10 on: November 12, 2021, 08:20:44 pm »
Zigbee in a mesh network,  done that in a past for minimum 250 devices on the same network,  never had problems

Zigbee is ALSO a mesh network, but can be point-to-point or star if you wish. It's flexible.

 

Offline Benta

  • Super Contributor
  • ***
  • Posts: 6257
  • Country: de
Re: 1-to-100 wireless communication
« Reply #11 on: November 13, 2021, 11:23:32 pm »
Yep, just using the radio part of 802.15.4 is of course an option. That at the end can be very expensive.
FCC, CE etc. certifications are much simpler when using certified radios, firmware and protocol stacks.

Just a hint from my side.

 

Offline coromonadalix

  • Super Contributor
  • ***
  • Posts: 6651
  • Country: ca
Re: 1-to-100 wireless communication
« Reply #12 on: November 14, 2021, 01:54:56 am »
Esp 32 modules we hear a lot ???  never worked with them
 

Offline james_s

  • Super Contributor
  • ***
  • Posts: 21611
  • Country: us
Re: 1-to-100 wireless communication
« Reply #13 on: November 14, 2021, 05:14:54 am »
ZigBee was also the first thing that came to mind with me.
It's not that people don't like it, but that no 800-lbs gorillas stand behind it (compared to, eg, Bluetooth). ZigBee is more in the realm of small- and medium-sized companies.
But it's well supported, and there are lots of devices on the market, mostly in industrial and home automation. It's just not as visible as the PC/Phone type products.

Philips doesn't count as a 800lb gorilla? Their popular Hue smart lighting system uses Zigbee. I have a bunch of the bulbs that I control with a Conbee II stick set up with Home Assistant. Cree, Ecosmart and Ikea smart bulbs are also Zigbee.
 

Offline cubeflakeTopic starter

  • Contributor
  • Posts: 20
  • Country: nl
Re: 1-to-100 wireless communication
« Reply #14 on: November 15, 2021, 04:05:43 pm »
Well, Zigbee data rate is 250 kbits/s, calculate from there.

In terms of total throughput, it's not an issue. What I'm worried about is the latency. I need to be able to send a packet every 1 ms.
 

Offline cubeflakeTopic starter

  • Contributor
  • Posts: 20
  • Country: nl
Re: 1-to-100 wireless communication
« Reply #15 on: November 18, 2021, 09:36:03 pm »
I've contacted Nordic, as well as someone I know who works at a large electronics distributor here. Nordic says it can be done using ESB on the nRF52's. The RF guy from the distributor says it can also be done using ESP32's using BLE Broadcast. So it seems this can be done, now I'm just waiting for the client to grant me the contract :).
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf