You can see how it works by looking at a schemo:
9V battery to power the motors. That would be a big NO.
schematic for the Uno R3 https://content.arduino.cc/assets/UNO-TH_Rev3e_sch.pdf
discussed at Arduino - Board
VIN (sometimes labelled "9V"). The input voltage to the Arduino board when it's using an external power source (as opposed to 5 volts from the USB connection or other regulated power source). You can supply voltage through this pin, or, if supplying voltage via the power jack, access it through this pin.
The options increase when one enters their own words into internet search engines.
Take the words "arduino uno schematic". Use them in your favorite internet search engine. Try it.
I would follow the Adafruit tutorial exactly as-is.
Get it working.
Then do any modifications.
This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.