Week 17. Dec 10.14 2018 - michelle-qin/Portfolio GitHub Wiki

Why there wasn't a Week 16 - portfolio was replaced by synopsis & presentation for younger students

This week, I worked on a problem I noticed: when the encoder was spun too high and the motor speed got too fast, a loud noise would be produced (the stepper motor turned out to be skipping steps). To fix it, I tried various methods. I tried delaying the timer, changing the motorstepping value (which included changing the jumper arrangement in the hardware), and testing previous codes of Zoetrope so track when the error occurred. These tests didn't produce noticeable results.

However, I noticed that there was a certain point when the encoder was spun too high that the noise would be produced. While we want the encoder to be able to spin high enough to blur out the Zoetrope effect, the noise was occurring much after our desired effect occurred. So, I simply changed the max Output Value of the encoder to be 80 (as compared to its original value of 100), which fixed the issue.