Pages: [1]   Go Down
Author Topic: Lower than notmal serial monitor numbers from photocell  (Read 357 times)
0 Members and 1 Guest are viewing this topic.
NC,US
Offline Offline
Newbie
*
Karma: 0
Posts: 42
@Weedar_64 #Farmlife
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

in a laser tripwire setup i run the photocell calibration code and the numbers shown on the serial monitor screen never get above 15 with laser light and 35 with led light. much lower than the values shown in tutorials. i am using a 10k resistor with the analog input and all the circuitry is correct. any help would be apreciated
Logged

Massachusetts, USA
Offline Offline
Tesla Member
***
Karma: 179
Posts: 8074
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

all the circuitry is correct.

That must mean your LDR is defective.
Logged

Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

United Kingdom
Offline Offline
Tesla Member
***
Karma: 220
Posts: 6587
Hofstadter's Law: It always takes longer than you expect, even when you take into account Hofstadter's Law.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

in a laser tripwire setup i run the photocell calibration code and the numbers shown on the serial monitor screen never get above 15 with laser light and 35 with led light. much lower than the values shown in tutorials. i am using a 10k resistor with the analog input and all the circuitry is correct. any help would be apreciated

What sort of light sensor are you using: LDR, photodiode, or phototransistor?

Whichever one it is, if you want to improve sensitivity, you need to increase the value of the resistor from 10K to something higher. Try 100K.
Logged

Formal verification of safety-critical software, software development, and electronic design and prototyping. See http://www.eschertech.com. Please do not ask for unpaid help via PM, use the forum.

Durham UK
Offline Offline
Full Member
***
Karma: 1
Posts: 167
aka Craig Turner
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

HI,

could you post a links to the tutorial and other pages you mention?

thanks
Logged

Craig Turner, blog: http://gampageek.blogspot.co.uk/ It helps with my learning if I write things down, esp. for others to follow (constructive comments welcomed to improve)

Pages: [1]   Go Up
Jump to: