Hi everyone!
I’m very new to arduino, actually before diving in I need to know if my project is feasible, and the right way to go with it.
I’m building a sort of mechanical music sequencer, with small bike wheels spinning thanks to a motor and bike fixed gears and a chain.
I need to be able while the motor is off to dial in a BPM (either with a potentiometer or keypad), have an lcd display show the BPM value, and then a switch to start the motor, another switch to stop it, and a homing button that drives the motor back to its zero position, which correspond to the first beat musically.
(In this project the BPM = RPM x 4 , since I have 4 beats around the wheels. That is if the motor and the wheels have a gear of same diameter and then spin at the same speed)
So my questions are:
-
Is it possible to have a homing button with a dc motor or only with a stepper motor? Maybe a dc motor with a sensor?
If the homing button is complicated, I could also just manually move the wheels and motor back to their starting position, but can the motor shaft be moved when the motor is off or is it blocked? -
Is it possible to input the BPM (/RPM) and then start the motor at that precise speed (which would actually be a given PWM voltage) ? I don’t want to start the motor and then set the speed...
-
can I directly mount a bike’s fixed gear sprocket on a 24v motor, so it is the same diameter as the ones on the wheels? Or should I rather have a smaller shaft on the motor and have it spin faster?
I’ll need to be able to run it between 0 and 140 BPM. So I was thinking, if I have sprockets of same diameter on the motor and the wheels, I would get a 24v 50RPM DC motor (taking into account the resistance that would diminish the motor’s speed capability I guess) ; an L298N motor driver; an Arduino Uno; a potentiometer or keypad; an lcd display; 3 toggle buttons; and a power supply. Does it seem right?
Thank you very much in advance! It is a lot of questions.. sorry if some of it is totally off, I’m starting
Have a great day!!