this post was submitted on 28 Jun 2024
14 points (100.0% liked)

Ask Electronics

3323 readers
1 users here now

For questions about component-level electronic circuits, tools and equipment.

Rules

1: Be nice.

2: Be on-topic (eg: Electronic, not electrical).

3: No commercial stuff, buying, selling or valuations.

4: Be safe.


founded 1 year ago
MODERATORS
 

According to the A4998 datasheet you're supposed to wait 1 millisecond after waking from sleep to allow the circuit to energise.

What is the worst that can happen if you neglect to do this? I use stepper motors to drive a plant watering pump and losing a step or two really isn't an issue. Is there a risk of damaging the module or is losing the first step the biggest risk?

I trigger the pump by pulling the EN pin low and a 555 timer on the STEP pin makes it pump continuously. It seems sensible to pull the SLP pin down as well with it as that saves a little bit of power.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 7 points 4 months ago* (last edited 4 months ago) (1 children)

The charge pump not being stable can mean several things. If it's not where it should be (it won't be) the high side fets won't turn on all the way, causing loads of excess heat inside the chip. This also may never recover, depending on the duty cycle, and then that chip will burn up/let the smoke out.

Essentially, the charge pump capacitor has a set of circuitry that brings the low side of it low, lets it get 5 or 12v, then floats it up to the voltage rail, to turn on the fet hard. If it's only partially on, the fet has a resistance that is too high. (The high side of the capacitor usually has a diode to charge it)

[โ€“] [email protected] 1 points 4 months ago

Hmm allright. The power saving isn't that significant so perhaps I should find a better way for it.