I've made so much good progress this week, especially in making the keypad work.
![](https://static.wixstatic.com/media/6146f1_731dfb6fe361461088d67a24ea9c59f7~mv2.png/v1/fill/w_295,h_631,al_c,q_85,enc_auto/6146f1_731dfb6fe361461088d67a24ea9c59f7~mv2.png)
Behold! The selection interface! Lemme walk you through how it works.
![](https://static.wixstatic.com/media/6146f1_2bf66247e64b42888a1c6e959329925b~mv2.jpg/v1/fill/w_980,h_1307,al_c,q_85,usm_0.66_1.00_0.01,enc_auto/6146f1_2bf66247e64b42888a1c6e959329925b~mv2.jpg)
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.
![](https://static.wixstatic.com/media/6146f1_6ee9721c6ca64850ac7470c7aebb3e11~mv2.jpg/v1/fill/w_980,h_1307,al_c,q_85,usm_0.66_1.00_0.01,enc_auto/6146f1_6ee9721c6ca64850ac7470c7aebb3e11~mv2.jpg)
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.
![](https://static.wixstatic.com/media/6146f1_3e2ac8fc610443dbbb1b84203faa5ced~mv2.jpg/v1/fill/w_980,h_1307,al_c,q_85,usm_0.66_1.00_0.01,enc_auto/6146f1_3e2ac8fc610443dbbb1b84203faa5ced~mv2.jpg)
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!
![](https://static.wixstatic.com/media/6146f1_4f0622ffa5364a929db2231a726f7bf8~mv2.png/v1/fill/w_980,h_516,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/6146f1_4f0622ffa5364a929db2231a726f7bf8~mv2.png)
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.
Comments