jitter\max witilt probelms/solution

here i write my experiance with witilt ver 2 bluethooth wirless module and its interaction with max\jitter program.

power- the manual says 4-6volt. i used 2 3v batt, i got the red light but the bluetooth couldnt find the device. i would be happy to hear from anybody on batteries that work. and can be bought locally.(update: now it works)

i am using a 5vol 800mA wall wart taken from an old iomega zip drive i had. it works.

make sure you connect using a passkey, the passkey is default. for connection i use a cheap BT usb connector from MSI, and xp bluetooth network connection app.

hyprterminal connects just fine using the raw mode.

i had another program i wanted to work with (eyesweb.org) but has a strange habit of only working with serail devices between the range of 1-9, as my com was 10 i was out.

luckely u can change the assigned com port of the bluetooth serial in [control panel>hardware>device manager>ports>standard serial over bluetooth link (com10)> port settings>advanced>com port number] check box.

some of the lower com number are marked as “in use” but after clicking away the worning it works. my bt com is now com 5…

i connected to max\jitter using the serial object. it did not recognize the assigned port (com10) but after looking at the names he gave the port he did recognize (a=com1…d=com4) i changed the serial name to j (=com10) and got it talking.

i am still stuck here as i am getting ascii codes and need to find a clean fast way to turn it into chareters, and then write a parser that can chop the input

"x=555

y=677

z=566"

into integars.

more usefull posts:

http://www.sparkfun.com/cgi-bin/phpbb/v … php?t=1644

and this one has some more info on hooking up the witilt to anything other then hyperterminal

http://www.sparkfun.com/cgi-bin/phpbb/v … php?t=2024

passkey is “default” btw

i manged to fry one the caps trying to connect a diffrent power supply. must have short circuted. the C1 cap just blew in my face. ho the smell of stupidness.

i went out and bought a 10uF cap and soldered it in place, the witilt works. again.

http://img.photobucket.com/albums/v315/ … witilt.jpg

Yair,

Try a Lithium - ion or 1 cell Li-polymer Battery.

My WiTilt works great on a single 560 ma Li-poly.

You can get 'em real cheap at electronics goldmine.

http://www.goldmine-elec-products.com/p … ber=G15590

the only drag is you gotta be careful charging them. Won’t work with

a regular ni-cad charger. Plantracos got a good charger for @ 30 dollars, the spark one seems cool as well. lots of schematics around the web.

Glad to see you’ve got your wi-tilt working in Max. I’m still struggling.

Can get data but it’s just a long list of # in the max window. And it’s

easy to crash. The most consistant input was with terminal in OSX.

Not sure how to format this data into max readable format.

I would love to bypass the serial object altogether, maybe with the objects shell or hi (with a bluetooth usb dongle).

I’ll ask Luke Dubois at the Bent Fest in NYC this coming week.

I know he’ll know. I’ll post any of his gems. break a leg - Teflon.

Yair & WiTilt users…

check out this Tom Igoe/ML Schneider Max Patch.

http://tigoe.net/pcomp/examples/serial- … nse3.shtml

Looks like it might solve my problems with data formating in Max with a couple of mods.

Let me know if anyone gets it to work with WiTilt or if you think I’m barking up the wrong tree…

-Best Teflon.

hi, neglected the thread. got some more work, i didnt see igon’s patch but his link in the product page sure made it an easier buy…

http://img.photobucket.com/albums/v315/ … jitter.jpg

i devised m own small “Multi-byte serial exchanger”. abit diffrently.

i think we’ll hear more about the witilt now the [nintendo wii blitz has begun.

personaly i connected it to the 3d etch-a-sketch example and some opengl stuff and it works. dont pick on the [serial], the [serial] is your friend.

[Pinky Magbanua from igoe’s lab gives a good report on usage with link to an [OSC gatway especialy for the witilt

http://img.photobucket.com/albums/v315/ … witilt.png](W2O - Woon Seung Yeo)](http://itp.nyu.edu/physcomp/sensors/Reports/WirelessTiltSensingInAnOccupationalTherapyApplication)](Gaming and Video Game News & Reviews | Engadget)

I will try these solutions tonight. Thanks soo much for the tips.

I too have been working, just checked this thread. I got too distracted in NYC to ask Luke D. for a serial tutorial. Thanks for sharing! :smiley:

…hope your WiTilt application works

excellently!

Best- Teflon

tefman@hotmail.com

i post again after a long time, regarding a different project. and it hit me i forgot to show the result for this one.

here are 2 youtube vid’s of the accelerometer connected to max/msp/jitter over bluetooth. the first one is a bit rough, no battery and no video textures.

http://www.youtube.com/watch?v=FvWerivk3UE

http://www.youtube.com/watch?v=EsPtW59Ozac

the rendering is done using jitter opengl capabilities. basically the patch takes the current position of the sensor and pushes previous position back, creating a segmented line, that gets various polygons attached to. on those polygons i texture video (can be live, not shown) and shaders. i can (clean) and attach the source if your a jitter user.

i would also like to thnx sparkfun for their support and connsidration. your great!