ESP32, ESP-Now, Stepper problems?

Hi!

The ESP-Now WIFI is making my stepper motor jitter and loosing rev(without ESP-Now 200rpm, with ESP-Now 150rpm and jitter)

Stepper pulse signal is Pin Low/High with micros(). So 200rpm is 375 micros().

What are the alternatives running my stepper without interfering its pulse signal? Running ESP-Now on different core, or on Bluetooth?

Thanks

Post a wiring diagram. Use a better power supply. Post an image of the project. Use a better power supply. Post your code. Use a better power supply.

And don't forget to use a better power supply.

Power supply 5V 60w 12A, turned to 5.7V. Connected to ESP32 GND and 5V. It has cp2102 chip so I cant go much higher, info in comments https://techexplorations.com/guides/esp32/begin/power/

Post a wiring diagram.

Post an image of your project.

Ok, tried Accelstepper library... no problems. So problem is using micros() in high speeds. Maybe using timers will also help.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.