Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Homework - Connor Asher

Good evening everyone, my arduino project proposal is a "Waldo (Hand Puppet RC Device) telemetric input device
the Waldo is known as an ergomic-gonzo-kineti-telemetric input device for controlling both puppets and animatronics.
Please find attached all the notes I compiled including: Notes, References, Diagrams, Materials, Movements I'd like to get out of this project.

If anyone has some insights/advice, I'd be happy to hear it. See you all in class tomorrow!

This image has been resized to fit in the page. Click to enlarge.

Comments

  • Connor AsherConnor Asher Chicago, IL


    Here's the progress on my current build for the SWSCA class: "Animatronic Control Systems: Arudino Programming Basics"
    I have compiled a full design of what I would like to accomplish with my telemetric input device to operate puppets, animatronics, and virtual characters, as well as starting to build the practical version with a platform that can spin 360, to allow a wide-arrangement of movement (need to wait for other parts to come in to complete build)
    As far as coding, I am still modifying it for a wider range of movement to work with the input device.

    Heres the code for the telemetric input device (WIP):

    // SWSCA Arduino Programming Basics with David Covarrubias

    #include < Servo.h >; 
    #include <avr/power.h>

    Wiring -
    |------Arduino Gnd
    Encoder |------Analog 0
    |------Arduino 5V

    | Yellow ------ Digi 9 (PWM)
    Top servo | Red -----------5V
    | Brown -------Gnd

    | Yellow ------ Digi 10 (PWM)
    Bottom servo | Red -----------5V
    | Brown ------

    */
    #include < Servo.h >;               //use servo library

    Servo myservo; // create servo object to control a servo
    Servo otherServo ;

    int potpin = 0; // analog pin used to connect the potentiometer
    int val; // variable to read the value from the analog pin
    int valComp;

    void setup()
    {
    myservo.attach(9); // attaches the servo on pin 9 to the servo object
    otherServo.attach(10);
    Serial.begin(9600);
    }

    void loop()
    {
    val = analogRead(potpin); // reads the value of the potentiometer (value between 0 and 1023)
    valComp = analogRead(potpin);
    Serial.println(val);
    val = map(val, 0, 1023, 90, 179); // scale it to use it with the servo (value between 0 and 180)
    valComp = map(valComp, 1023, 0, 0, 90);
    myservo.write(val); // sets the servo position according to the scaled value
    delay(15);
    otherServo.write(valComp);
    delay(25); // waits for the servo to get there
    }
  • Connor, please don't forget to post your video on the forum!
  • Connor AsherConnor Asher Chicago, IL
    Homework video update (5/6/2015) http://youtu.be/bDlxRdUXB0g
    video wouldn't upload to forums, here's the YouTube link. Enjoy!
Sign In or Register to comment.