I am currently using a 24V BLDC motor, with gearbox - ratio 1:139. The motor is controlled by a microcontroller(I think) which is included on the motor. The motor is turning without any code, simply by connecting it to 24V.
I want to find a way to control the controller so that the outgoing axle:
I did connect the blue wire from the motor to an oscilloscope, which gave values differing from 0-5V with a 50% duty cycle. Speed of the motor is dependent on the voltage; 24V is full speed, anything less means less speed.
I tried some arduino codes to try to determine what kind of signal was coming from the blue wire, should I use digital or analog input, and how further..?
Does anybody have any experience with the readout / control of this kind of setup?
I want to find a way to control the controller so that the outgoing axle:
- Starts from one specific angle (say 0º)
- Make one complete rotation (either cw or ccw)
- Make one part of a rotation (say ¼, cw) and come back to the start angle (moving ccw).
![motor-gearbox_wires.png](https://i2.wp.com/bartmsmit.files.wordpress.com/2018/03/motor-gearbox_wires.png?ssl=1&w=450)
![motor-gearbox_side.png](https://i2.wp.com/bartmsmit.files.wordpress.com/2018/03/motor-gearbox_side.png?ssl=1&w=450)
I did connect the blue wire from the motor to an oscilloscope, which gave values differing from 0-5V with a 50% duty cycle. Speed of the motor is dependent on the voltage; 24V is full speed, anything less means less speed.
![wiring-diagram_eng.png](https://i2.wp.com/bartmsmit.files.wordpress.com/2018/03/wiring-diagram_eng.png?ssl=1&w=450)
I tried some arduino codes to try to determine what kind of signal was coming from the blue wire, should I use digital or analog input, and how further..?
Does anybody have any experience with the readout / control of this kind of setup?