Servo motion recorder and playback


Closed Thread
Results 1 to 14 of 14

Hybrid View

  1. #1
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,653


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Snap View Post
    Are there any simular threads out there? Is it a simple as a loop with a input value? I imagine I will need more memory ,is there a eeprom or sd card tutorial or thread out there? Thank You for your time.
    Hi, Snap

    I do not remember any similar dataloggers here ... moreover with the "Replay " function

    Very simple , for the principle ...

    Servos are driven with a " pulsout " command ... you just need to memorize the pulse duration every, say 35 to 100 ms ... 8 bits is enough ...

    4 mins = 28 x 60 x 4 = 6720 samples @ 8 bits ...

    so, a 64K I2C memory is enough here ( 10 ms writing delay per sample ...) , processor can be as simple as a 16F628 ...

    could even fit into a 18F2620 chip ... with its 64k Prog memory...

    SD Card is overkill ... until you want to have many " programs " to play ...

    Alain
    Last edited by Acetronics2; - 12th June 2010 at 11:07.
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  2. #2
    Join Date
    Apr 2007
    Location
    Southern Ontario
    Posts
    50


    Did you find this post helpful? Yes | No

    Default Thank's for all the help

    Thanks for getting me started. I ordered a 256k I2C chip and can't wait to test it out . The tutorial should be enough to get it working. I am going to need real time for this because I am playing an SD card soundtrack along with the servo movements. I will be using a joystick that provides 2 pot signals ( 2 axis) as well as a 3 button inputs. This will be controlling a talking moving skull. So Im thinking I will start with another button input that starts (and stops) the I2C recording. Everything that happens now will be recorded. A second button starts the independent audio and the joystick pots feed the analog to digital inputs and the coresponding values are recorded in the I2C. The jaw or 3rd button will be a straight command for the servo to go full open when it is pressed and full closed when it is not. I have done this all before with the PC and a servo controller card and have a video on youtube called Uncle buck sings rob zombie but as I said before I want to lose the bulky pc.
    Thanks again I will post when I get further.
    Beer is proof that God loves us and wants us to be happy.

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts