Robotic Arms V2

Robotic Arm V2

We built and programmed a robotic arm. It worked by rotating 3 different motors in response to the buttons being pushed on the lego brick. So the operator would push the left button and the arm would rotate to the left and so forth for right, up, down etc.

Here is the code involved. The commented code is for rotating the robot arm to the left, rotating the robot arm to the right is very similar it only changes the direction of the motor¬† and waits for commands from a different button. This is a very good example of students learning how to use WAIT blocks. In effect they are “Do Until” commands.

RobotArm Symphony (sort of)

Code using EV3 coding environment

ROBOTC code to perform the same operation




You Might Also Like