ecid
Input Specification
Input data from vehicule is transmited by 4 wire SPI.
Link Configuration
- A frame is composed of 8 packs of 2 bytes.
- Frame rate is 4 Hz.
Pack definition
One pack is composed of 2 bytes separated in 4 nibbles: one for header and 3 for data.
header | Nibble 1 | Nibble 2 | Nibble 3 |
---|---|---|---|
Label ID | 00.x | x0.0 | 0x.0 |
- label Id is the information transfered.
- Nibbles respectively describe the value in char value, digit per digit.
Frame definition
order | header | Header | Comment | unit | Min | Max |
---|---|---|---|---|---|---|
1 | Speed | |||||
2 | Engine Current | |||||
3 | Battery Voltage | |||||
4 | Pannel Curent | |||||
5 | Energy Consumed | |||||
6 | Energy Gathered | |||||
7a | Battery Current >0 | |||||
7b | battery current <0 |
SPI Link configuration
- Active 0
- Baudrate 78.125kbps
ecid.txt · Last modified: 2018/08/26 09:36 by 127.0.0.1