Disclaimer: I am a very beginner in electronics and experiencing it's first steps into Raspberry Pi and its functionalities. So, please forgive me any rookie mistakes and correct me if I have any incorrect assumptions.
I want to power DC motors (range 3-6V) using my RaspBerry Pi 4 via a dual L298N motor controller. I have a battery pack of 6V to power my motors. https://www.youtube.com/watch?v=-ikmDMW6tEwThis (2:30 - 3:30) video says the L298N needs a 7-12V input to work properly (due to power drops by the transistors, from other sources). However, to be suitable for my motors, I have chosen for 6V power supply thinking to use the 5V supply of my Pi to supply the electricity input for the L298N (as the L298N requires 5V for it's regulator).
I have two questions:
Q1. Will my setup work when only applying the 6V battery?
Q2. If Q1 does not apply: Is it correct to get 5V from Pi GPIO pin to power the L298N (with 12V jumper removed from the L298N so the 5V power port will be used for energy input)? Or will this mess up my Pi or create any shorts?