P
P
pavelkolodin2015-07-01 14:42:10
Electronics
pavelkolodin, 2015-07-01 14:42:10

How many "weak" wi-fi clients can be online at the same time?

I would like to make a device on a microcontroller that sends the temperature from the sensor on the board using a self-made binary TCP protocol or, say, WebSocket (because it is easy to implement and the server part will be more standard).
In view of the widespread use of Wi-Fi by transport, I want to choose it. What determines the number of devices attached to one access point? Most likely, in my scale (4 devices per access point), I will not have problems in a multi-point-access office system.
Question out of curiosity about Wi-FI in general. I am not familiar with the low-level radio channel management system in Wi-Fi, I know that there are separate frequency channels, there is probably code division (CDMA), etc. I'm wondering how increasing the traffic consumption of one client changes the ability of the access point to see other clients?
Let's say, can my microcontroller devices that consume 100 bytes per minute start to physically fall off if 10 people with macbooks come into the network and start downloading torrents?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Sergey, 2015-07-01
@edinorog

it all depends on the number of packages and the power of the processor

P
peacefulatom, 2015-07-02
@peacefulatom

Let me add my two cents to the protocols.
1. I do not advise you to invent a "self-made TCP protocol".
2. I read on Wikipedia what WebSocket is - it looks like you will have to implement TCP for it.
3. For such an application that you described, I would make UDP and calm down, that's who is truly easy to implement. Although I may be missing something.
Now on the topic:
I met with loss of WiFi connection at large conferences, then access points cannot cope with the influx of clients. Technically, a switch/router can drop packets if its send buffer is already full.
But don't get paranoid ahead of time.
-Do not try to do it perfectly and foresee everything - especially if you are new to this topic.

If it happens that packets are lost, it will probably be possible to configure QoS on your supposed router - traffic priorities.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question