Disha Karnataki
Full Member level 5
- Joined
- Jul 20, 2013
- Messages
- 249
- Helped
- 9
- Reputation
- 18
- Reaction score
- 8
- Trophy points
- 18
- Location
- india
- Activity points
- 2,231
i have connected a tsop1738 to my atmega8L.
as per the characteristics of tsop1738 it detects signal only when signal frequency is of 38khz.
circut as shown:https://www.8051projects.info/images/thumb351437.GIF
i have already connected to 8051 microcontroller it worked fine over there.
But when i connected this to atmega8 it continuously started executing the isr routine though there was no key pressed on remote control(as tsop detects only that).
I have written a code where the ISR routine displays some message on LCD connected to it.
So i switched off the lights of my room thinking the lights may be causing the signal to go low on the ext interrupt pin,& yes that was the real problem. Even if i touched the tsop it again caused the interrupt.
Why is TSOP sensing the room light & my touch?
each & every time i on the tubelight it is executing the ISR causing interrupt to the uc.
whereas it should only detect the remote control carrier frequency.
as per the characteristics of tsop1738 it detects signal only when signal frequency is of 38khz.
circut as shown:https://www.8051projects.info/images/thumb351437.GIF
i have already connected to 8051 microcontroller it worked fine over there.
But when i connected this to atmega8 it continuously started executing the isr routine though there was no key pressed on remote control(as tsop detects only that).
I have written a code where the ISR routine displays some message on LCD connected to it.
So i switched off the lights of my room thinking the lights may be causing the signal to go low on the ext interrupt pin,& yes that was the real problem. Even if i touched the tsop it again caused the interrupt.
Why is TSOP sensing the room light & my touch?
each & every time i on the tubelight it is executing the ISR causing interrupt to the uc.
whereas it should only detect the remote control carrier frequency.