Doing a total revamp, need new motor driver and battery, see last post please
I have an Arduino Nano.
I have an L298N Motor Driver, with one 1.5V-3.0V battery screwed into the two-part motor slots on one side.
I have the corresponding pins connected correctly to the L298N from the Arduino Nano for the single motor, and removed that little doohicky for adjustable speed before inserting that first pin.
So that’s just describing the project... my actual issue:
I have no idea what I’m doing. I had an external battery case with 2 AA batteries connected to the two left-most slots in the front of the L298N respectively...
and the ground port of the Arduino Nano connected to the ground port of the L298N jointly with one of the wires from the AA battery case.... my issue was the Arduino nano didn’t light up... I haven’t even began running any code into the Nano yet, I just want to get the connections going first....
Since it didn’t light up, I thought maybe the Arduino Nano wasn’t drawing enough power from the L298N ground port, so I just connected a 9V battery directly to the Arduino Nano, red wire to VIN, and black wire to GND, positive and negative.
The GND and VIN were located right next to each other in this case... whereas previously I used only the GND port on the opposite side in the first instance... without using the VIN with AA battery case.... I noticed right away there was heat exuding from the Arduino Nano and just unplugged the VIN and GND immediately... no lights had came on so I figured I must have done something wrong again, but worse, haha.
To humor myself, I plugged it in using a USB through my PC, and voila, light. But that doesn’t help me, I don’t want to have my project connected to my PC to work... my goal is to control it wireless eventually with an HC-05 which can be used via Bluetooth on most phones. I figured I’d start with a successful power-on with an external battery before anything else.
The motor works fine with JUST the battery connections, but I’m not sure where I’m going wrong with transferring all the power around. Does the 9V connect to the L298N or the Arduino Nano directly? Does it matter? Why did it heat up like that? Why did it heat up but the light didn’t come on? Shouldn’t the motors have turned on in either of the two situations with the AA or 9V batteries? Surely seemed to have electricity running through it. I have a breadboard but it’s still too complex for me and I feel it isn’t necessary for this quick small project.
I hope I gave enough answers to get any kind of insight. I’m using common MM, MF, FF cables as needed, and I’m sure the issue isn’t due to faulty connecting, it’s definitely wrong, but the wires are fine is what I’m saying. Hoping to get any insight when I get home from my shift tomorrow night. Thanks for any help and I hope I’m not in the wrong forum category or if these questions have been answered millions of times, but it’s easy to get lost in all these different versions of similar projects.
Thanks again!