diff --git a/Debug-Serial.md b/Debug-Serial.md new file mode 100644 index 0000000..1f81349 --- /dev/null +++ b/Debug-Serial.md @@ -0,0 +1,26 @@ +Debug Serial will allow you to get information from the board as Human readable ASCII output. +It can be used to: +* Calibrate the battery voltage reading +* Calibrate the temperature reading +* Debug +* Plot + +## Wiring: +* Connect GND and RX of a 3.3v uart-usb/FTDI adapter to the left (USART2) or right sensor board cable (USART3) depending on config.h settings + +⚠ Red wire from sensor cable delivers 15v !!! + +## Output + DEBUG_SERIAL_ASCII output is: +`1:345 2:1337 3:0 4:0 5:0 6:0 7:0 8:0\r\n` + +|Position|Ouput| +|---|---| +|1|Input1| +|2|Input2| +|3|Right Wheel Speed Command (not the measure speed)| +|4|Left Wheel Speed Command (not the measure speed)| +|5|Battery adc-value measured by mainboard| +|6|Battery calibrated voltage multiplied by 100 for verifying battery voltage calibration| +|7|For board temperature calibration| +|8|Temperature in celcius for verifying board temperature calibration| \ No newline at end of file