wolf12
Advanced Member level 4
- Joined
- Mar 31, 2011
- Messages
- 109
- Helped
- 1
- Reputation
- 2
- Reaction score
- 1
- Trophy points
- 1,298
- Activity points
- 2,102
Can you provide a little more information about the project? Why does it require a continuous 38 KHz signal? If it is continuous, how will you transmit any information?
John
@ard, Since you mention it, here is an LM556-based circuit for proper pulsing of a 38 KHz IR carrier. The component values shown gave decent timing on a breadboard. Wolf12 mentions using 16F84A, so I assume he has the ability to program that chip. The microcontroller version I mentioned was really my first project after blinking LED's with a PIC. When I realized how easy it was to use 12F508/509, I just never built the 556 version on a PCB.
John
View attachment 56127
The code in the link includes an error-correction algorithm. Basically, it monitors "hits" during the spaces when the burst is off. It then subtracts those "false" hits from the hits when the burst is on. It also uses a left and right sensor for directionality. I incorporated the error correction in my code, which I haven't posted yet. The device I wrote if for works well in a variety of lighting conditions, from bright sunlight to indoors.
That said, I don't think it is really needed for a single emitter/detector system.
In answer to your question, yes. The receiver can - should - look at bursts. I would require detection of at least 2 or 3 bursts to call it "on". That would probably be sufficient to avoid false signals. The waits can simply be done with a counter loop. My code was very crude. I didn't use any timers or interrupts. I just used polling, loops, and counted cycles.
John
@Wolf12 :
U don't need a controller for controlling just one switch.
Here is the simplest circuit for that :
•••> Electronics in DAM's way: IR remote controlled switch
I haven't see a tv remote control suggested here.
VCR, DVD, etc. These put out 40 kHz IR pulses last I heard.
It is "THE TSOP1578 / TSOP1738 "It was more than a diode. It could filter out interference, the whole works.
Three wires. Two go to supply. The third goes hi for a moment when 40 kHz is detected. Low when not.
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?