Open AlistairCheeseman opened 8 years ago
data efficiency: byte 1 - sensor ID byte 2 - status + (pressure [15:8] byte 3 - rest of pressure data [7:0] byte 4 - Temp [ 10:3] byte 5 - Temp [2:0] --NOTE WASTED DATA SPACE byte 6 - DELIMTER - must be whole byte for serial processor to recognise it 6 byte total, 27 bits data, Comms efficiency = 56.2% does not acct for time stamp
data efficiency(other method): byte 1 - sensor ID byte 2 - status + (pressure [15:8] byte 3 - rest of pressure data [7:0] byte 4 - Temp [ 10:3] byte 5 - Temp [2:0] --NOTE WASTED DATA SPACE byte 6 - DELIMTER - must be whole byte for serial processor to recognise it ..... byte n-1 Temp(sensor10)[2:0] byte n ROW DELIMETER
assuming 10 sensors, (6*10) = 60 bytes data 60 byte total, 270 bits data, Comms efficiency = 56.2% does not acct for time stamp same efficiency as above method HOWEVER if including time stamp this method will be more efficient
when multiplexing data from each pressure transducer onto the serial tx buffer various flags will be added, they need to be decided upon. current delimeters needed:
note: is it easier to simply tx every value with one delimiter opposed to two (as pressure data not time sensitive)? will make simpler and reduce data overhead.