ABOUT ME

-

Today
-
Yesterday
-
Total
-
  • Serial Communication Timeout
    카테고리 없음 2020. 3. 18. 22:07
    Matlab serial timeout

    Matlab Serial Timeout

    I'm working on a face-tracking application using opencv and arduino uno. The PC sends a position value to the arduino through the serial interface, which then drives a single motor to that position.Everything works fine immediately after uploading the code, but if I leave it alone with no activity for a few hours the arduino stops driving the motor when I return.

    Serial Communication Time Out Crossword

    The red LED on the board flashes as if it's receiving the serial data, but nothing happens. It sometimes starts working again after a short time, but I don't know what triggers it. The problem occurs with both my opencv c code and the serial monitor.Does the arduino have some kind of automatic sleep function that shuts it down after inactivity? I'm not really sure how to go about debugging this.here's the code running on the arduino.

Designed by Tistory.