I just want to make my car go

I 3d printed wheels for this little motor and would love to simply attach a nano and let it go. I thought that using blink it would go for a second and then stop... no dice.

If I attach it to gnd and 5v it goes, but the pc has a quick USB error which makes me think my idea is a bit off.

Any tips? Thanks for your time.

Mike

You're not powering the motor direct from an I/o pin are you?

Any tips?

Always show us an image and schematic of how things are actually wired.
.

I was trying to run it off pin 13 using the blink program... Guessing that would not be "according to Hoyle". :o

Is there a way to power one of these simple dc motors off an arduino pin?

No, and don't use the Arduino +5V either. You can severely damage the Arduino.

Google "arduino motor control", but be sure to use a separate power supply for the motor.

theroar:
I was trying to run it off pin 13 using the blink program... Guessing that would not be "according to Hoyle". :o

That would be correct providing that Hoyle does like to destroy Arduinos.

=) Thanks for the tip. I have seen those motor controllers, but was trying to keep this critter as small & cheap as possible.

Looks like a L298 is a pretty popular choice.

Is there a way to power one of these simple dc motors off an arduino pin?

Off the pin directly, no.
Using a driver, yes.

What is the voltage and amperage rating of the motor?

Google "Arduino DC motor driver"

If you want one direction only a simple MOSFET like IRL540 circuit will do.
Google "Arduino irl540 motor"
.

You might consider using the tiny Pololu Baby Orangutan -- they are Arduino compatible and have a built in motor driver.

I do not have a spec sheet, but found this on Amazon.

Operating voltage: 3V~12VDC (recommended operating voltage of about 6 to 8V)
Maximum torque: 800gf cm min (3V)
No-load speed: 1:48 (3V time)
The load current: 70mA (250mA MAX) (3V)
This motor with EMC, anti-interference ability. The microcontroller without interference.

Thanks for all the tips on searches. I will google away and see what I can track down. Have a great evening!

Mike

You could use a relay to just turn the motor on/off.
Drive the relay with a transistor.
Also search for Flyback Diode.

jremington:
You might consider using the tiny Pololu Baby Orangutan -- they are Arduino compatible and have a built in motor driver.

That is one slick little critter. Never had heard of it before. Thanks for sharing!

Ha... too many post in a 5 min span... I have been muted. =) My wife wishes this feature was available in real life as well. =)

IMHO:
You don't want to damage your driver/Arduino.
When you get your motor circuit connected, take a picture of it and ask here if the wiring is correct.

LarryD:
You could use a relay to just turn the motor on/off.
Drive the relay with a transistor.
Also search for Flyback Diode.

=) I had just stumbled upon a couple of sweet youtube explanations showing exactly that. Had not looked up the flyback Diode, but will. My kit came with a 2 relay module and I spotted a instructable there that looks promising. Thanks tons for all the great advice. Not only am I making progress now.. it is likely I am not going to damage my Ardunio now. =)

Word to the wise. By and large Instructables are written by idiots who don't have a clue as to what they are doing. You have to know more than the author to spot mistakes so don't try and learn anything from them, it will probably be wrong.