555 Timer Chip help

  • Thread starter jbord39
  • Start date
  • #1
74
0

Main Question or Discussion Point

Hey all.

I am using a 555 timer chip to power an IR LED, which switches something on or off. My question is, now my timer chip is sending out 38 kHz IR light. My IR receiver is made to pick up 38 kHz IR light, but only the first 14 (I think) pulses, then ignores all pulses without a pause. Is there any way I could have my TL555 timer chip send out 38 kHz bursts of about 14 waves? Or are there any other ways around this (possibly on the receiving end.)

Thanks,

John

edit: Possibly using just another 555 oscillator at some frequency going to the enable(would that be the reset?) of the other 555 timer chip?
 
Last edited:

Answers and Replies

  • #2
1,762
59
edit: Possibly using just another 555 oscillator at some frequency going to the enable(would that be the reset?) of the other 555 timer chip?
Yes, that's probably the easiest way. There are other ways too, for instance using a counter that counts to 14.
 
  • #3
dlgoff
Science Advisor
Gold Member
3,814
1,742
And a 556 will give you both timers in the same IC.
 
  • #4
vk6kro
Science Advisor
4,081
40
It is probably better to let the 555 oscillate all the time and switch the output with NAND gates.
If you turn a 555 or any oscillator on, it will take a few cycles to stabilize.

Here are a couple of ways of turning a NAND gate on and off to give bursts of output signal.
38 kHz interrupt.PNG


The first uses a free running oscillator which would give you good flexibility with pulse rate. It should oscillate at about 1 KHz. Any other square wave oscillator (including another 555 ) could be used. I just used some spare gates.

The second uses a counter set to divide by 32. So, the first 16 pulses would produce no output but the next 16 pulses would produce 16 pulses of output from the top NAND gates. So, you would get an exact output which would require no adjusting.

The 74C00 and other chips have 4 NAND gates in one IC. They are very cheap.

.
 
  • #5
74
0
Thanks. I have so far never used any IC except the 555 timers. I know that a NAND gate sends a high output only if both inputs have different logics.

Also, if the original 555 oscillator is oscillating only at 1kHz, then I don't think the IR receiver would pick it up. My 555 is already oscillating at a steady 38 kHz (I also tried using a 556-- it worked alright but range was reduced significantly and the pulses didn't have time to stabilize).

I am a little confused with the 74C00. What is it actually doing?

Thanks again,

John
 
  • #6
vk6kro
Science Advisor
4,081
40
A NAND gate works like this:

Both inputs low ...............Output high.
Either input low ................Output high
Both inputs high ...............Output low.

So if you have 38 KHz pulses getting to one input, they will cause the output to go high and low at a 38 KHz rate only if the other input is high.

The "other" input acts as a control pin and either lets the 38 KHz pulses through or not. This is because, if it is low, it doesn't matter what the other pin is, there is one input low so the output stays high.

If it is "high", the other input will make the output go low if it is high, but remain high if it is low. Try drawing it on a bit of paper, or I will send a diagram of it if you like.

Anyway, the output of the gate will be inverted. (highs will be low and lows will be high). So, the output of the first NAND gate would be high when it is not switching, so I added the second gate to turn the light off.

Notice that the switching rate is still 38 KHz but it is being turned on and off at a 1 KHz rate.
 
  • #7
74
0
Thanks. I got this chip (would it work for the four NAND gates) : LM339 Quad OP Comparator.
(They did not have the one your recommended at Radioshack).

I am trying to draw it out but my Digital Logic is pretty bad (I had to push the class back a semester so it is behind everything else).

Any help is appreciated,

John

(Again, you guys rock).
 
  • #8
vk6kro
Science Advisor
4,081
40
NO, that comparator chip is something different. A good chip, but not what you need in this case.

Try a different store or ask for a 4011 or look in their catalog for a quad 2 input NAND gate chip.

Alternative types like 74HC00 74HCT00 74F00 74AC00 would also be OK.

I checked Radio Shack, but they don't sell ANY digital IC's.

Futurlec have 74HC00's for 25 cents each. I'd get 10.

This is a summary of NAND gate behaviour:

http://dl.dropbox.com/u/4222062/NAND%20gate.PNG [Broken]
 
Last edited by a moderator:
  • #9
74
0
Thanks for the help. I'll look into ordering those tonight.
 

Related Threads on 555 Timer Chip help

Replies
6
Views
3K
  • Last Post
Replies
5
Views
8K
  • Last Post
Replies
3
Views
5K
  • Last Post
Replies
16
Views
839
  • Last Post
Replies
3
Views
2K
  • Last Post
Replies
10
Views
7K
  • Last Post
Replies
9
Views
8K
  • Last Post
Replies
13
Views
5K
  • Last Post
Replies
4
Views
5K
  • Last Post
Replies
2
Views
2K
Top