Re: [NYCR:Microcontrollers] Digest for nycresistormicrocontrollers@googlegroups.com - 3 Messages in 1 Topic

9 views
Skip to first unread message

G.H. Hovagimyan

unread,
Dec 29, 2011, 8:55:01 AM12/29/11
to nycresistormi...@googlegroups.com
There's different ways to do this. The cheapest is to get a Wii mote and use that. It cost around $20. I got one on ebay for $5. Wii mote communicates via bluetooth. You can use an app called OSCulator (mac) to get the numbers  to use.  You want 5 locations for your trigger, forward, back, left, right and up plus on/off.  You can either take the Wiimote apart to fit it in your box or you can stationary mount the Wii mote and put an infrared bulb in the box.

 You can also just make an infra red box and use  a cheap webcam to read it. You take off the lens, remove the infrared filter and replace it with a bit of black film to block out the light. Use openCV and maybe Blobscanner.  Or use TUIO as software.   Or use Reactable Or make your own Touchtable.

Ardunio's good, it has an accelerometer and a sound module if you want to make a self-contained unit.  Check out maker shed and search the web for parts. 

So it depends on what the final product will be and how it interfaces with the sound. 




nycresistormi...@googlegroups.com
December 29, 2011 7:52 AM

Group: http://groups.google.com/group/nycresistormicrocontrollers/topics

    Alexandra Gelis <in...@alexandragelis.com> Dec 28 01:06PM -0500  

    Hi Happy holidays for all of you!!
    I have a short 2 questions.
    First of all, I am trying to create a little box that when its move by the
    viewer trigger different sounds depending of the new position of the box.
    To be more clear:
    1. The box is off until the viewer take it, so i need an initial switch.
    2. Depending of the direction of the movement I need to trigger 5 different
    sounds, so I was planning to use an accelerometer that captures x, Y and z
    values of the position of the box.
    Do you have some suggestions of what kind of accelerometer I can use? I
    need the most simple possibility to program, or do you have another idea of
    switch that can work for me?
    Right now I am in NYC and I need to find urgent those components, where can
    I found it in the city?
     
    Thanks a lot for all your help.
    Alexandra

     

    "Alpay Kasal" <al...@litstudios.com> Dec 28 01:30PM -0500  

    Hi Alexandra, maybe I can help... I have such a box right now
    controlling the state of my demo room where i control different
    interactive pieces... what i've found - and this could totally be me
    doing something wrong or my choice to use AA batteries - but my
    accelerometer "drifts" over time, which can be very frustrating when
    you expect the cube to work well as a cube at perpindicular angles to
    gravity. I think i just need to switch to a better lithium ion power
    source, maybe someone else can chime in on this. i decided to rebuild
    it using tilt switches... unlike an acceleromter, this is a mechanical
    on/off switch driven by gravity. there is a mercury version (a drop of
    mercury inside a cavity rolls around with gravity) and a more earth
    frienly version is based on a ball bearing. the only drawbak (maybe not
    a drawback) with the ball bearing switch is that you can actually hear
    the ball inside it's brass casing. i'm using multiple switch for all
    axii of my cube and it is audible.maybe the mercury switches are better
    for your application.
     
    also using a air of xbees to wirelessly talk to a computer in my
    case... this would work for you if you're driving audio from a
    computer. if you want to drive audio from within your cube, lady ada's
    wave shield is a pretty easy assmembly. it works well.
     
    how big is your box? and does it need to be wireless? if it's reall
    small, maybe just use a microcontroller (just the chip), xbee, the
    sensor(s) of your choice, and a power source. if it has some elbow room
    inside, you could keep a arduino inside and use wifi off the new boards
    (though this will eat your battery quickly), and have the wave shield
    in there with a small speaker.
     
    ps: I just looked at your website, great work there!
     
    Alpay Kasal
    Artist/Engineer
    http://Supertou.ch
    twitter: @alpaykasal
    blog: http://blog.LitStudios.com
     
    On Wed, 28 Dec 2011 13:06:46 -0500, Alexandra Gelis wrote:
     
    Hi Happy holidays for all of you!!I have a short 2 questions.
    First of all, I am trying to create a little box that when its move by
    the viewer trigger different sounds depending of the new position of
    the box. To be more clear:
    1. The box is off until the viewer take it, so i need an initial switch.
    2. Depending of the direction of the movement I need to trigger 5
    different sounds, so I was planning to use an accelerometer that
    captures x, Y and z values of the position of the box.
    Do you have some suggestions of what kind of accelerometer I can use?
    I need the most simple possibility to program, or do you have another
    idea of switch that can work for me?
    Right now I am in NYC and I need to find urgent those components, where
    can I found it in the city?
     
    Thanks a lot for all your help.
    Alexandra
     
    --
    You received this message because you are subscribed to the Google
    Groups "NYCResistor:Microcontrollers" group.
    To post to this group, send email to
    nycresistormi...@googlegroups.com.
    To unsubscribe from this group, send email to
    nycresistormicrocon...@googlegroups.com.
    For more options, visit this group at
    http://groups.google.com/group/nycresistormicrocontrollers?hl=en.

     

    "Alpay Kasal" <al...@litstudios.com> Dec 28 01:33PM -0500  

    i just remembered, one of my videos shows my version of the box in
    action very briefly http://www.youtube.com/watch?v=3NMErVZkXXA
     
    Alpay Kasal
    Artist/Engineer
    http://Supertou.ch
    twitter: @alpaykasal
    blog: http://blog.LitStudios.com
     
    On Wed, 28 Dec 2011 13:06:46 -0500, Alexandra Gelis wrote:
     
    Hi Happy holidays for all of you!!I have a short 2 questions.
    First of all, I am trying to create a little box that when its move by
    the viewer trigger different sounds depending of the new position of
    the box. To be more clear:
    1. The box is off until the viewer take it, so i need an initial switch.
    2. Depending of the direction of the movement I need to trigger 5
    different sounds, so I was planning to use an accelerometer that
    captures x, Y and z values of the position of the box.
    Do you have some suggestions of what kind of accelerometer I can use?
    I need the most simple possibility to program, or do you have another
    idea of switch that can work for me?
    Right now I am in NYC and I need to find urgent those components, where
    can I found it in the city?
     
    Thanks a lot for all your help.
    Alexandra
     
    --
    You received this message because you are subscribed to the Google
    Groups "NYCResistor:Microcontrollers" group.
    To post to this group, send email to
    nycresistormi...@googlegroups.com.
    To unsubscribe from this group, send email to
    nycresistormicrocon...@googlegroups.com.
    For more options, visit this group at
    http://groups.google.com/group/nycresistormicrocontrollers?hl=en.

     

You received this message because you are subscribed to the Google Group nycresistormicrocontrollers.
You can post via email.
To unsubscribe from this group, send an empty message.
For more options, visit this group.

--
You received this message because you are subscribed to the Google Groups "NYCResistor:Microcontrollers" group.
To post to this group, send email to nycresistormi...@googlegroups.com.
To unsubscribe from this group, send email to nycresistormicrocon...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/nycresistormicrocontrollers?hl=en.

ghh.vcf
Reply all
Reply to author
Forward
0 new messages