i m trying to move camera on slider based on position of color i m tracking. Camera is moved on slider with stepper motor which is controled by Controllino mini. Stepper if working nice on other code so it is tested.
i use Opencv with Python 3.5 to track color and to send to arduino over serial 1 or 2.
My idea is if Controllino recives 1 to move in one direction of for 2 in other.
i spend many hours to figure out why Controllino doesnt react while i see that Python is sending 1 or 2 like it should.
Here are my codes
Serial_control_stepper.ino (730 Bytes)
Color tracking Python.txt (2.54 KB)