Help controlling a stepper motor with ultraviolet light

For a project for school i have to controll a 28BYJ-48 stepper motor with an iduino 1485309 ultraviolet lamp and iduino 1485322 receiver. However i don't know how i'm supposed to start. Can anyone help?
I have an arduino uno starter kit.

You are confusing ultraviolet and infrared.
Use the IRremote library.

Hi,
Welcome to the forum.

Please read http://forum.arduino.cc/index.php/topic,148850.0.html.

If this is an assignment/project that you have been set?
What have you been taught about Arduino and programming in class?

Thanks.. Tom... :slight_smile:

Please post links to the datasheets for the Ultraviolet (or InfraRed) devices.

Do you just want the motor to run while the beam is broken? If not, what is the requirement?

...R

That's one mighty expensive IR LED!

(deleted)

(deleted)

wvmarle:
That's one mighty expensive IR LED!

Well, if you want it quicker than the slow boat from China ...

Aliexpress item

TomGeorge:
Hi,
Welcome to the forum.

Please read http://forum.arduino.cc/index.php/topic,148850.0.html.

If this is an assignment/project that you have been set?
What have you been taught about Arduino and programming in class?

Thanks.. Tom... :slight_smile:

I have been taught the arduino basics on the arduino website. I need to identify the material based on the reflectivity of the material and/or reflectivity. Then i need to make the stepper motor turn to a precise rotation.

Robin2:
Please post links to the datasheets for the Ultraviolet (or InfraRed) devices.

Do you just want the motor to run while the beam is broken? If not, what is the requirement?

...R

I need to identify the material based on the reflectivity of the material and/or transparancy. Then i need to make the stepper motor turn to a precise rotation depending on if it's reflective, transparant or absorbing to ir light.

wolf_verniers:
I need to identify the material based on the reflectivity of the material and/or transparancy. Then i need to make the stepper motor turn to a precise rotation depending on if it's reflective, transparant or absorbing to ir light.

That sounds a lot more complex than what I had in mind.

What sorts of material are you proposing to use and how will it be presented to the light and the sensor?

A diagram of the proposed machine would be very helpful.

A good description of the overall project would also make it much easier to give useful advice. So far you have only told us about some of the components.

...R

Do you also need to identify the presence or absence of material? As for that you need a separate sensor, because a transparent, non-reflective (it could be both at the same time!) material is basically the same as no material.

How do you intend to measure the reflected or passed light intensity gradually? Your IR receiver does not provide such low level information.

IR light is reflected by many materials in its neighborhood, see remote controls. You may be better off with UV light as mentioned in your topic title.

Many materials react very different to UV or IR. They may be transparent to one, and fully opaque to the other.

Robin2:
That sounds a lot more complex than what I had in mind.

What sorts of material are you proposing to use and how will it be presented to the light and the sensor?

A diagram of the proposed machine would be very helpful.

A good description of the overall project would also make it much easier to give useful advice. So far you have only told us about some of the components.

...R

We need to make a garbage can that can sort different materials. Sort of like this. The original people do it with an ultraviolet module and i thought what i had was also uv.
https://wiki.foundationu.com/nightowl/self-segregating-trash-bin-using-arduino-uno![|500x280](upload://rhOsfdJiqscJVsVPshzIlA4HwJn.png)

For starters you have to understand the difference between UV (which you say) and IR (which the article says). Before that, you're dead in the water.

Use any sensor You like. The materials it detects can be handled and the rest will be an unknown mix that will be the source for new sensors being tested.
Proximity switches catches both iron and aluminium!

Inductive proximity switches (metal detectors) react differently on iron and non-iron metal.

The Chinese ones detects both..... how ever they do it.....

wolf_verniers:
We need to make a garbage can that can sort different materials.

It is very important to list the materials that you want your project to identify.

You also need to consider carefully how the materials will be presented to the sensors - I see no mention of that in the paper in your link and the photos don't show where the sensors were mounted.

I would not have a lot of confidence in a High School project - but you may be lucky.

...R