For my project my car have to move once the rgb sensor detect the color in an interval, so far I was able to move my motor and my sensor also work fine but once I connect them together on my cnc shield v3 the motor stop moving when my color detecting function start.
I don’t know what’s the problem on software or hardware side, can someone please help me?
the component I use are as followed:
stepper motor NEMA17
cnc shield v3 for my a4988 drivers
TCS230 RGB color sensor
I’ve attach my code to the post if you would like to view it.
RGB_Tracking_Car.ino (2.91 KB)