Re-did the Unboxing Video: https://drive.google.com/file/d/19LfE8JAR886Kp8042m-JPcaRlDQb0Fai/view?usp=sharing
Also, completed the Software (Code) and the Hardware part of the project. Now just need to give it a shape (body) and make it look more presentable.
There are 5 modes that I have programmed it to run on based on the angle at which the potentiometer (POT) is turned. This determines the speed and the direction at which the axle of the motor turns along with the brush. The LED also reacts and changes its brightness based on the speed of the motor or the mode set. The 5 modes are:
Off - Both the motor and the LED is Off
Spin slowly - The motor spins very slowly and the LED is dim
Spin at a moderate rate - The motor spins at a moderate speed and the LED is brighter
Spin at full speed - The motor spins at its maximum speed and the LED is the brightest.
Spin at full speed in the opposite direction - The motor spins at its maximum speed but in the opposite direction and the LED is slightly dimmer than the 4th Mode.
During the programming process, After some experiments, I noticed something strange. Value 0 would turn the motor at its maximum speed whereas Value 20 would stop the motor. This seemed strange and looked like a bug too. I was not sure if this was the case only with my device or this was intentional. But after some trial and errors, I figured this out and found a solution to this problem as you can see in the image above :-)
Comments