I've made so much good progress this week, especially in making the keypad work.
Behold! The selection interface! Lemme walk you through how it works.
We begin with selecting a motor, with each key ( A through F ) corresponding to a motor on the robot arm. A is the base, B is the lower part of the arm, C is upper, D and E are the wrist motors, and F is the hand.
Afterwards, you will be asked to select a direction. It's still taking some fine tuning, however, 1 should reverse the motors, and 0 should send them forward.
Lastly are the number values! You'll be asked to pick 3 values, one for the hundreds, tens, and ones place of the number each. You can also select 0, if you don't want there to be a value in a certain place. Essentially, the possible values range from 0 to 999!
Afterwards, the ATMEGA will execute this handsome piece of code, which based on your selections, will cause the robotic arm to move a certain motor in a certain direction for a certain distance!
I'm so proud of him, he's doing so well.
Comentários