Serial IO

Arduino Ultrasonic triggering of delayed mirror, explained (Composition by leon)

Author: leon
License: Creative Commons Attribution-NonCommercial-ShareAlike
Date: 2015.06.17
Compatibility: 10.10
Categories:
Required plugins:
Serial IO

A pupil wanted to make a art installation where a mirror, when approaching, suddenly gave you your same reflection but with a 5 second delay. Here is the patch.

It is hold simple, and with a lot of explaining notes, to help beginners to get into Quartz. It is also an easy connection from the ArduinoSensor-Universe to Quartz. Therefore, it has several optional patches for variating input (keyboard as toggle, Arduino with potentiometer knob) for testing and developing. Inside the patch are the sketches for Arduino (just copy and paste), I attach the wiring-pictures made with Fritzing and the Arduino Library for the Sensor (original link is inside the sketch). There is also an option to avoid using this library.

For beginners: you have to download and install the Serial IO plugin of Kineme in http://kineme.net/release/SerialIO/10, therefore you have to login (and if necessary register).

I have been helped here in Kineme a lot, and hope this helps somebody else.

Another theme: I see little activity lately. Guess people dedicate themselves to other stuff, also the founding members. Anyway, I think Quartz is still a great platform for info processing with diverse in- and output (despite I use it mainly for live visuals) and still not deprecated by Apple, so, I would love to see a revival….

Close a serial port with Serial IO

monobrau's picture

Hi all,

I'm developing a composition for an installation that controls a PTZ cam trough serial commands with a UC-232A cable connected. All works fine, but I would like to make it more usable for my setup.

It seems, when stopping the composition the serial port isn't closed by the plugin. When restarting the composition it can't send any commands because the serial port is still in use. The only solution I came up with now is quitting QC, disconnect and reconnect the serial cable and start QC+the composition again.

Does anyone know a way to close the port somehow without having to restart&replug the cable, or is it maybe possible with an update of the serialIO plugin?

Thanks!

Kineme Serial IO controlling 2 Atlona 8x1 switch

axlrecords's picture

Hi,

I'm try to controll 2 Atlona 8x1 switch with the beta-patch Serial IO: http://www.atlona.com/pdf/manuals/AT-HD-V81.pdf

I use a USB cable adapter to 2 x RS 232 with profilic chipset: http://www.manhattan-products.com/en-US/products/5130-convertitore-usb-a....

I install the driver for the adapter. As soon as I plug in the USB cable my Mac is asking to configure the new device. My Mac see the switch as a modem. So I did not any configuration in the network preferences. I launch the IORegistry Explorer to find out the IOCalloutDevice and the IODialinDevice wich are, in order:

/dev/cu.usbserial
/dev/cu.usbserial3 /dev/tty.usbserial /dev/tty.usbserial3

I use all this directory as a string, once at the time, in the device input of the serial IO patch, and put the data string "PORT 2", that is the command to switch to the 2nd input of the switcher, check the send signal, but nothing happened. Do I have to do any configuration in the network preference? Do I use a correct string for the device input?

Any help?