ZigBee Wireless Communication and switching video in Jitter

29Mar07

Step two towards my Networked objects final. I had written a little program in Processing to switch between two videos from incoming bytes from an Arduino, but Java just couldn’t handle the switching well enough – lag and sound sync problems. So I switched to Max/MSP/Jitter for the video handling which works great. The serial port being read into Max required a bit (most) of the trouble shooting as it read readily from the analog pins – not from the digital, but all is well that end well.

xbeesx2.jpgpicture-42.png

The way this works is a Sharp IR emitter/detector in board #1 reads the analog values and if a given threshold is reached it lets you know via a LED and sends either a 1 or 0 though the XBee ZigBee radio to another board #2, which receives the data and lets you know via another LED on board #2 lighting up, thus visual feed back that the sensor data has been transferred. Next, the in-coming data received in board #2 is read into my laptop with Max and used to switch a video seen in Jitter through the USB serial port. This uses the p arduinoserialreader from the arduino2max patch. Next, I will be replacing the Sharp IR sensor with a cmos camera and broadcasting out to 5 boards to tell which one to switch the video on the computer and screen it is attached to.

Advertisements


6 Responses to “ZigBee Wireless Communication and switching video in Jitter”

  1. 1 angel

    Hi i am new to max and arduino, I am trying to control with a sensor the playback of a movie and I was wondering if you could send me your max patch as example.
    thanks

  2. 2 ama

    hI,
    have you got any souce code for image tranfer between FFD and RFD

    Thanks
    ama

  3. This site was… how do you say it? Relevant!!
    Finally I have found something that helped
    me. Many thanks!

  4. You share interesting things here. I think that your website can go viral easily, but you must give it
    initial boost and i know how to do it, just type
    in google for – mundillo traffic increase go
    viral

  5. Awesome posts you post here, i have shared this post on my fb

  6. It iis not my fikrst time too visit this web site, i am browsing this website dailly andd tqke good informatkon from here all the time.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: