Professor Brown's mouse mover
For my microcontrollers project, I decided to make an automatic mouse clicker using a MSP432P401R Microcontroller robot. In the final project, the robot would first drive forward to find the mouse and then servo motor held a pen that would oscillate and click the mouse every couple of seconds. I used my lecture material and previous labs as a guide for designing the layout for this project. I also clearly outlined what I would need functionally and physically for the code to operate. This was a four week project and I was able to obtain the desired function for intial idea, but improvements can definetly be made!
Code Requirement/Physical Requirement
--Servo motor: PWM Signal using Timer and Timer Compare register. Also a function that centered the servo at zero degrees. Servo motor capable of granting enough force to click a mouse(torque value and voltage requirement).
--Speaker: Play note function with constants of given hex values of notes. Speaker component.
--Wheel motors: Another timer that would be the basis of all wheel direction functions.
Other components and materials used was: state timer(code), zip ties, pen/pointy object, and timer interrupts (code).
This was a very rewarding and fun project to finish off the semester with. To improve this project I would probably trying 3d-printing or substituting the base servo arm with an item that works better. My original designs of a vertical arm were not successful which is why I used a pen attached to the servo arm instead.