I wish to control 4 stepper motors with the Bela but feel daunted about getting into I2C as described in the Axis post: https://blog.bela.io/2017/02/27/axis/
Is it possible to modify the example here https://blog.bela.io/2018/12/10/bela-controlling-dc-motors/ to accommodate stepper motors?
Stepper Motors and Bela
Adampultz feel daunted about getting into I2C as described in the Axis post
it's not too bad! It can be done!
Adampultz to accommodate stepper motors?
what motors do you have in mind? Can you send links to some datasheets of relevant motor drivers? The Arduino code posted here can definitely be implemented from Bela using the digital channels.
Thank you for the link, I'll try this! At the moment, I have a Sanyo Denki 103-547-52500 motor that I will be using for testing and will get a L293D Motor Driver chip for that.
Eventually, I will need motors with a stronger torque as I hope to be able to tune double bass strings with them.
I tried looking for online resources for understanding i2C and how I would implement it, can you point me to a useful resource?
If you are using the L293D then you shouldn't need I2C.
Adampultz I tried looking for online resources for understanding i2C and how I would implement it, can you point me to a useful resource?
This largely depends on the specific device you are trying to communicate with. If you have a specific use case in mind, then I can point you in the right direction.
I am trying to build a tuning system for a double bass and will use the Bela to control four stepper motors, each of which can detune a string. I am just starting to learn about torque, etc, so at the moment I am looking to build a prototype, but any help or advice is welcome.
I assume that stepper motors would be the most appropriate in this case. I am not looking for microtonal textures so won't be detuning the strings more than a quarter-tone.