Transmiting 8 channal adc's data through 8051 uart

Thread Starter

sagar474

Joined Jul 22, 2010
16
I have 8 channel multiplexed 8 bit ADC.
connected to 8051.
I need to transfer 8 channel data through UART.

what is the best way to do that ?

I have already successes in transmitting single channel data.
 
Last edited:

MrChips

Joined Oct 2, 2009
23,962
A UART is just a hardware communications channel that allows you to transmit one byte at a time. You can use that channel to transmit anything you wish.
 

Thread Starter

sagar474

Joined Jul 22, 2010
16
f3 f3 a3 c4 dc 33 24 12 f3 f3 a3 c4 dc 33 24 12 f3 f3 a3 c4 dc 33 24 12 f3 f3 a3 c4 dc 33 24 12 f3 f3 a3 c4 dc 33 24 12 f3 f3 a3 c4 dc 33 24 12 f3 f3 a3 c4 dc 33 24 12 f3 f3 a3 c4 dc 33 24 12 f3 f3 a3 c4 dc 33 24 12 f3 f3 a3 c4 dc 33 24 12 f3 f3 a3 c4 dc 33 24 12 f3 f3 a3 c4 dc 33 24 12 f3 f3 a3 c4 dc 33 24 12 f3 f3 a3 c4 dc 33 24 12 f3 f3 a3 c4 dc 33 24 12 f3 f3 a3 c4 dc 33 24 12

I get this type of streaming data on term.

now the problem is how to differentiate each sensor data ?

do any one know the best protocol for that ?
 

spinnaker

Joined Oct 29, 2009
7,835
f3 f3 a3 c4 dc 33 24 12 f3 f3 a3 c4 dc 33 24 12 f3 f3 a3 c4 dc 33 24 12 f3 f3 a3 c4 dc 33 24 12 f3 f3 a3 c4 dc 33 24 12 f3 f3 a3 c4 dc 33 24 12 f3 f3 a3 c4 dc 33 24 12 f3 f3 a3 c4 dc 33 24 12 f3 f3 a3 c4 dc 33 24 12 f3 f3 a3 c4 dc 33 24 12 f3 f3 a3 c4 dc 33 24 12 f3 f3 a3 c4 dc 33 24 12 f3 f3 a3 c4 dc 33 24 12 f3 f3 a3 c4 dc 33 24 12 f3 f3 a3 c4 dc 33 24 12 f3 f3 a3 c4 dc 33 24 12

I get this type of streaming data on term.

now the problem is how to differentiate each sensor data ?

do any one know the best protocol for that ?
I have no idea what you are trying to ask.

If the question is how to read the protocol data then no one is going to be able to answer that for you without more information. Even then, if it is a proprietary protocol, the question may not be able to be answered.
 

MrChips

Joined Oct 2, 2009
23,962
You have to realize that you can send whatever you want.

The message can be totally verbose, such as:

ADC #1 is 234
ADC #2 is 123

etc.
 
Top