Building Block Robotic Arm Kit

Prints (0)

Description

This a Robotic Arm Kit meant to be used by students in the classroom. The kit helps students into the basics of electronics, using servos, 3D printed pieces,  and simple mini kit controller electronic boards. The design is meant to feature a structure similar to popular building block toys for easy assembly. The hope for this project is that students will see the great opportunity a career in STEAM provides. The robotic arm is meant to be an interactive design to intrigue students to inspire them to get involved with 3D printing and in STEAM in general.

Build of Materials:

  • Formlabs resin (1) (https://formlabs.com/materials/)
  • Any 3D printer and 3D printer material will be fine
  • Arduino Uno (1)  (https://store.arduino.cc/usa/arduino-uno-rev3)
  • F/M pin connector wires (https://www.digikey.com/product-detail/en/825/1528-1161-ND/5353621?WT.mc_id=IQ_7595_G_pla5353621&wt.srch=1&wt.medium=cpc&WT.srch=1&gclid=Cj0KEQjwmcTJBRCYirao6oWPyMsBEiQA9hQPbrnZkH5Hc5aangUC_eyGhT0ZzfuG1K9b0RPHr2Me-i8aAmk58P8HAQ)
  • M/M pin connector wires (https://www.digikey.com/product-detail/en/adafruit-industries-llc/759/1528-1155-ND/5353615)
  • 2-Axis Joystick (1+) (https://www.adafruit.com/product/245?gclid=Cj0KEQjwmcTJBRCYirao6oWPyMsBEiQA9hQPbkskiOFIJtg1tmXHzjUt5l2KSPi7iT31QqnhDNdi9okaAmNX8P8HAQ)
  • Servo Motor (2+) (https://www.digikey.com/product-detail/en/2201/1528-1110-ND/5154685?WT.mc_id=IQ_7595_G_pla5154685&wt.srch=1&wt.medium=cpc&&gclid=Cj0KEQjwmcTJBRCYirao6oWPyMsBEiQA9hQPbm5dVX5sUPiMPLMxrZTzLxhbNEybPuYlAvXd03Dfk3caAvkX8P8HAQ)
  • Solderless Breadboard (1) (http://www.allelectronics.com/item/pb-400/solderless-breadboard-400-contacts/1.html?gclid=Cj0KEQjwmcTJBRCYirao6oWPyMsBEiQA9hQPbn6HzParOBt7eDJLWBxLP4-gJEdkjD86JXRcOVsmhXUaAhdp8P8HAQ)
  • Code:

    #include <Servo.h>

    const int servo1 = 3;       // first servo const int servo2 = 10;       // second servo const int joyH = 3;        // L/R Parallax Thumbstick const int joyV = 4;        // U/D Parallax Thumbstick

    int servoVal;           // variable to read the value from the analog pin

    Servo myservo1;  // create servo object to control a servo Servo myservo2;  // create servo object to control a servo

    void setup() {

      // Servo     myservo1.attach(servo1);  // attaches the servo   myservo2.attach(servo2);  // attaches the servo

      // Inizialize Serial   Serial.begin(9600); }

    void loop(){

        // Display Joystick values using the serial monitor     outputJoystick();

        // Read the horizontal joystick value  (value between 0 and 1023)     servoVal = analogRead(joyH);               servoVal = map(servoVal, 0, 1023, 0, 180);     // scale it to use it with the servo (result  between 0 and 180)

        myservo2.write(servoVal);                         // sets the servo position according to the scaled value    

        // Read the horizontal joystick value  (value between 0 and 1023)     servoVal = analogRead(joyV);                servoVal = map(servoVal, 0, 1023, 70, 180);     // scale it to use it with the servo (result between 70 and 180)

        myservo1.write(servoVal);                           // sets the servo position according to the scaled value

        delay(15);                                       // waits for the servo to get there

    }

    /** * Display joystick values */ void outputJoystick(){

        Serial.print(analogRead(joyH));     Serial.print ("---");      Serial.print(analogRead(joyV));     Serial.println ("----------------"); }

    Lesson plan PDF file posted below in the downloadable files!

    Assembly Guide also in the downloadable files!

    Design Files

    File Size

    robotic arm kit.stl
    5.41 MB
    Building Block Robotic Arm Assembly Lesson Plan.pdf
    135 KB
    Building Block Robotic Arm Assembly.pdf
    18.6 MB

    Comments

    Your browser is out-of-date!

    Update your browser to view this website correctly. Update my browser now

    &times;