Problems with serial

alexbeim's picture

I'm trying to test something really simple. I have a device sending some data through serial and I'm trying to write it to an image with string patch but I don't see anything. But if I open the Serial Monitor in Arduino I see the data appear. Here is an image of what I'm doing.

Any ideas?

PreviewAttachmentSize
Picture 1.png
Picture 1.png126.74 KB

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

franz's picture
device name missing

what if you enter dev.cu.usb.whateveryourportis in the device name on the QC patch ?

i'm assuming you're using the FTDI usb serial drivers (latest are 2.1 if i remember well) and the dicemilia board

cwright's picture
definitely

franz is right, without anything in the device field, the patch will happily do nothing - it doesn't know where to read from. make sure that field is the same as the one used in the arduino software (/dev/cu.usb.[stuff]), and then see if it works or not.

you might run into some problem - the serial patch on this site is ancient, and I've not released an updated version for a while; in house, we have it happily communicating with our arduino board, so it works in its latest form. I'll try to post that sometime today to get y'all up to date :)

alexbeim's picture
Awesome, looking forward to

Awesome, looking forward to trying it.

alexbeim's picture
Is there a HEX to RGB patch somewhere?

I receive hex commands through serial and I want to convert them into RGB or HSL Is there a patch to do this?

Alex

www.tangibleinteraction.com

cwright's picture
javascript?

This is probably easiest with some javascript. take a string input, split it into three parts, and you're good to go.

btw: number inputs accept typed hex (not sure if input strings in hex work -- need to test); typing in 0x2a actually sets the value to 42. Pretty handy for us nerds :) This might be of use in this case...

alexbeim's picture
Serial Patch in VDMX

Will the serial patch work inside VDMX? If not, is there a way to make it work?

Alex www.tangibleinteraction.com

franz's picture
vdmx also has nice coders....

it should. If it doesn't , you'd rather ask David Lublin or MrRay from vdmx to developp you a serial monitor...

alexbeim's picture
It does!

This is awesome I just did a quick test I can now create all kids of sliders and sequencers to control stuff through arduino thanks to Kineme IO Serial under VDMX

I'll try to post a video when I have a chance

Alex www.tangibleinteraction.com

franz's picture
sending ?

to clarify: are you sending data to arduino as well, or just receiving ?