why wont this work i feel like ive tried everything but the motor wont spin. (apologies for the poor schematic)
Your 9v battery will not supply enough power for the motors.
Never use a microcontroller (Nano, Uno) to power a motor. You will destroy the microcontroller. Only use a power supply to power a motor driver (for you theL298N, motor driver makes the motor move). Only use the microcontroller for control signals to the motor driver.
its only 1, 3-6V dc motor. also that is what i am doing the 9V battery power motor the computer just powers the arduino nano. what power do u recommend since the 9V is not enough and is the wiring ok?
That 9vdc type of battery fails under the load of a motor. Use a battery pack of several AA (1.5vdc) batteries for an output FROM the L298N (toward the motor) of 6vdc.
You will find that the OUTPUT of the L298N is one to two volts lower than the INPUT.