RPM sensor E18-D80NK

Hi everyone

I want to use the RPM sensor E18-D80NK

Datasheet

to count the rpm of wind turbine that rotates max 250rpm

I want to know if anybody has any idea about connecting this sensor with araduino

thanks

Hi everybody :slight_smile:

I am looking for a simple RPM sensor to be used with Arduino to count the rotation of a wind turbine

I have right now the ir infrared obstacle avoidance sensor E18-D80NK
and the proximity sensor Sharp 2Y0A21 F 46
and the small Hall effect Sensor

which one is the best for counting the rotation of the wind turbine and the most simple to program and to used for small test with the wind turbine

and thank you.

we need more information on the wind turbine. Link?

Weedpharma

The datasheet says it's an infrared distance switch. It may or may not work for you, depending on where you want to mount it.
There exist better ways to measure RPM, using light barriers or hall sensors.

Essentially identical topics merged.

@DrDiettrich

what is the difference between the infrared distance switch and sensor?
and why do you think it is not good?

thanks

Hi everyone

I have ir infrared obstacle avoidance sensor E18-D80NK
Datasheet

and the proximity sensor Sharp 2Y0A21 F 46
and the small Hall effect Sensor

I want to use the sensor for counting the rpm of small wind turbine

I want to know which one of them is the easiest to program
and how can i write a code to use one of theses sensors

thanks

@daxasd, if you create yet another thread on this topic I will give you a time-out. Stop cross-posting.

I want to ask in the thread of programming and code not in the sensor if it is possible

We are still waiting for information on the turbine as this determines what type of sensor. This will then determine the programming required.

Weedpharma

weedpharma:
We are still waiting for information on the turbine as this determines what type of sensor. This will then determine the programming required.

Weedpharma

thanks for reply

this turbine is 3 blades turbine has the generator Ginlong GL-PMG 1500

that can rotates up to 600 rpm but I wont exceed 250 rpm for this experiment.

there is a stepper motor doing a pitch control of the turbine blades and voltage sensor that sense the voltage at each angle and current sensor as well.
I want to connect this rpm sensor to get to read the rpm at the same time with voltage and current at certain pitch angle and wind speed.

daxasd:
what is the difference between the infrared distance switch and sensor?
and why do you think it is not good?

Tell us which distance or obstacle in your machine is related to the RPM.

DrDiettrich:
Tell us which distance or obstacle in your machine is related to the RPM.

I can use the blades or a point in the hub of the wind turbine

the hub of the turbine is 240 mm diameter, there small scow i planted in the distance 100 mm from the center (means the diameter of the scow circle is 200mm)
i can plant the sensor 5 cm away from the scrow as it rotates

i still can not understand how the sensor can count the time as it count the turns
and how can i write a code for that in Arduino language.

thanks

Please define "scow", I get "flat bottom boat" from Google.

A picture would be good.

As far as counting goes, it is simple. Depending on the sensor, the signal is probably a simple switch to gnd.

At this time, I don't like any of your listed sensors for this use.

Weedpharma

Usual RPM measuring is based on a reflective (or magnetic...) mark on an axle, that is detected when passing an according sensor. (see "rotary encoder")

Your idea with an obstacle sensor/switch requires a big nose (scow?) on the axle, or the blades of the turbine, to pass by in front of the sensor.

weedpharma:
Please define "scow", I get "flat bottom boat" from Google.

A picture would be good.

As far as counting goes, it is simple. Depending on the sensor, the signal is probably a simple switch to gnd.

At this time, I don't like any of your listed sensors for this use.

Weedpharma

it is screw sorry of spelling mistake

could you please explain more (the signal is probably a simple switch to gnd.)

i do not understand how it count the time when it counts the rotations.
thanks

Many sensors use an open collector NPN transistor output. This is effectively a switch to ground.

You would read the output the same as you would read a push button switch.

To get RPM, you count the revolutions in say a 1minute period, or, in a 10 second period and multiply be 6.

You can use millis() if count is not critical.

now = millis()

if sensor output received increment counter

if millis() > (now + 10000) //end of 10 second period
count = count * 6 //count is RPM.

loop back

Weedpharma