Results 1 to 9 of 9

Thread: P short's servo mp3 board

  1. #1
    Join Date
    Aug 2007
    Location
    MD, USA
    Posts
    1,055
    Post Thanks / Like

    Default P short's servo mp3 board

    Phil, I am hoping you see this.

    I was doing some research on how to playback servo motions tied to music when I came across one of your threads from a few years back on hauntforum. It looked like you were doing something similar, but I didn't get the impression that you ever were able to wrap it up.

    Do you have any further info on it? It sounds just like what I want to do.

    Sent from my SM-G955U using Tapatalk
    ~Jason
    [URL]http://www.tooz.us[/URL]

  2. #2
    Join Date
    May 2007
    Posts
    5,335
    Post Thanks / Like

    Default Re: P short's servo mp3 board

    You're right, I never wrapped it up. The central idea was to use one MP3 channel for music/audio, and one channel to hold encode position data for multiple servos. A program similar to vixen (or perhaps vixen itself) would be used to 'program' the servo data. This was some time ago, but I think that someone had written a plugin for Vixen2 that would be helpful for this task.
    Phil

  3. #3
    Join Date
    Feb 2009
    Location
    Plymouth, MN
    Posts
    9,156
    Post Thanks / Like

    Default Re: P short's servo mp3 board

    Jason, contact Brian Lincoln (Lightman). Brian created a servo motion recorder/player using a Propeller experimenter's board that was absolutely fantastic for this kind of thing.

    https://www.diychristmas.org/wiki/im...ructions11.pdf

    http://digwdf.com/store/
    The DIGWDF Store has closed. Thanks to everyone who supported us through the nearly seven years we were open!
    The store will remain open for downloading documentation and other files.

  4. #4
    Join Date
    May 2007
    Posts
    5,335
    Post Thanks / Like

    Default Re: P short's servo mp3 board

    I'l second what Dirk wrote, I'm unlikely to pick that up again and, as they say, a bird in the hand is worth two in the bush.

    Now that I've reviewed the last page of the hauntforum thread, I realize that I had two projects intermixed in that thread. The second project didn't use the Tenda board nor an SD card, rather it was a small integrated board. I don't have any of the development designs on this computer, but I seem to recall that it was entirely an SMT project, and I would have had to find someone to manufacture the board for any copies beyond what I put together for testing/personal use.
    Last edited by P. Short; 08-13-2019 at 09:07 AM.
    Phil

  5. #5
    Join Date
    Aug 2007
    Location
    MD, USA
    Posts
    1,055
    Post Thanks / Like

    Default Re: P short's servo mp3 board

    Hey Phil,

    So, in the meantime, I went the Arduino route and it seems to be working fine. My audio clips are 30s or less, so I don't have too much compounding drift in timing from beginning to end (like if I was slightly off on a 30 min video).

    I play the audio and record my ADC values on 100ms intervals. Then when I play it back, I kick off the audio again and read back the values at the same interval. I am sure that over a longer time the difference in read/write delays would become very noticable, but at 30s it is fine (plus the servo movements have enough slop in them that you can only be so precise anyways).

    So thanks for an update, it is good to at least hear where things went on it. Hopefully I'll post something when I get this project wrapped up.

    Sent from my SM-G955U using Tapatalk
    ~Jason
    [URL]http://www.tooz.us[/URL]

  6. #6
    Join Date
    Aug 2007
    Location
    MD, USA
    Posts
    1,055
    Post Thanks / Like

    Default Re: P short's servo mp3 board

    Quote Originally Posted by dirknerkle View Post
    Jason, contact Brian Lincoln (Lightman). Brian created a servo motion recorder/player using a Propeller experimenter's board that was absolutely fantastic for this kind of thing.

    https://www.diychristmas.org/wiki/im...ructions11.pdf
    You know, I did a lot of reading on it and working through the source code when I was first starting this. I think it is a good project, but I am not a Propeller guy (I don't think they even make them anymore), and I decided I was going to over complicate things if I tried to Port it to straight C for a Pi or run it on an Arduino. That was when I decided to go my current route. But it is a worthwhile project to read up on and follow.

    Sent from my SM-G955U using Tapatalk
    ~Jason
    [URL]http://www.tooz.us[/URL]

  7. #7
    Join Date
    Feb 2009
    Location
    Plymouth, MN
    Posts
    9,156
    Post Thanks / Like

    Default Re: P short's servo mp3 board

    Another idea, Jason....

    Chris Maloney (ctmal) wrote a visual plugin for Vixen 2 that has the ability to record servo movements into a sequence in live time. Coupled with his RenServo firmware for the PIC 16F688 (and 16F1825), it can replay things exactly as they were made because the servo values are written into the cells in the recording process. You can control eyes, head, and arms or other appendages with some creative thinking. It's quite slick....

    It works by mapping various channels to the servo functions, and then you play the sequence while you record the movements. You use your mouse or up/down/left/right arrow keys (as I recall...) to effect the movements of the on-screen model and the plugin writes the values into the channel cells.
    Last edited by dirknerkle; 08-13-2019 at 10:30 PM.

    http://digwdf.com/store/
    The DIGWDF Store has closed. Thanks to everyone who supported us through the nearly seven years we were open!
    The store will remain open for downloading documentation and other files.

  8. #8
    Join Date
    Aug 2007
    Location
    MD, USA
    Posts
    1,055
    Post Thanks / Like

    Default Re: P short's servo mp3 board

    Quote Originally Posted by dirknerkle View Post
    Another idea, Jason....

    Chris Maloney (ctmal) wrote a visual plugin for Vixen 2 that has the ability to record servo movements into a sequence in live time. Coupled with his RenServo firmware for the PIC 16F688 (and 16F1825), it can replay things exactly as they were made because the servo values are written into the cells in the recording process. You can control eyes, head, and arms or other appendages with some creative thinking. It's quite slick....

    It works by mapping various channels to the servo functions, and then you play the sequence while you record the movements. You use your mouse or up/down/left/right arrow keys (as I recall...) to effect the movements of the on-screen model and the plugin writes the values into the channel cells.
    Hmmm, sounds cool, I am just not following completely I think.

    Do you have a link to where I should start reading up on this? It might be worth it in case it makes something easier in the long run.

    Sent from my SM-G955U using Tapatalk
    ~Jason
    [URL]http://www.tooz.us[/URL]

  9. #9
    Join Date
    May 2007
    Posts
    5,335
    Post Thanks / Like

    Default Re: P short's servo mp3 board

    http://doityourselfchristmas.com/for...-Output-plugin

    There may be other threads by ctmal in the Vixen2 plugins section either before or after this one in time.
    Phil

Bookmarks

Posting Permissions

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