Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > Electronic Projects Design/Ideas/Reviews


Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution.

Reply
 
LinkBack Thread Tools Display Modes
Old 6th October 2007, 07:03 PM   (permalink)
Default

OK, all the parts are here. I have some things on the bread board trying to get a feel for how things will fit on there. I will build the circuit without the display for now, as you suggested. I have some spare LEDs laying around so I will just connect those to the output of the counters so that I can see that it is working.

Something I am unsure of is the section with the ICs and the capacitors. What is the purpose of connecting the caps to the + and gnd? it does not look like they are connected to anything else. I know it it just a representation but it is a little confusing.
0RESET0 is offline  
Old 6th October 2007, 10:29 PM   (permalink)
Default

Quote:
Originally Posted by 0RESET0
Something I am unsure of is the section with the ICs and the capacitors. What is the purpose of connecting the caps to the + and gnd? it does not look like they are connected to anything else. I know it it just a representation but it is a little confusing.
These are called "bypass" capacitors.

They are essential. If not included, the counters will not count correctly due to coupling via the supply line.

When a counter changes state, eg. say the counters are set to 001 and you apply a clock pulse to advance the count from 001 to 002, a pulse of current is drawn from the supply line. If there are no bypass caps, this causes the supply voltage to dip briefly. This can affect other flip flops inside the counter or in the other counters. So the result may be that the count changes actually from 001 to 048
__________________
Len
ljcox is offline  
Old 7th October 2007, 04:52 PM   (permalink)
Default

OK, I get it. They work like the stiffening capacitors in a high output car stereo system.

IT WORKS!!!
I powered it up and nothing happened. I hit the reset button, nothing. I hit the up and down buttons, nothing. I then turned off the power and checked my buttons. They are DPST buttons and I had them wired wrong, basically all three buttons always on. I fixed the buttons and powered it back up, eureka, all the lights came on. I hit the reset button and they all turned off. I hit the up button and a light came on, wrong one but it came on. I fixed the order, to match what you had on the drawing, and they lit in the proper sequence.

I am so happy.

Now, How do I get the seven segment to work with the drivers I got? can I just wire it up like the data sheets say or do I need to add something to compensate for the TTL/CMOS thing?
0RESET0 is offline  
Old 7th October 2007, 10:32 PM   (permalink)
Default

Well done!
I don't know anything about high output car stereos (don't want to go deaf), but I expect you're right. The caps would do a similar function.

The 7447 can be connected to the counter directly.

Leave pins 3, 4 & 5 open (with TTL this is equivalent to a high)

Connect A to Q0, B to Q1, etc.

You'll need a common anode LED display and 7 resistors. Select the resistors for the brightness you want. I would start with 470 Ohm and change to a higher or lower value to alter the brightness if necessary.

Attached is the data sheet for the 4774.
Attached Files
File Type: pdf 7447.pdf (126.7 KB, 5 views)
__________________
Len
ljcox is offline  
Old 8th October 2007, 12:04 AM   (permalink)
Default

I have the drivers and display hooked up as best I can from the data sheets but have a couple questions.

Right now, when I turn it on and hit reset, I get three zeroes. When I hit the up button I get three eights. This is not how it should work. Trying to remedy the situation, I searched around. Using this I connected pin 5 to ground. This got me no zeroes but it counted up from 1 to 9 then went to gibberish. it also displayed the same thing on each digit. I needed some way to have the drivers select which digit to show. I connected the anode pins to pin 4 on the corresponding drivers. This got me a dimmer display that went blank on reset then counted from 1 to 9 on the first digit. Once I hit 10 I get a 1 in the tens place and a blank in the ones place. 11 shows up fine but 12 looks like two lower case a's and it all goes down hill from there. I can see a definite pattern so I know the counter is still working. The problem has to be in the drivers of how I am connecting them to the display.

I have all three digits using the same seven resisters with the a-g of the drivers connected to each other then running to the resisters.

I have changed things back to have the 3, 4, 5 pins open and connected the anodes back to 5v. I await you suggestions on this, I hate being so close to the pay off and not being able to get there my self.

Thanks for the help
Sean
0RESET0 is offline  
Old 8th October 2007, 01:05 AM   (permalink)
Default

