Testing the codes:¶
Tachometer code (Measuring RPM):¶
In this video, I am sending commands to control the motor speed, while the hall sensor is giving pulses to the microcontroller to an interrupt pin when it changes from LOW
to HIGH
.
See the changes on the PWM’s frequency (Strobes):¶
In this video, I am sending control commands to the microcontroller to change the frequency, and you can see the changes by white light bar appearing on the video, because the shatter speed of the camera which is 30fps
See the strobes affecting the model movement:¶
In next video, you can see movement of the model under the effect of the strobes.