From 9636a6f1a6928cd8cc7454883e07a68ac7a67cfd Mon Sep 17 00:00:00 2001 From: Candas1 Date: Mon, 6 Feb 2023 11:19:28 +0100 Subject: [PATCH] Updated Diagnostics (markdown) --- Diagnostics.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Diagnostics.md b/Diagnostics.md index d4560f8..c998cc1 100644 --- a/Diagnostics.md +++ b/Diagnostics.md @@ -3,10 +3,11 @@ For a more detailed troubleshooting you can use [Debug Serial](https://github.co ### 1 beep (low pitch) The motor is constantly monitored for errors. These errors are: -- **Error 001**: Hall sensor not connected. At any moment, at least one Hall sensor should be high. This error can be triggered if a Hall sensor is defective or not connected, or if you haven't connected a motor. You can disable [motors](https://github.com/EFeru/hoverboard-firmware-hack-FOC/wiki/Parameters#cd-single-wheel-use) if not connected.
+- **Error 001**: Hall sensor not connected. At any moment, at least one Hall sensor should be high. This error can be triggered if a Hall sensor is defective or not connected, or if you haven't connected a motor. - **Error 002**: Hall sensor short circuit. At any moment, at most 2 Halls sensors should be high. If 3 Halls sensors are high, one sensor is probably defective/shorted. - **Error 004**: Motor NOT able to spin (Possible causes: motor phase disconnected, MOSFET defective, operational Amplifier defective, motor blocked, too much load). If this error is triggered because there is too much load on the motors, you can increase [parameters](https://github.com/EFeru/bldc-motor-control-FOC#parameters) **r_errInpTgtThres** and **t_errQual** in [BLDC_controller_data.c](https://github.com/EFeru/hoverboard-firmware-hack-FOC/blob/eb20cc0acad0da91ead7d207fa6a83f1778f03e1/Src/BLDC_controller_data.c#L274) file. +You can disable [motors](https://github.com/EFeru/hoverboard-firmware-hack-FOC/wiki/Parameters#cd-single-wheel-use) if not connected.
Motor diagnostic is enabled by default, it can be disabled in [config.h](https://github.com/EFeru/hoverboard-firmware-hack-FOC/blob/main/Inc/config.h) with DIAG_ENA parameter. ### 2 beeps (low pitch)