IR gate counter HELP!

rybitski

Jan 9, 2006
161
Joined
Jan 9, 2006
Messages
161
I need something capeable of counting and displaying the number of times the IR beam is broken... I don't really know where to start... I'd like to display it on a 3 digit 7-segment led display. Is there anyway to do this with out a programer? Feedback and help is much appreciated! ;D

 

sundar_milo

Apr 25, 2006
20
Joined
Apr 25, 2006
Messages
20
Hi rybitski.

i think i may have answers for some of your questions.

the IC 7490 is a ripple counter,which u could use it for counting.IC 7447 is a BCD to 7 segment decoder.

search for its pin diagram in this site or in google.

regards

sundar.

 

rybitski

Jan 9, 2006
161
Joined
Jan 9, 2006
Messages
161
Thankyou for your response, but being new into the ic world I have no idea how to wire such a thing... So maybe more of what I was asking is there anywhere I could find a schematic of such a thing?

 

sundar_milo

Apr 25, 2006
20
Joined
Apr 25, 2006
Messages
20
i dont know about the schematic but i think u can find it in google.first tell us about the project you are upto.the ics i have mentioned are digital ICs .the link i have provided tells about the ics .

http://www.kpsec.freeuk.com/components/74series.htm#7490

 

rybitski

Jan 9, 2006
161
Joined
Jan 9, 2006
Messages
161
So recently two other friends and myself took on the project of making a device that launches tenis balls. I would like some sort of counter that counts how many balls that have been shot. My concept was have the counter be able to count how many times the ir beam had been broken and display the number up to 3 digits... Unfortunatly I have no idea of where to start... I tried googleing electronis counter project and different variations and the results were always "electronis counter measure"... I'm lost. ???

 

slackjack

Nov 2, 2005
177
Joined
Nov 2, 2005
Messages
177
Well if you need a counter to count 3 digits, I would use a cascaded decade counters. One decade counter per digit, therefore I need 3 decade counters for 3 digits. The 3 decade counters allow me to count 1000 different states (0-999). The output is usually in binary form. To make it more readable i.e. decimal, you would need to feed the outputs of each decade counter to a BCD (Binary to Decimal Decoder) chip. From here the output of the BDC goes into a 7 segment LED display.

Keep in mind that each decade counter needs its own BCD decoder chip and each BCD decoder chip needs its 7 - segment LED display.


As for the which IC chip to use for the decade counter, I'm not sure. I usually make my own decade counters from cascaded JK flip flops(4 flip flops per counter). Mayb if you search google for decade counter IC chips, you may find a suitable one to purchase.

If you do decide to use the above method for a counter, you should look up the pin configurations for the 7-segment LED and try to figure out how to carry the signal from the BCD to the 7 segment. Usually (on the BCD) upper case letters are for the inputs from the decade counter and lower case letters are outputs to the 7 segment LED.

sundar_milo's suggestion on using the ripple counter is also a good way to go. The same principles of BCD to 7 segment still apply.

 
Last edited by a moderator:

sundar_milo

Apr 25, 2006
20
Joined
Apr 25, 2006
Messages
20
Hey i have found a way to solve your problem of counting ,displaying in 3 digit display.

It uses 3 IC 74160(counter), 3  IC 7485  (4-bit magnitude comparator ), 3 BCD to 7 segment display decoder(IC 7447) and an inverter (IC 7404). The circuit is somewhat complicated for me to draw but i will try to post the circuit diagram(schematic) within 2-3 days.

But u have to provide the output of the IR to this circuit . i hope it is about +5v so that it could drive the counter circuit.

Regards

sundar :D

 

rybitski

Jan 9, 2006
161
Joined
Jan 9, 2006
Messages
161
Thank You very much!
It doesn't look as complicated as I thought it might be.
So how much would this cost in parts?

 

shobhitkukreti

Oct 3, 2004
17
Joined
Oct 3, 2004
Messages
17
Guyz using the ttl ic's is fine .. y dont u se use .. cmos is cd4033 .. it has a decade counter as well as the o/p for 7 seg dislpay built in an 16 dip ..
wud'nt that reduce the complexity of the design

 

sundar_milo

Apr 25, 2006
20
Joined
Apr 25, 2006
Messages
20
i dont know where you are from rybitski.
but in dollars it would cost within 10 or 15 ithink(only the ic's).including others it might go upto $30 or so.

 

rybitski

Jan 9, 2006
161
Joined
Jan 9, 2006
Messages
161
I live in eastern US. Other stuff being sodd, board, and resistors? I have all of that stuff lying around...

 

rybitski

Jan 9, 2006
161
Joined
Jan 9, 2006
Messages
161
Thank you again for all of your help, I really appreciate it! where would you recomend buying the ICs from, any particular website?

 

sundar_milo

Apr 25, 2006
20
Joined
Apr 25, 2006
Messages
20
i think u would need the following components

common anode 7 segment display - 3
IC 74160 - 3
IC 7447 - 3
IC 7485 - 3
IC 7400 - 1
Resistors 330 ohm - 21.

I doubt that some more resistors are needed for grounding and other purposes.
i think we need some others' help to do the resistors job.
If you are clear with my circuit diagram then make up a computer aided schematic.
post it here and may be we can ask help from experts like "audioguru" , "ante" , etc.,
send them personal messages so that they could give some good idea about the circuit.

i recommend www.maxim-ic.com
www.ti.com ,etc., try googling . i always buy chips directly not by online.

 
Last edited by a moderator:

sundar_milo

Apr 25, 2006
20
Joined
Apr 25, 2006
Messages
20
i also recommend you first create a pcb design using computer after making a scematic.and then u would have to print the board . for this design u need some pcb creator programs like express pcb,eagle layout editor.
Eagle editor is the best one from user comments.

but before everything we must contact experts for thier suggestion.dont even proceed to buy chips.
just make a schematic first.

 

rybitski

Jan 9, 2006
161
Joined
Jan 9, 2006
Messages
161
So If I would use bianary the circuit would look something like this??(attached)
How does a binary display work (how do you read it)?
I like this design more because it is alot simpler.
Sundar said that I would need a signal inverter because of how I was going to use the counter. Is it still needed?

Thank you soo much for all of you guy's help so far!

When I get sometimes I'm going to draw out sundar's circuit... Becasue I would really rather have the 7 segment display...

View attachment 38970

 
Top