HELP! Arduino + Bluetooth Module + Motor

Yup, that should work. Try to run the program.

The LED on the Arduino is flashing the way I programmed it but the motor isn’t moving

[disregard]

I’m sorry. I’m making mistakes about the transistor because I need sleep. I’ll have another look tomorrow.

Sounds good

After a good night sleep I can’t find anything visually wrong about your wiring. I got fooled by the blue wire passing in front of the brown one. The only thing is that those wires bent around the holes of the Arduino, and the motor wires around the diode do not instil confidence in a good electrical connection. Maybe use your fingers to press them into a secure connection if you really don’t want to solder it yet. But please consider soldering the wires to make them secure and conducting.

If that doesn’t do it then it is time to pull out a voltage and current meter. I hope you have one, as working without one you’ll be blind with electronics. You really need to be able to measure stuff. Electrons are invisible, until they make something glow, jump, or smell. And then it is usually too late. Let me know which kind of meter you have. Maybe there are pictures of it on the net, and I can help set it up to do the proper measurements.

This is a good start also:

https://learn.sparkfun.com/tutorials/ho … multimeter

This is the one I have, I don’t know if it’s gonna work

Maybe it’s something wrong with the code

ah91086:
Maybe it’s something wrong with the code

Not if it is the original program. If it lights up the onboard led, then it should also switch the transistor. You might try with a lower value instead of the red,red,red, gold resistor going between pin 13 and the transistor base. Maybe it restricts the current going into the base too much.

Or try it with a different pin (like 12) going to the red,red,red,gold resistor and correct the following line with the appropriate number:

const int ledPin =  12;

Does the motor turn when you take it out of the breadboard and connect it directly between Vcc and ground? Red wire side must go to Vcc.

Try this first before we start to measure with the meter. The current measurement part of your meter is barely up to the task. I wouldn’t dare to measure potential short circuits with it. At 500 miliamperes the fuse will blow, and at 250 miliamperes the needle is full scale. Which is close to the maximum rating of the motor. Voltage measurements should be ok on the lowest setting, but it is hard to detect negative voltages. You would need to switch the probes around to see how much it is negative. If you can, get a cheap digital multimeter like in the Sparkfun tutorial. It is much more versatile with more ranges, most notable with a higher ampere range (10 Amps) which will not blow so quickly. And automatic negative value measurements.

I was using a 2.2 k ohm resistor on accident and i replaced it with a 1k ohm resistor but that didn’t fix it

Ill try the other possible solutions later today

I dont know how to connect it directly to the board, without the breadboard.

Just hold the legs of the diode to the GND and Vcc holes of the arduino board. Black ring to Vcc. You may need to remove the other wires for easy access and holding it. It’s just a temporary check to see if the motor runs at all.

Can you also try the motor without the diode? Or is it soldered? Just for a short moment.

IT WORKS, ITS ALIVE

YOURE BRILLIANT

IM REALLY EXCITED