I agree, unfortunately, the only way I can if of doing this off the bat is using a microcontroller (uC) with a serial-controlled LED IC. While I've got some time to put a digital logic solution together, a microcontroller solution would require more time than I have right now. But giving it a few seconds more thought after reading your post #12, we could probably use a multiplexer/demultiplexer pair! I've haven't used this before, but perhaps a CD4067 pair which appears to reduce 16 wires to four would work. #12, you are brillant! If you are familar or have other thoughts on doing this, I'll look into it. Perhaps a shift register? I've used those with uC's before, but never with digital logic alone. Would that be possible you think?At the risk of volunteering to design something that is way over my head, it might use a lot fewer wires to do all the logic in the data entry pad and send serial data to the outside display.
I wouldn't dream of it.Don't throw things at me!
No problem, I understand this a lot to digest. We normally have people do some research and propose solutions and help them along. As you're not doing this for a school assignment, need something quick, and intend to kinda go head-first into electronics with a project (one of my favorite approaches ), I had some time and threw this together. I think you'll learn more by looking at it and asking questions than me spoonfeeding it anyway.I studied the schematic a bit last night, and a little this morning. I have many questions, but I'm going to start simple
Nope, D1 is used as reverse voltage protection. Even the most astute of us can reverse the power leads during hook-up after a long day. This prevents damage to the circuit in the event someone reverses the power leads, e.g., hooks + to - and vice versa. The only downside with adding a diode in this fashion is you'll lose about 0.7VDC going to the circuit. If you had a regulated 12.0VDC hooked up, then the circuit will only see about 11.3VDC. You have to factor this into choosing your resistor values for the LEDs - more on that later. Despite this, 12VDC from a car usually isn't regulated, so you're more likely to see 12.8-13.4VDC or so. In this case, the diode is also helping to drop the incoming voltage down to a value closer to 12VDC. D1 is a 1N4001. On the same note, C1 is used as a filter and should be rated 50VDC or higher to be safe.1. The first diode is wired just to show that there's voltage?
Yes, SW1-SW3 are the mechanical BCD switches SgtWookie suggested. You have your choice of a thumbwheel or pushbutton. As SgtWookie mentioned, you'll want to be sure to get one cover. SW4 can either be a latching push button switch or a (non-momentary) toggle switch. I'd suggest the latter so you'll be able to "see" whether the one is on or off.2. SW1,2,and 3 I assume are switches like the ones SGT Wookie suggests? What about number 4? Is that just an NO switch?
Sorry, I meant to call out some of them. Excellent observation, especially on the wattage part - many people new to electronics forget about that. R1-R12 are 10kΩ, 1/4W. These are used as pull-down resistors because they "pull-down" the voltage going to input pins. These are used so that when the corresponding BCD pin is off, the IC knows the input is 0VDC, otherwise it will "float" and your display will do crazy things.3. How will I know what resistors to use, as far as ohm and wattage?
There are a few options here. I first suggest you assemble the circuit on a breadboard and test it before soldering to a board. This will verify the schematic is correct and help you to easily fine-tune the brightness before you order enough parts for X boards.4. Are there blank circuit boards available for me to assemble these components to?
That's pretty much how I roll! I tend to decide on a project and research it to death, then build it. I prefer to learn as I go, I seem to pick it up easier that way. A couple years ago I decided I wanted to learn to screen print, seemed like a better idea to do it myself than pay someone to do it. Same thing with embroidering, vinyl, etc. Sometimes I spend more, but at least I learn a new trade.No problem, I understand this a lot to digest. We normally have people do some research and propose solutions and help them along. As you're not doing this for a school assignment, need something quick, and intend to kinda go head-first into electronics with a project (one of my favorite approaches ), I had some time and threw this together. I think you'll learn more by looking at it and asking questions than me spoonfeeding it anyway.
Ok I understand. I seen it in there, and wasn't quite sure why. I'm sure the car will provide more than 12vdc, most of the time it'll be closer to 14 as it does still have an alternator.Nope, D1 is used as reverse voltage protection. Even the most astute of us can reverse the power leads during hook-up after a long day. This prevents damage to the circuit in the event someone reverses the power leads, e.g., hooks + to - and vice versa. The only downside with adding a diode in this fashion is you'll lose about 0.7VDC going to the circuit. If you had a regulated 12.0VDC hooked up, then the circuit will only see about 11.3VDC. You have to factor this into choosing your resistor values for the LEDs - more on that later. Despite this, 12VDC from a car usually isn't regulated, so you're more likely to see 12.8-13.4VDC or so. In this case, the diode is also helping to drop the incoming voltage down to a value closer to 12VDC. D1 is a 1N4001. On the same note, C1 is used as a filter and should be rated 50VDC or higher to be safe.
Does each switch require endplates, or just 2 total for the 3 switches?Yes, SW1-SW3 are the mechanical BCD switches SgtWookie suggested. You have your choice of a thumbwheel or pushbutton. As SgtWookie mentioned, you'll want to be sure to get one cover. SW4 can either be a latching push button switch or a (non-momentary) toggle switch. I'd suggest the latter so you'll be able to "see" whether the one is on or off.
I think I'd like to build my own. I'd like control over brightness, and build as much as I canSorry, I meant to call out some of them. Excellent observation, especially on the wattage part - many people new to electronics forget about that. R1-R12 are 10kΩ, 1/4W. These are used as pull-down resistors because they "pull-down" the voltage going to input pins. These are used so that when the corresponding BCD pin is off, the IC knows the input is 0VDC, otherwise it will "float" and your display will do crazy things.
R13-R35 will depend on the displays used. We'll need to know if you're planning to build your own or use a pre-made display. The former will save a little money for the sizes you've mentioned and will require a lot more work, but you have more control and options as far as color and brightness. We'll travel this road once you're ready to tackle it.
Again, I really appreciate your help.Another question I have:The LEDs are clustered in the schematic. Would it have to be that way, or should it be more like this-8?There are a few options here. I first suggest you assemble the circuit on a breadboard and test it before soldering to a board. This will verify the schematic is correct and help you to easily fine-tune the brightness before you order enough parts for X boards.
Once past the breadboard and testing phase, you can:
1) Use pre-made generic PCBs such as: http://www.radioshack.com/product/index.jsp?productId=2102846 - not shown in the photo are the copper traces on the back that are identical to a breadboard. I like this one, but there are an assortment available.
2) Use a strip board such as: http://www.kpsec.freeuk.com/stripbd.htm - these are not real common in the U.S., but they work great. You use a Dremel or X-acto to cut strips as needed to make multiple traces.
3) Design your own board and either make it at home or send it off to get made professionally.
Between the three, I'd suggest option 2. Probably the best option in terms of time, labor, and cost for the quantities you've mentioned.
Before ordering parts, we need to hammer out what you'd like to do for the displays, DIY or pre-made? Also note most pre-made are designed for indoor use and may not be bright enough for daylight. Depends on who needs to "see" the display and how far away they are. You'll probably want to get or make a display and test that is bright enough and viewable before doing much with the circuit. Attached is a DIY display I did which shows the importance of having a filter. You can make these as simple or complex as you want.
We may need to take a different approach if the voltage varies much during operation. Any change in voltage with this design will be seen in the display. If the voltage fluctuates, the display brightness will fluctuate with it. Another good reason to breadboard it out first and test it before ordering too much.I'm sure the car will provide more than 12vdc, most of the time it'll be closer to 14 as it does still have an alternator.
I *think* you just need one. Take a look at the datasheet for the one you're interested in. They appear to have one closed side and one open, presumably to attach to each other. So whether you need one or join twenty together, I believe you just need one cap for the last exposed end.Does each switch require endplates, or just 2 total for the 3 switches?
In case that, I'd suggest cheap, bright LEDs. Ebay is one place and I've used ledshoppe.com. I suggest 5mm LEDs with a rating of 2000mcd or greater and about 30-45 degree viewing angle. Ledshoppe sells 10 degree viewing angle which is okay, but may not allow much viewing from the side. The 2000mcd will allow you to see it in daylight (reasonably anyway). You can purchase 1/8" PVC and drill holes to mount the LEDs or even plywood if you prefer.I think I'd like to build my own. I'd like control over brightness, and build as much as I can
You are correct, I just drew it as shown to keep it simple. I've attached a revised schematic showing the position of each segment. Note the number of LEDs may change depending on the forward voltage of the LED you select (this is determined by the color). I'd suggest drawing out the layout of the 7-segments - you can use 1/4" circle as an approximate LED representation, although they are 5mm in reality. This will help you determine how far you want to space the LEDs from each other, how long the segments will be and ultimately how many LEDs you'll want per segment.The LEDs are clustered in the schematic. Would it have to be that way, or should it be more like this-8?
Probably be okay then, you'll find out in the testing phase in any event.Now that I think of it, voltage shouldn't fluctuate, because I do run an alternator. On some of our other cars we don't. We basically charge between rounds, so there may be a slight voltage drop towards the end of a run. I'm thinking it may be minimal though.
Personally, I like PVC. It's easy to machine and fairly durable. You can get it at McMaster or Enco.You mentioned drilling pvc or plywood, in your pic of the display you made, what are they mounted to?
Nobody has mentioned that the control section will need some small 7 segment LED displays and a whole 'nuther logic board, minus the switches, or can you put 2 driver chips on each BCD decoder?
Probably be okay then, you'll find out in the testing phase in any event.
Personally, I like PVC. It's easy to machine and fairly durable. You can get it at McMaster or Enco.
McMaster: 8747K112
Enco (use-enco.com): 325-4530
I don't know if you use Enco much, but they offer free shipping for all orders over $99 this month with code: SEPUPS. Doubt you have that much in machining and hardware needs for other projects right now, but you never know.
Clear acrylic is cheap and works well, it just cracks easily and doesn't take impact well (dropping, getting hit with something, etc.). Clear polycarbonate would work well and is available at the big box hardware stores. You might need to paint the front a solid color so your digit doesn't look distorted though.
Bill M suggests plywood and it is certainly cheap. Having a little machining experience myself, I'm more comfortable with plastics and metals as they hold their shape better, afford greater machining precision, and you don't have to worry about effects from water contact, humidity or the like over time. You might use some 1/4" plywood scrap for some prototypes then use a stronger material for the finished product. While I love PVC, it ain't exactly cheap at $5+ a square foot.
Also, most LEDs have a very slight taper, so when selecting a drill bit, be sure to measure the diameter of the LED closest to the base (although not the lip of course).
If time allows, I'll try to sketch some simple LED 7-segment layouts and post them in the next day or two. If you want to go for more than one row of LEDs per segment, check this out: http://forum.allaboutcircuits.com/showpost.php?p=483972&postcount=75.
Not sure if that would be practical for 4" high displays, but it gives you some ideas about what you can do with displays.
Nobody has mentioned that the control section will need some small 7 segment LED displays and a whole 'nuther logic board, minus the switches, or can you put 2 driver chips on each BCD decoder?
It is my understanding that with these switches I would not need another display. However, down the line that may be something I venture into. I want to knock out a test piece first, run it on my car for a bit, and decide what I'd like to change. I may want that lit display in the car to be easily seen.I think that they are going to use the BCD Switches that have the number on them. Like this...
So the extra display would not be needed as you can see what number will be displayed.
What is more important, viewing angle, or mcd??In case that, I'd suggest cheap, bright LEDs. Ebay is one place and I've used ledshoppe.com. I suggest 5mm LEDs with a rating of 2000mcd or greater and about 30-45 degree viewing angle. Ledshoppe sells 10 degree viewing angle which is okay, but may not allow much viewing from the side. The 2000mcd will allow you to see it in daylight (reasonably anyway). You can purchase 1/8" PVC and drill holes to mount the LEDs or even plywood if you prefer.
by Duane Benson
by Jake Hertz
by Aaron Carman
by Jake Hertz