first of all thank you so much for your reply; I’m not so familiar with Serial port and RS232 module but I’m really interested in learning this part of vvvv with arduino; I would really appreciate if you can explain me better how can I get my distance values with the sensor; I explain step by step what I did so you can find the wrong part:
1.connect the structure of arduino with sfr05 sensor as explained in http://www.robot-electronics.co.uk/htm/srf05tech.htm, I used the secon configuration (is correct or should I configure it as the first one to use in vvvv with RE232 module?);
2.open arduino processing and load the processin file ping (examples_sensor_ping) on the board
- test it on processing through the serial monitor and it works perfectly.
the signal blinks on the back of the sensor with a red led and also on the board so it sends data and i t gets back the distance.
4.I go in vvvv and out the node RS232, I open the F1 help and vvvv loads the help file;as soon as I enable with the last pin
the node became red (don’t know why). So I closed the arduino (with the ping file loaded)and open again vvv RE232 node, press F1, get the help file.
Now when I enable it it works.
- (see the jpg attached)the pin “True if data is available” blinks with the light on the arduino board; the output files from"as value" “Received Bytes” blinks bewteen 2 values null and 0.0000.
the node as value has different setting boolean- SBite… also the input one
How can I set the node to have the values fron the distance sensor?
Is correct what I have done in the provious steps?
thank you again