NerdKits - electronics education for a digital generation

You are not logged in. [log in]

NEW: Learning electronics? Ask your questions on the new Electronics Questions & Answers site hosted by CircuitLab.

Sensors, Actuators, and Robotics » DC motor direction and speed control

May 09, 2013
by rmore
rmore's Avatar

Hello All,

I am sure a lot of people will have worked on this in their projects.

But I am just not sure how to approach this. I want to control the direction of rotation and the speed of rotation of a high voltage motor (about 12V) using the AtMega168 microcontroller.

Please somebody guide me through this.

Thanks.

May 09, 2013
by Ralphxyz
Ralphxyz's Avatar

Hi rmore, first have you at least looked at the Nerdkits 101 Tutorial on motors?

Start there then after you have followed the Tutorial ask your questions.

I do not mean to put you off but the Tutorial is really excellent for getting started.

You should work through all of the Tutorials to really get a great start at programming the mcu.

Ralph

Post a Reply

Please log in to post a reply.

Did you know that interrupts can be used to trigger pieces of code when events happen? Learn more...