Anyone like this idea?
A little while ago, I was screwing around with my setup, and within a couple hours, got the iPhone to directly control 4 of the servos, 8 LEDs, and 8 switches through the Medusa! Wirelessly! I did this using an open-source program called 'Processing', and a $5 app from the iTunes store called Touch OSC (there are even free apps that do the same thing, but this one had better examples).
Basically, I made a custom interface (Touch OSC gives you a builder utility for this purpose) that looks like this...
Each of the buttons on the lower right control one of the switches. Each slider controls the brightness of an LED, and the XY pad (at the left) controls 2 servos. Also... and here's one of the coolest features... the accelerometer is available too! So, I tied that to two more servos.
Well, this was just for my screwing around, but I can think of two really cool uses for this technology - if someone's willing to write some software.
#1 - Launch VSA routines wirelessly (e.g.: using VSA console)
Be walking around your haunt, and trigger a routine right when you know it'll have the biggest effect. Ideally, this could be an additional feature on a piece of software that allows multiple routines over one DMX line (e.g.: DMXorcist) - that way, you could have some props/routines triggered by mat sensors and beam breaks, and others could be asynchronously tripped by the hauntmaster.
#2 - Use the accelerometer function to control a skull
Put the iPhone under your hat. Now the skull follows your movements. No camera required. Only drawback, it'd only give you two axes, since gravity wouldn't let you resolve the rotational Z axis. But this still might make for some great (and inexpensive) live control and/or method for recording skull movement.
Anybody else like this idea? Personally, I really like #1, because you could be anywhere in your haunt and unleash some terror!
- Hook
-
iPhone/iPod Touch triggering VSA routines? –
07-24-2009,07:24 PM
Use DMX to Animate Servos, Dim LEDs, and Control Relays using just one board
Medusa DMX now available at...

-
07-24-2009,10:41 PM
Hook...you are a madman. I love it! What a great addition to any haunt, now I gotta get me an iPhone.
Your resident Proptologist.
www.hauntcast.net
-
07-25-2009,06:10 AM
Hey Hook,
Great idea... I think I mentioned to you before that I have an iPhone Developer license and may add some similar type of functionality for ComposeIt if I can ever get around to doing it.
Also, the original concept behind TrackSkull was a 2 Axis accelerometer and a rotational sensor. Worked OK but ended up becoming more expensive than a $100 camera.
Let me know if I can help in any way.
-
-
07-25-2009,08:24 AM
Well... I'm good with hardware and firmware, but I haven't done any GUI programming. However, I can think of at least two talented individuals here who are capable, if they were so inclined.if someone's willing to write some software.
I just think it's a cool idea, wanted to see if anyone might run with it.
Here's the (totally hacked) code, if anyone wants a look. Credit to Andres Colubri for the Enttec Pro DMX class.
DMX_OSC_test.txt
Nelson, you wouldn't even need the dev kit in this case. Try out one of the OSC apps in the iTunes store. With TouchOSC you can make your own layouts, the iPhone can support multiple pages of layouts at the same time. Each button or slider just sends a unique (and configurable) message over UDP. The only bummer that I see, is that you can't add text labels to the layout.
Hmm... how about a directable cannon, that fires on command? I've been wanting to make an AirZooka-oid addition to the haunt.
- HookUse DMX to Animate Servos, Dim LEDs, and Control Relays using just one board
Medusa DMX now available at...

-
07-25-2009,11:29 AM
That is very cool!!! I am a huge iphone fan, and have been looking at controlling servos with it, but since I don't own a MAC the iphone SDK would not work for me.
I did see this iphone controlled R2D2 a few weeks ago that got me thinking of all the halloween stuff that could be controlled.
The iPhone-Controlled R2-D2 - R2-d2 - Gizmodo
-
07-25-2009,04:42 PM
Yeah, I checked out the video. That guy is actually using the same type of app that I was using. He's using mrmr, though. Here's a video of him controlling a servo with it. Apparently, I wasn't the first

Servo
- HookUse DMX to Animate Servos, Dim LEDs, and Control Relays using just one board
Medusa DMX now available at...

-
The Great Pumpkin
- Join Date
- Aug 2008
- Location
- North Phoenix, AZ (Deer Valley)
- Posts
- 309
07-26-2009,07:50 AM
That would be so freakin awesome if I could conrol the haunt like you mention in option 1
I also am a huge iPhone fan but know nothing about programing. If you guys could make this work with vsa it would be the coolest thing ever!!! I hope this moves forward!
-
07-26-2009,09:43 AM
Unfortunately for 3 axis skull control you need a three axis accelerometer solution, the first two axes are very simple and I have solutions that are a lot simpler and cheaper than using an iPhone.... it is the third axis that's the killer, ie the PAN axis, iPhones and just about any other type of simple MEMS are not very good at PAN sensing, and an acceptable PAN solution increases the cost from $20 to $600
-
07-26-2009,12:35 PM
True. And I wouldn't suggest anyone buy an iPhone or an iPod Touch just for this. But they're so freakin' cool for everything else, too! I mean... have you seen the iFart app?? Pure Genious!

But I digress.
Yeah, I don't see how full 3 axis control could done with the iPhone alone. Integrating the Pan movement just wouldn't cut it. However, I was wondering... how much mileage does everyone get out of the side-to-side axis of their 3-axis skull. It might be suitable to map the iPhone side-to-side axis to the rotational axis, and then go back through VSA to manually input side-to-side moves. Just a thought.
Anyway, I still consider idea #1 to be more interesting and universally applicable. And hey... look! There's two GUI programmers on this thread now!
- HookUse DMX to Animate Servos, Dim LEDs, and Control Relays using just one board
Medusa DMX now available at...




LinkBack URL
About LinkBacks
iPhone/iPod Touch triggering VSA routines?





Bookmarks