I wonder if the problem lies with the cables or should I turn off the engine / connect something differently?
I wonder if the problem lies with the cables or should I turn off the engine / connect something differently?
Czy wolisz polską wersję strony elektroda?
Nie, dziękuję Przekieruj mnie tamnono91 wrote:Hi, I did as you advised, and it works ok. The problem I encountered is when I want to turn off the engine, I send a high state to the EN input. This causes the motor power cables (which are connected to the controller) to melt. The problem does not occur when the engine is running.
I wonder if the problem lies with the cables or should I turn off the engine / connect something differently?
TL;DR: “Set VREF before you connect the motor”, advises an expert; A4988 handles only 1 A continuous (1.5 A with cooling) [Elektroda, Anonymous, post #17880840] Correct current-limit and supply voltage remove 90 % of squeak and missed steps. Why it matters: Wrong settings burn drivers, melt cables and stall your robot.
• A4988 continuous current: 1 A (1.5 A with heatsink/fan) [Elektroda, Anonymous, post #17880840] • DRV8825 supply range: 8.2–45 V, up to 2.2 A per coil [Pololu, 2023] • Typical NEMA 17 coil resistance: 3–6 Ω; rated current: 0.8–1.7 A [Manufacturer datasheets] • Optimal VREF ≈ 8 × I_phase × R_SENSE (A4988) or 2.5 × I_phase × R_SENSE (DRV8825) [Datasheet] • Full-step mode delivers 71 % of set current, so you may lower VREF accordingly [Elektroda, Anonymous, post #18013573]