Pages: [1]   Go Down
Author Topic: Red light frequency  (Read 940 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Jr. Member
**
Karma: 0
Posts: 54
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi, I'm looking on how can i read the speed of a shutter with a digitalread and a light sensor... The idea is to be able to know how many RPS I'm using on the shutter.

The shutter is placed in front of the light, so i can read just ON and OFF of the light and calulate how many I have in a second.. and write it on a small LCD.

So, did someone know wich sensor i can use to work on this project??

Best

KinoLab
Logged

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 309
Posts: 26495
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I'd use a photodiode.
(your thread title isn't very descriptive of the problem IMHO)
Logged

"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

0
Offline Offline
Jr. Member
**
Karma: 0
Posts: 54
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Upss smiley-fat  sorry I haven't see the mistake...

thanks for your answer and did you think that a photo diode can read a frequency of around 72 input for second?

best
Ki
Logged

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 309
Posts: 26495
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

72Hz is not a problem for a photodiode.
« Last Edit: March 25, 2011, 09:08:10 am by AWOL » Logged

"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

0
Offline Offline
Shannon Member
****
Karma: 215
Posts: 12463
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

photodiodes will typically handle MHz - phototransistors may be a bit slower due to storage effects.  For really high speed a PIN diode is used.  72Hz is no problem.  LDRs can be very slow though, don't bother with them.

If the light levels are fairly fixed you may get away with chosing a load resistor that can directly produce logic level outputs and you might be able to use pulseIn - however to do this properly a schmidt-trigger gate might be a good idea.   analogRead() take some time (100us??) but ought to be fast enough here.
Logged

[ I won't respond to messages, use the forum please ]

0
Offline Offline
Jr. Member
**
Karma: 0
Posts: 54
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks for all your answers...
In general the speed will be really precise and constant, is for a 16mm projector, so the idea is to be able if is a 24 ips or if it change to 23.90 or what else...

The ply problem is that i'm not so familiar with electronic and did you some photos on how use a PIN DIODE ?

sorry and thanks

KinoLAb

Logged

Pages: [1]   Go Up
Jump to: