using arduino uno to monitoring rpm and controling motor dc

okay guys, first of all, i am a noob at this. I have only been playing around with arduino for a 1 months, so i am really bad at coding. :frowning:

my teacher just give a project to me, the project is how to control and monitoring rpm motor dc, and i choose arduino to this project.

well guys,, i want to ask you of all the program that can monitoring rpm and control a motor dc, :slight_smile:

I really hope someone can help me :frowning:

i want to ask you of all the program that can monitoring rpm and control a motor dc

Using what hardware?

i am using arduino uno, motor dc with 4 hole, LDR sensor, LED, and LCD 16x2.

i want to dislay the value of rpm in lcd 16 x 2 or serial monitor in IDE arduino uno.

please help,, :frowning:

motor dc with 4 hole

What diameter are the holes? How deep are they? What color is the motor?

Why are you not providing USEFUL information, like the voltage and current requirements?

Is the Arduino supposed to drive the motor?

Use the arduino's PWM to drive the motor. The speed of the motor is related to the voltage you supply so just do simple math in arduino to calculate RPM.

Google for setting it up. There are millions of examples. You haven't even started. Ask questions when you run into issues. This is the programming forum, not setting up my project for me forum.