The following commands demonstrate the 8-Bit AD8 command set.
CK = Checksum (00-FF)TX: | 2 | 3 | 4 | CK | FUNCTION: ADC 8-BIT | RX: | 2 | 3 | CK |
---|---|---|---|---|---|---|---|---|---|
AA | 02 | FE | 96 | 40 | Read ADC Input 1 | AA | 01 | FF | AA |
AA | 02 | FE | 97 | 41 | Read ADC Input 2 | AA | 01 | FF | AA |
AA | 02 | FE | 98 | 42 | Read ADC Input 3 | AA | 01 | FF | AA |
AA | 02 | FE | 99 | 43 | Read ADC Input 4 | AA | 01 | FF | AA |
AA | 02 | FE | 9A | 44 | Read ADC Input 5 | AA | 01 | FF | AA |
AA | 02 | FE | 9B | 45 | Read ADC Input 6 | AA | 01 | FF | AA |
AA | 02 | FE | 9C | 46 | Read ADC Input 7 | AA | 01 | FF | AA |
AA | 02 | FE | 9D | 47 | Read ADC Input 8 | AA | 01 | FF | AA |
Read All 8 Analog Inputs with 8-Bit Result per Channel:
CK = Checksum (00-FF)TX: | 2 | 3 | 4 | CK | Function: | RX: | 2 | C1 | C2 | C3 | C4 | C5 | C6 | C7 | C8 | CK |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
AA | 02 | FE | A6 | 50 | Read All 8-Channels | AA | 08 | FF | FF | FF | FF | FF | FF | FF | FF | AA |