Nema 17 d1 mini guidance

Hello i am a noob when coming to this, need need help and guidance. I want to control a NEMA 17. I have all kind of PCB laying around, guss somthing will work. I have D1 mini, HW-095, LM2596, and A4988. My plan is to control the motor. This is the first step, what parts sholde i use? the LM or the HW? i have seen some guides but all sems to be on aroundio. i whant esp to controll it using HA and it sems just lighter to use

If I read correctly the a4988. Stepper Component — ESPHome