Elex-factor
Junior Member level 1
- Joined
- Jul 12, 2011
- Messages
- 18
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Location
- Seoul, Korea
- Activity points
- 1,445
You've got a problem. You can't sample at 5Msps and then send your data at 2 Mbps. Assume, for example, that your ADC is an 8-bit part (you didn't specify), that means you will need a 40Mbps interface.
If you use a 5-mega-sample-per-second ADC you will get, TA-DA!! 5 million samples per second. If you want to throw away some of those samples (decimation) that's fine. But you need some specifications. What is your REQUIRED output sample rate? What is your sample width?
I'm not an expert, but I know that certain versions of Wifi can support 40 Mbs. There are probably other wireless protocols that might work.
So if your maximum data rate is 2 Mega-bits/sec, your maximum a-d sample rate would be 2,000,000/12=166K-samps/sec.
Thank u for this valuable suggestion. So if i set my ADC to sample at 1 Msps, what will be the best way to transfer the ADC output through the wireless medium. Please help me on this. After looking at your comment, I think Xbee wifi will not be enough to transfer the data if the ADC sampling rate is 1 Msps. Please kindly suggest me some ways to do it.Hello!
Even this figure is optimistic.
1. If XBee announces 2 Mbps, there is some overhead. I don't know what payload you can have, but usually it's
quite far from the max theoritical rate.
2. Using radio devices, you need to add some security for sample validation. For example a CRC. You might also
want to have markers (e.g. begin of packet),etc... So even if you have a 2 Mbps payload, you will get less with all
this overhead.
3. You have to decide what to do when you receive an invalid frame. Discard? Resend? If you discard, then you
will get less data. If you want to resend, then you have to send a message to your device, saying please resend
packet xxxx.
4. By the way, you may also need a packet ID, some kind of timestamp, etc...
The final throughput will really depend on what you want to get.
Dora.
Thank u for this valuable suggestion. So if i set my ADC to sample at 1 Msps, what will be the best way to transfer the ADC output through the wireless medium. Please help me on this. After looking at your comment, I think Xbee wifi will not be enough to transfer the data if the ADC sampling rate is 1 Msps. Please kindly suggest me some ways to do it.
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?