Hello im looking to measure the speed of a device depicted. I assume a signal is sent through the holes and some sort of measurement can be taken regards to its on off function (blinking through the holes). This signal can be interpreted and sent to the PC for usage.
I have the Elegoo Arduino R3 Project starter kit. The IR sensor is for the remote control and reading the other parts of forum the ultrasonic kit isn't great for this.
This project is for a University Project Test. So id appreciate any help.
Let me know which item might be best suited for this. Thanks heaps!
Welcome! The Infrared IR Slot Sensor Module would probably do the job but I cannot say for sure as I do not know pulse rate etc. Post your preliminary hardware schematic and starting code.
Interesting project but we are not a free design/code writing service. We will help out with your
code but first you have to make an attempt to write it, post it and explain what is not working
properly. If there is hardware it is always best to post links to technical information as there are many versions of the same or different items. Since we cannot see your project, my eyes are to weak, you need to post an annotated schematic (best) or a clear picture of a drawing. Pictures never hurt. Frizzing diagrams are not considered schematics here.
I agree with @gilshultz that the part is a slotted optical interruptor
On one side is a LED (typically IR light source) on the other side is an open-collector photo-transistor (sensor). This shows the principle of operations.
This can be closely duplicated with discreet parts with an IR LED, IR photo transistor, a piece of opaque plastic tube and resistors.
Specifying and sourcing the particular parts has to be up to you as you process the physical setup.
The out side can be connected to a digital input capable of an external interrupt. The 47K resistor can be replaced with the input's internal pullup resistor.
All in all a pretty easy project.
Some terms to look up:
open collector
external interrupt.
internal pullup
A good place to source parts like this is DigiKey. Their parametric search can be helpful.
@kmin advice is good but wheel diameter is not critical, it is the number of holes that are counted each revolution. If the wheel is 2 meters in diameter and has two holes you will get 2 counts per revolution. If it is 25cm in diameter with two holes you will still get 2 counts. Obviously the more holes the small the holes and or the larger the diameter of the wheel.
I had assumed incorrectly you tried to find what you are trying to do. I searched and found that there are lots of examples on the web some even include code and hardware sources. This is turning into you using us as your design, web search resource and I assume soon to be code writer. Try this in your favorite search engine: "arduino rpm counter slotted wheel" Consider me out out.
Sweet I'll have a look if I get stuck. I really do appreciate all the comments wish I bought some of ya'alls suggestions way cheaper including delivery. Mine delivery+part $20.
One goal of Arduino is to make your own. There are many sites that cover that but here is minimal taken far, an ATmega328P with bits soldered on! The O'baka failed because it has a use!
Office stores will print black on transparency pretty cheap, but cutting it out and mounting just so matters. Concentric rings could have different numbers of holes even.
Transparency is thin though the diameter could be wide.