I have made an 8 position temperature logger using the 28x1. It uses a serial cable to send the readings to my computer.
I need to have multiple loggers but I only want to tie up 1 com port. So I thought an input and output serial port is needed on each of my logging boards.
I believe I would have to assign each board an address and then send any serial info to the next board in series and do this along the daisy chain until it reaches my com1 port.
So device 1 would send:
SOD,1,T0,T1,T2,T3,T4,T5,T6,T7,EOD
And device “N†would send:
SOD,N,T0,T1,T2,T3,T4,T5,T6,T7,EOD
SOD,N-1,T0,T1,T2,T3,T4,T5,T6,T7,EOD
.....
Perhaps I would need a termination dip switch so the system knew the last device and the closest device to the com1 port would know how much data to expect.
Just thinking out loud. Any ideas on how to do this efficiently?
I need to have multiple loggers but I only want to tie up 1 com port. So I thought an input and output serial port is needed on each of my logging boards.
I believe I would have to assign each board an address and then send any serial info to the next board in series and do this along the daisy chain until it reaches my com1 port.
So device 1 would send:
SOD,1,T0,T1,T2,T3,T4,T5,T6,T7,EOD
And device “N†would send:
SOD,N,T0,T1,T2,T3,T4,T5,T6,T7,EOD
SOD,N-1,T0,T1,T2,T3,T4,T5,T6,T7,EOD
.....
Perhaps I would need a termination dip switch so the system knew the last device and the closest device to the com1 port would know how much data to expect.
Just thinking out loud. Any ideas on how to do this efficiently?