Not very knowledgeable with this stuff, be kind please.
I have a DC window motor, L298N H bridge motor control board, an UNO, a volume knob thing (potentiometer), power, and a dream...
I would like to turn the knob and have the motor increase speed as I turn the knob in one direction. I would like the motor to return to 0 rpm as I turn the knob back the other way.
Could I get assistance with (everything) the code and wiring?
Yes but I planned to use a single throw double pole switch to flip the polarity. Ideally the pot would be at zero half way thru its stroke and turning the knob keft or right would result in fwd/back on the motor. But that is way above my level fer sure.
I was going to use a stepper motor fitted to a worm driven slew gear. I couldn't figure it out and didnt get the help I needed on this forum (too high level). So, applying the kiss principle, backing up to simple dc motor etc.
No clue. I connected the multimeter up set to ohms, returned 1.4M Ohms.
C++ knowledge very low. I have copy/pasted and uploaded code to my UNO boards. Ive read thru the code to try and understand. I understand from a very high level what the commands are saying but not how to manipulate them to my needs.
Hardware exp is great. Most of this is from the CNC router I built from scratch following someones build plans.
Wires are there from my failed solo attempts.
The motor has pos/neg leads, the pot has 3 wires, otherwise consider there to be no wires.