Shop OBEX P1 Docs P2 Docs Learn Events
talking skull - Prop BOE microphone input — Parallax Forums

talking skull - Prop BOE microphone input

knikulaknikula Posts: 26
edited 2013-09-26 07:41 in Robotics
hello sports fans...

talking skull video here:
https://www.dropbox.com/s/dn371q99nz536wm/VID_20130924_091007.3gp

I borrowed some Scribbler S2 microphone code, specifically the LED Microphone monitor, and put this together...

It was my first attempt at using and trying to understand some existing assembly code... the sigma delta ADC conversion is interesting, and someday I might need to send audio in via a line in type connection
so that I might be able to have 2 or more skulls "talk" to each other., and run two or more jaw servos...

I used the "envelope" feature" of the S2 code

I thought I looked pretty hard for someone who had already done this, but I didn't see one....
I used the parallax serial terminal to debug...
I might know just enough to be dangerous now...

code is here:

https://www.dropbox.com/s/c8ibvzmzray11ly/MicrophoneMonitor.spin

Comments

  • Kevin CookKevin Cook Posts: 159
    edited 2013-09-24 13:11
    Nice job! Just in time for Halloween!

    Now you just need to add some back lighting for the eyes.
  • knikulaknikula Posts: 26
    edited 2013-09-24 13:21
    after I posted the code, it is so simple, hardly really worth posting...but I struggled with getting it all together...

    So I figured somebody else might benefit from the effort...the dog is kinda afraid of it...
  • NikosGNikosG Posts: 705
    edited 2013-09-25 05:00
    Your project is awesome!!!!!

    I’m trying to manipulate the S2 microphone and LED monitor for another purpose. So I'm trying to modify Phil's code: "Goertzel Speech Recognition Demo" for my S2 robot.

    Where did you find the “Scribbler S2 microphone code” and the “ LED Microphone monitor” ?.

    Any mechanical details maybe some photos from your talking skull would be very interesting!
    Keep the great work!

    Nikos
  • knikulaknikula Posts: 26
    edited 2013-09-25 06:52
    hey, glad you found this interesting!

    I found this in the 28136 "Robotics for Beginners" workshop...I had to download the S2 setup file, and run the installation for the S2.

    S2.spin contained the whole control program, as well as unused sample code buried within the S2.spin file.

    my construction technique is pretty lame, just a zip tie , a paperclip, and some duct tape.

    a few pictures are here: https://www.dropbox.com/sh/ri7awx7046yecr1/84OGBrgzsd

    another in action video: https://www.youtube.com/watch?v=SQgJ2CudZO8
  • JLockeJLocke Posts: 354
    edited 2013-09-26 07:27
    knikula wrote: »
    ... my construction technique is pretty lame, just a zip tie , a paperclip, and some duct tape...

    Don't put yourself down. The project looks great; and it WORKS! It's a cool project. I've been meaning to do something like that myself. Thanks for sharing!
  • knikulaknikula Posts: 26
    edited 2013-09-26 07:41
    it was one of those, "how can I accomplish this without getting out of this chair?" projects...
Sign In or Register to comment.