Thorangutang
Member
Hi there, I am working on a project where I want to synchronize triggering playback of sound-files with the movements of two stepper motors.
Things are working but when playing back a sound-file, the steppers will run slower and with a different tone. I assume its the interrupts from the sd card that is causing this?
So the question: is it feasible to run two stepper motors and playback a sound-file at the same time?
There is also some other audio synthesis being done but that has no effect on the behavior of the steppers.
Teensy 4
Audio shield.
Accelstepper
Trinamic TMC5160 Stepper driver being run in step mode. (Has to be initialized over spi)
Thank you for any advice!
Things are working but when playing back a sound-file, the steppers will run slower and with a different tone. I assume its the interrupts from the sd card that is causing this?
So the question: is it feasible to run two stepper motors and playback a sound-file at the same time?
There is also some other audio synthesis being done but that has no effect on the behavior of the steppers.
Teensy 4
Audio shield.
Accelstepper
Trinamic TMC5160 Stepper driver being run in step mode. (Has to be initialized over spi)
Thank you for any advice!