DSD TECH HM-11 Bluetooth 4.0 BLE Module with 6 PIN Board Compatible with iOS Devices for DIY https://a.co/d/4tX37ra
Batteries:
Amazon Basics AA 1.5 Volt Alkaline High-Performance Batteries, 10-Year Shelf Life, Easy to Open Value Pack, Pack of 48 https://a.co/d/hWEmrnf
Battery Holder:
6 AA 6-AA 9V Battery Holder Enclosure Case Box with Connector Cable https://a.co/d/i1Q3XDs
Wheels:
AEDIKO 4 Sets TT Motor DC 3-6V Gearbox Motor Dual Shaft 200RPM Ratio 1:48 Motor with Tire Wheel Kit for Arduino DIY Smart Car Robot https://a.co/d/1tPRaU0
L298N motor:
Qunqi L298N Motor Drive Controller Board Module Dual H Bridge DC Stepper For Arduino https://a.co/d/3aFR5Vy
Monoprice 1.5-Feet USB 2.0 A Male to B Male 28/24AWG Cable (Gold Plated) (105436),Black https://a.co/d/9itcTkU
I've tried a 12V alkaline LICB battery, a 9V battery , and six 1.5V alkaline batteries connected with a battery holder. The arduino car will turn on when connected to USB and the DSD tech bluetooth will connect as well, but the wheels will not respond to any buttons that I press on the BLEJOYSTICK app.
And when I try connecting it to batteries it will just catch smoke and not work at all. I know that the batteries are working separate from the car because I tried it on my DC motor.
I was following these videos and tried the code from these videos as well.
1st video:
According to your "diagram" you have swapped the polarity of your power source.
The wire labelled as "-" (minus) from your battery holder is connected to "+12v" terminal of the motor module, and the "plus" wire to the GND terminal.
Generally, using the red color for the GND wire and black for the "plus" definitely is not a good idea. This is the source of confusion and errors.
The L298 +5 cable to UNO Vin is a mistake. Vin needs 7.5 - 12 volt. Better connect L298 +5 to the 5 volt UNO pin.
That's possible and happens. Which item produces the smoke?
Banging everything together and the plug in power is a recipe for disaster.
Connect one item, verify it works and then connect one more item, verify....
The +5 cable was connected to the UNO vin. if I connect the +5 cable to the 5 volt pin, where will the VCC cable go? The VCC cable for the bluetooth is connected to the 5V pin.
Again, that's wrong but will not cause smoke, only "doesn't work". Read the specs for the board!
[quote="doroller12, post:7, topic:1069209"]
I connect the +5 cable to the 5 volt pin, where will the VCC cable go?
[/quote]X
What's the problem? To 5 volt of course.
What wires?
No smoke.... That's good. Maybe the smoking item is out of fuel..
I suggest replacing the part that was smoking. Without that I'm afraid this project might never come to work.
Suggestion: Take it all apart and start from the beginning verifying that every part is working, one by one.