Serial communication w/ Arduino not working at VVVV startup

Hi guys,

I'm experiencing a strange issue with 3 Arduino Nano Every and a VVVV beta patch which needs to talk with them via serial communication (using the RS232 node).

No Arduino serial communication is working immediately after starting the patch (at Windows startup). The only way I've found at the moment to make the patch work is to first open a serial communication with the Nanos through another software before running the VVVV patch.

A the moment I've made a test using the Serial Monitor of Arduino IDE.
I've found that, if you do this way before starting the VVVV beta patch, then the patch will work just fine.

So:

  1. Why this strange behaviour (it never happened to me before)?
  2. What are these two methods doing in background VVVV beta is unable to do?
  3. How can I make VVVV beta to be indipendent and doing its stuff autonomously without the help of Arduino IDE?
  4. Do you think this can be related to administrative permissions?
    4.1 maybe something not directly related to VVVV but to some "hunder-the-hood-serial-communication-OS-related-process"?

I am really in trouble and I just don't know how to fix it
Thank you so much for your help
waiting for yours
bye

PS: I think this cam be related to this post

@ariutti, your topic has been moved to a more suitable location on the forum.
What is VVV? I know it is (or was) a Dutch soccer club :wink:

The patch broke it?

This might be related to DTR/RTS. I don't have a Nano Every, but found something similar on a SparkFun ProMicro.

In my ProMicro sketch, I have while(!Serial) in setup(). I have an application that allows to enable activation of DTR and/or CTS when opening the port. If I don't enable one of those, the sketch is stuck in te while-loop. To my understanding, the above while-loop is not needed for a Nano Every but the SAMD11 that is used as the TTL-to-USB converter might be checking for DTR or CTS.

I have confirmed the behaviour using RealTerm.

I did try below on my system in a command prompt but it did not work :frowning: I get the error The system cannot write to the specified device. Maybe it works for the Nano Every; just select the correct com port.

echo hello > COM7

If it does, you can use a batch file to first do the echo and next call VVV.

Thank you very much @sterretje ,
I was eventually able to fix the issue enabling both DTR and RTS on the RS232 node of VVVV.

Thank you so much!

I've used VVVV with Arduino (UNO, Mega, micro, Leonardo, etc...) many times in the past.
I'm used to have a bidirectional serial communication between them in order to exchange data but this is the first time I came across this strange issue.

I still don't know whar VVV is.

1 Like

ahahah, sorry @sterretje ,
Actually VVVV is a multipurpose framework with a visual/textual programming paradigm. We use it a lot for creating graphics for our interactive installations.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.