Quote:
Originally Posted by 0RESET0
I have the drivers and display hooked up as best I can from the data sheets but have a couple questions.

Right now, when I turn it on and hit reset, I get three zeroes. When I hit the up button I get three eights. This is not how it should work. Correct! Trying to remedy the situation, I searched around. Using this I connected pin 5 to ground. This got me no zeroes Correct. Pin 5 is the Ripple Blanking input and is used to supperss leading zeros. I'll tel you how to do this later, as you may like to employ this function. eg. if the count is at 005, the display will show 5 and the tens & hundreds digits will be blank. but it counted up from 1 to 9 then went to gibberish. I don't know why this happened. See below. it also displayed the same thing on each digit. I needed some way to have the drivers select which digit to show. I connected the anode pins to pin 4 on the corresponding drivers. Pin 4 is the Ripple Blanking output. You don't need to use it at this stage. This got me a dimmer display that went blank on reset then counted from 1 to 9 on the first digit. Once I hit 10 I get a 1 in the tens place and a blank in the ones place (I presume this is due to the Ripple Blanking. Connect RBI to +5V or leave it open) 11 shows up fine but 12 looks like two lower case a's (I don't understand why this is happening) and it all goes down hill from there. I can see a definite pattern so I know the counter is still working. The problem has to be in the drivers of how I am connecting them to the display. Have you studied the Function Table in the 4774 data sheet? This shows how it is supposed to operate.

I have all three digits using the same seven resisters with the a-g of the drivers connected to each other then running to the resisters. This does not make sense. This may be the cause of your problems! You need 7 resistors for each display as implied in my circuit diagram.

I have changed things back to have the 3, 4, 5 pins open and connected the anodes back to 5v. I await you suggestions on this, I hate being so close to the pay off and not being able to get there my self.

Thanks for the help
Sean
You're welcome.

If I understand what you mean by the "7 resistor" comment above, then this is the cause your problems. But I don't see how you could connect 7 resistors when you have 3 displays & 3 display drivers. You need 21 resistors.

Do you have LEDs connected to the Q outputs of the counters? These will show you the binary state of the counters so you know what the counters are doing.
__________________
Len
ljcox is offline  
Old 8th October 2007, 01:15 AM   (permalink)
Default

Have a look at the circuit posted by blueroomelectronices and my comment here http://www.electro-tech-online.com/g...9-counter.html

it shows how the resistors should be connected.

I have to go out shortly, so I'll tune in again later.
__________________
Len
ljcox is offline  
Old 8th October 2007, 01:29 AM   (permalink)
Default

Quote:
Originally Posted by ljcox
You're welcome.

If I understand what you mean by the "7 resistor" comment above, then this is the cause your problems. But I don't see how you could connect 7 resistors when you have 3 displays not three displays, one display with three digits & 3 display drivers. You need 21 resistors.
If you refer back to the display data sheet that I linked to a while ago, you will see that there are only one set of a-g pins on the display. There are three pins for the common anodes that are digit selectors. I assumed that there was something inside the display that used the seven and three to make the 21. I will read thru the data sheets again and see if there is something that I missed. There has to be some out put on the driver that I can connect to tone of the common anode pins so that the output from that driver goes to a certain digit. I guess I can go out and pick up three separate displays but I like the space savings of only needing 7 resisters.

Last edited by 0RESET0; 8th October 2007 at 01:43 AM.
0RESET0 is offline  
Old 8th October 2007, 01:55 AM   (permalink)
Default

Quote:
Originally Posted by 0RESET0
If you refer back to the display data sheet that I linked to a while ago I could not see what link you are referring to at a quick scan. I think from memory, you're talking about the 4553 three digit BCD counter. This is not suitable for your application since you need binary outputs to drive the Tx , you will see that there are only one set of a-g pins on the display. There are three pins for the common anodes that are digit selectors. This because the IC does MULTIPLEXING which means that you only need 7 resistors. But you can't interface this counter to your Tx. I assumed that there was something inside the display that used the seven and three to make the 21. I will read thru the data sheets again and see if there is something that I missed. There has to be some out put on the driver that I can connect to one of the common anode pins so that the output from that driver goes to a certain digit. I guess I can go out and pick up three separate displays but I like the space savings of only needing 7 resisters.
I'm confused as to what you want.

Do you want only one display and switch to select which digit you want to read? In other words, it would be a 3 position switch that selects the Hundreds, Tens or Units digit for display. This would only need 7 resistors.

If so, this is possible in theory, I would have to think it through and draw a circuit. But I need to know exactly what you want.
__________________
Len
ljcox is offline  
Old 8th October 2007, 02:32 AM   (permalink)
Default

Here is the data sheet again.

I was not referring to the counter chip. Like I said, the display I have has three digits on it but only one set of pins for the a-g from the drivers. This is why I connected all three displays to the same seven resisters. I assumed that the three separate pins for the anodes of the three different digits was somehow working to separate the incoming signal but it does not make any sense to me.
I hope you know what to look for can take a look at the data sheet for the display and tell me how I am supposed to connect three drivers to it and have it work properly.
0RESET0 is offline  
Old 8th October 2007, 03:53 AM   (permalink)
Default

Now I understand. I had downloaded the display data sheet but did not study it in detail.

The display is meant for multiplexing.

In order to do this, you will need another IC (a flip flop) configured as a Modulo 3 counter, 3 transistors and 3 (possibly 6) resistors.

You will be able to employ the currently unused gates in IC4 as a part of the system.

I'll design it for you later and post tonight.

EDIT
Here is a multiplexer to drive your display.

You're lucky that the 7447 has open collector outputs. This allows you to connect the outputs in parallel. Some 7 seg drivers don't have o/c outputs.

IC4b operates as an oscillator. If R11 = 100k and C1 = 100 nF, then it will oscillate at about 50 Hz. The frequency is not critical, it just has to be high enough so that the display does not flicker.

50 Hz implies a cycle time of 20 milliseconds (ms).

So each display is turned on for 20 ms in sequence, ie. only one display is "energised" at any time, but it is so fast that they appear to be all on simultaneously.

IC5 is configured as a Modulo 3 counter. The count sequence is 00, 01, 10, 00, etc.

When YX = 00, the output of IC4c is low so T1 is turned on and the output of IC4d is high therefore the units driver is enabled (high on BI) so the units digit is "energised".

When YX = 01, the Tens driver is enabled and T2 is on so the tens digit is "energised".

When YX = 10, the Hundreds driver is enabled and T3 is on so the hundreds digit is "energised".

The transistors T1 ~ T3 can be any PNP transistor such as the BC327, BC328, BC556, BC557, etc.

Resistors R1 ~ R7 need to be lower in value to compensate for the multiplexing. I suggest you test it first with whatever resistors you have installed, but the brightness will be low.

Once you have it working, install resistors of about one third value, eg. if you currently have 470 Ohm ones (and if the brightness was OK before building the multiplexer), replace them with 150 Ohm.

IC5 is a 74HC73. Let me know if you can't buy one of these and I'll suggest alternatives.

Any questions? just ask.
Attached Images
File Type: png Scan 4.png (126.4 KB, 9 views)
__________________
Len

Last edited by ljcox; 8th October 2007 at 09:15 AM.
ljcox is offline  
Old 9th October 2007, 01:19 AM   (permalink)
Default

Sweet, I will try to get my hands on the new parts. Would it be easier to just get three new displays, single digit type? I can probably get them at the local Radio Shack. This would mean I have to use 21 resistors but I bought that many any way.

I have some spare parts like capacitors and transistors. Is there a way to identify them to see if I can reuse them?

Sean
0RESET0 is offline  
Old 9th October 2007, 03:46 AM   (permalink)
Default

Quote:
Originally Posted by 0RESET0
Sweet, I will try to get my hands on the new parts. Would it be easier to just get three new displays, single digit type?
Yes, it would, but it is your choice.
I can probably get them at the local Radio Shack. This would mean I have to use 21 resistors but I bought that many any way.

I don't know what your Radio Shack sells, but I can buy resistor networks very cheaply at Semtronics. Semtronics sell electronic parts to industry.
They come in 2 versions, SIL & DIL. The DIL ones look like an IC. This would make it smaller for you.

I have some spare parts like capacitors and transistors. Is there a way to identify them to see if I can reuse them?

Sean
Do the transistors have any numbers on them? What do they look like?

Do you have a multimeter that has a transistor test function? If so, use it to determine whether the transistors are PNP or NPN and to identify their connections.

If not, it can be done with a multimeter set to the resistance function.
__________________
Len

Last edited by ljcox; 9th October 2007 at 03:49 AM.
ljcox is offline  
Old 10th October 2007, 02:08 AM   (permalink)
Default

I really like the idea of the resistor networks. Can you give me a part number for a dual in line type? I will use the regular resistors for now so that I can play with the value to get the brightness I want.

I am going to just order three separate displays, so I won't need the other stuff any more right? I will try to find some resistor networks while I am ordering the displays.

I order my stuff thru Mouser electronics at www.mouser.com
ever heard of them?

I have a question about the interface with the computer. I know I am getting ahead of my self. Would it be possible to make is so that I can use the remote separately by pushing the buttons that I am using in this circuit. Then have it so that I can plug it into the parallel port and just have the "computer push the buttons"?

EDIT:
I can't get single displays from Mouser and I didn't find a resistor network that had the proper resistance. To make matters worse, if I get displays that have a different forward voltage I will not be able to use the resistors that I bought already.
So, Since I did not have a chance to stop at Radio Shack today, I will stop there tomorrow and see what they have for displays.

Last edited by 0RESET0; 10th October 2007 at 03:01 AM.
0RESET0 is offline  
Old 10th October 2007, 09:10 AM   (permalink)
Default

Quote:
Originally Posted by 0RESET0
I really like the idea of the resistor networks. Can you give me a part number for a dual in line type? See the photo attached and comments below. I will use the regular resistors for now so that I can play with the value to get the brightness I want.

I am going to just order three separate displays, so I won't need the other stuff any more right? Correct I will try to find some resistor networks while I am ordering the displays.

I order my stuff thru Mouser electronics at www.mouser.com
ever heard of them? Yes, I've heard of them through this forum.

I have a question about the interface with the computer. I know I am getting ahead of my self. Would it be possible to make is so that I can use the remote separately by pushing the buttons that I am using in this circuit. Then have it so that I can plug it into the parallel port and just have the "computer push the buttons"? Yes.
EDIT:
I can't get single displays from Mouser and I didn't find a resistor network that had the proper resistance. To make matters worse, if I get displays that have a different forward voltage I will not be able to use the resistors that I bought already. I don't know what they cost in the US, but they are cheap in Oz.
So, Since I did not have a chance to stop at Radio Shack today, I will stop there tomorrow and see what they have for displays.
The photo shows some SIL resistor networks that have a common - the dot of the LHS. You can buy others that have individual resistors in them.

The DIL is a 330 Ohm one. You can see the number on the tube that they came in.

The Australian company JayCar have a good range of parts (but not resistor networks) a web site and mail order outlet in the US/Canada. See www.jaycar.com, email techstore@jaycar.com, US phone number 1800 784 0263.
Attached Images
File Type: jpg res net 001.jpg (67.9 KB, 5 views)
__________________
Len

Last edited by ljcox; 10th October 2007 at 09:52 AM.
ljcox is offline  
Reply

Bookmarks

Thread Tools
Display Modes



Similar Threads
Title Starter Forum Replies Latest
UV flame scanner bulb/tilt switch used as safety-need circuit help Rezaxis Electronic Projects Design/Ideas/Reviews 2 28th August 2006 02:52 AM
Pls. check this Analog Switch circuit for Guitar FX apakhira General Electronics Chat 4 27th February 2005 03:53 PM
need a switch circuit andrew2022 Electronic Projects Design/Ideas/Reviews 12 19th April 2004 06:24 PM
counter circuit, HELP!!! sion Electronic Projects Design/Ideas/Reviews 1 23rd March 2004 06:56 PM
Transistor switch circuit daviddoria General Electronics Chat 3 6th March 2003 01:35 AM



All times are GMT. The time now is 11:20 AM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.

eXTReMe Tracker