Loading...
Pages: [1]   Go Down
Author Topic: IR sensor started flashing  (Read 221 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Jr. Member
**
Karma: 0
Posts: 83
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi guys,
so i built digital sensors for my linefollowing robot. it´s the same schematic as on the picture but i´m not using cny70. it was working fine. on the black line LED was turned off and on white was turned on. since one moment all sensors stoped working properly. on white LED in ON but on black led starts blinking. it's very fast blinking. i triedd to recalibrate but nothing  smiley-cry. it worked before so i don't know what can be problem. can anyone help me, please?


parts that i'm using:
lm358 (comaparator)
sfh203 (phototranzistor)
some IR LEDs
« Last Edit: August 09, 2012, 02:32:30 pm by miros » Logged

Massachusetts, USA
Offline Offline
Tesla Member
***
Karma: 96
Posts: 6331
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

My guess is that the light from the LED is leaking into the light sensor.  When it detects 'dark' the LED comes on an enough light gets into the sensor that it then detects 'light'.  Try adjusting the sensitivity.
Logged

Offline Offline
Jr. Member
**
Karma: 0
Posts: 83
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

thanks for reply but LEDs are on top side of PCB and phototransistors are on bottom and they even have filter.
Logged

Dubuque, Iowa, USA
Offline Offline
Edison Member
*
Karma: 12
Posts: 1517
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Maybe you just need a decoupling cap between/near 8 and 4 of the LM358.
Logged

Offline Offline
Jr. Member
**
Karma: 0
Posts: 83
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

thanks for help but i fixed it different way. i connected one pin of capacitor to output of comaparator and second pin to ground. now it works fine.  smiley-grin
Logged

Pages: [1]   Go Up
Print
 
Jump to: