sampling freq vs baud rate

Status
Not open for further replies.

wingun1

Newbie level 1
Joined
Jun 22, 2017
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
18
I need to transmit (baud rate ) ADC collected data(sample rate).
If my sample rate is 4kHz, what baud rate I need to have in order to send all data out?
 

Hi,

Baudrate needs to be >= sampleRate × ADC_bytes × 10 × protocol_overhead

* ADC_bytes = bytes per sample ( = 1 for an 8 bit ADC, = 2 for an 9...16 bit ADC...)
* 10 = transmitted bits per byte ( 8 bits + start + stop, for 8N1)
* you need a protocol to detect frames, high byte, low byte, channels...it's on you how you do this

Klaus
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…