hey guys, nowadays i met a problem and i cannot find any solutions on the net.
I make a tilt-pan camera use servo MG996R and a usb camera, i write a script in arduino to move the tilt-pan camera to follow my face.
and the face detect part, i use the face++ api in Processing3.0, communicate with arduino by serial port.
Problem: when i run the processing, open the camera, the servo only move several steps and suddenly the port unplugged.
I tried in win10, every time the port unplugged, i’ll hear the sound that signs the usb device unplugged.
and in win7, after the servo stopped, i cannot find the port on arduino, the port is grey.
What should i do? please help me guys.