I am working on a device with a xiao esp32c3 running a small stepper motor. We want to power via battery - with the battery connected to the battery pins the sketch runs but the stepper doesn’t move…if I connect the same battery to the VUSB and GND pins the sketch runs and the motor works, why won’t it work while connected to the battery pins?
How are the XIAO, stepper motor, and battery connected? If possible, please show this in a simple diagram.
1 Like
Thanks - your question answered my question…I took a look at my schematic and realized I have the stepper driver powered directly from VUSB pin so that’s why it’s not working when the battery is connected to battery pins! It’s just a simple pcb with a small stepper driver chip (MP6507GF-Z) and the XIAO.
Any issues with connecting the stepper driver to battery pins? Or what would be the best way to do this?