Hey, I'm relearning Arduino as I hadn't used it for 2 years due to personal reasons. I'm currently following this tutorial, which has the same wiring as the guide I was provided by my Arduino kit's manufacturer.
Although I have followed the exact instructions, the DC motor does not spin. I've tried the following-
i) confirmed that the components I'm using are not faulty
ii) tried simulating on TinkerCAD, which gives an error
Here's a set of images, which includes:
• TinkerCAD simulation (with code) and error
• Manufacturer's schematic, wiring diagram and example
• My actual circuit
To conclude, the motor works with the above circuit & code for both the Youtuber and the manufacturer but not when I try it on TinkerCAD or with the actual components, and I'm not able to figure out why. Any help would be much appreciated.