Creating a robotic arm

I am trying to create a robotic arm but i couldn’t do it properly because i am a beginner. I have tried a model and i couldn’t add the armature for the movement of the robotic arm. Can anyone help me out ?