How To Measure Speed M/Min

hi everyone
I ask for help.
I work in the factory industry. I want to display the machine speed when the machine is running in m/min. What sensor should I use for the project? does it use proximity 12v? If you use proximity 12v, how do you supply 12v voltage while the Arduino only has 5v?
Thank You

Wow, so many questions.
From the questions it seems that you are not in the technology field.
I suggest hiring a professional in the area to carry out this project.

actually I am an electrician. But I'm still confused about applying 12v proximity to Arduino... whether to use a step up or step down transformer... I don't know. I've seen someone even use an optocoupler

First, is the machine moving or is some product moving through or past the machine?

I’m guessing that you mean the speed of a point on the circumference of a wheel or belt on the machine?

Physical details needed for more confident suggestions, but for example you could secure a small magnet on the wheel and detect it with a Hall sensor,or even a small reed switch.

You should use a separate voltage supply for the Arduino.

Yes the speed of a point on the circumference of a wheel or belt on the machine. Is that using proximity sensor 12v? And how to wiring it in arduino

yes to measure speed when the machine is moving, for example the machine is running at a speed of 10m/min... according to the indicator on the analog pulse meter autonics

Yes the speed of a point on the circumference of a wheel or belt on the machine. Is that using proximity sensor 12v? And how to wiring it in arduino

Yes. That is the best way to inerface high voltages to the 5V Ardiono I/O pins
Do you have a datasheet for the proximity sensor you can post here or a link

LJ12A3-4-Z-ETT.pdf (125.1 KB)

Im using this proximity

LJ12A3-4-Z-ETT.pdf (125.1 KB)

It has an NPN output so all you need to do is this:

Does it move in a circle or when does it return to a starting place?

yes it moves through several cylinders in the machine.. for example a rewinder machine

is it a 5.1k or 1k resistor? and what about the program?

yes it moves through several cylinders in the machine.. for example a rewinder machine

Then you should write that the cylinders are moving, not that the machine is moving. Big difference.

Are all the cylinders the same diameter?

It can be anything between 1K and 10K but 4.7K or 5.1K are good choices.
What have you written so far?

I put the proximity sensor like in this video: https://youtu.be/l_xQFH4y6k8?feature=shared

Im still confused with the formula of speed m/min.

I put the proximity sensor like in this video: https://youtu.be/l_xQFH4y6k8?feature=shared