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?
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