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 19th April 2008, 12:53 AM   (permalink)
Angry what am I doing wrong...MC4028BE

Well, I come to the electro gods again for help... What seemed so simple (in theory) operates completely unexpectedly. Attached is the datasheet for my problem child...the MC4028BE BCD to decimal decoder.

SETUP: Vdd=12vdc, Vss=ground, input "D"=grounded, Inputs A,B,C are attached to pushbuttons to 12vdc.

With no inputs I get 6vdc on (pin 3)...shouldn't it be closer to 12vdc?
With inputs on A, B, and C (pin 4) reads 12vdc but I also noticed it stays at 6vdc when inputs removed...so It jumps only 6vdc when activated.
All other outputs start at 0vdc and go to 6vdc or so.

I would think they all start at 0vdc and output Vdd when activated but that is not whats happening obviously. This happens with 3 exact chips...I've also set it up several times on the breadboard to make sure I didn't mess the wiring up.

Ive also attached a pic of exactly what I have on the breadboard. Keep in mind that pin 4 always has 6vdc on it so the LED dims immediately. when pin 4 is active the 12vdc is enough to kill the LED completely....when 15 is active the led goes out completely but only outputs 6vdc. I think the 6vdc from pin 4 plus the 6vdc from pin 15 together make this happen because no other output will extinguish the LED including pin 15 if pin 4 is not connected. HELP HELP HELP!!!

Any help appreciated!!!
Attached Images
File Type: jpg 4028 problem.JPG (26.5 KB, 27 views)
Attached Files
File Type: pdf cd4028b.pdf (802.8 KB, 7 views)
strokedmaro is offline  
Old 19th April 2008, 12:55 AM   (permalink)
Default

AHH...maybe I just thought of it myself...do I need pull down resistors on A, B, and C when not active? I remember someone posting something like that on another post. If so, can someone draw a quick example? thanks!

EDIT: I guess A, B and C are technically not "0" without being grounded when not high right?

EDIT: I was right...."low" A,B,C inputs have to be grounded when not high or it does not work....now, can I just put a reisitor to ground on each of these inputs??

Last edited by strokedmaro; 19th April 2008 at 01:22 AM.
strokedmaro is offline  
Old 19th April 2008, 02:24 AM   (permalink)
Default

You should indeed use pulldown resistors. Anything in the range 10k - 100k should be fine.
You need to put the resistor values on your schematic.
Also, how are you limiting your LED current? There should be a resistor in series.
What is the purpose of D7? Are you driving a relay, solenoid, or motor?
Maybe you could explain in detail what you are trying to do.
__________________
Ron


Last edited by Roff; 19th April 2008 at 02:26 AM.
Roff is offline  
Old 19th April 2008, 03:51 PM   (permalink)
Default

Quote:
Originally Posted by Roff
You should indeed use pulldown resistors. Anything in the range 10k - 100k should be fine.
You need to put the resistor values on your schematic.
Also, how are you limiting your LED current? There should be a resistor in series.
What is the purpose of D7? Are you driving a relay, solenoid, or motor?
Maybe you could explain in detail what you are trying to do.
Good observations....the circuit does indeed drive a pair of solenoids (the reason for D7) . The pic attached is for one half of the circuit and only shows 1 solenoid (LED-which does have a resistor in series) I also wasnt thinking about the inputs to the decoder when I was testing....normal operation will switch between 12vdc and ground from within a computer this project will attach to. on the breadboard however I only had pushbuttons on going to power with no pull downs. I think I've finally got it right. THANKS!
strokedmaro is offline  
Old 19th April 2008, 07:29 PM   (permalink)
Default

Quote:
Originally Posted by strokedmaro
Good observations....the circuit does indeed drive a pair of solenoids (the reason for D7) . The pic attached is for one half of the circuit and only shows 1 solenoid (LED-which does have a resistor in series) I also wasnt thinking about the inputs to the decoder when I was testing....normal operation will switch between 12vdc and ground from within a computer this project will attach to. on the breadboard however I only had pushbuttons on going to power with no pull downs. I think I've finally got it right. THANKS!
Unless you have other connections to the circuit you posted, you could get rid of about half the parts. You wouldn't need any of the diodes except D7, or any of the base-to-ground resistors.
__________________
Ron

Roff is offline  
Reply

Bookmarks

Thread Tools
Display Modes



Similar Threads
Title Starter Forum Replies Latest
AM receiver raj_404 General Electronics Chat 61 11th July 2008 03:41 AM
What am I doing wrong? Trevors Micro Controllers 11 17th April 2008 11:23 AM
Am I wrong? Boncuk General Electronics Chat 15 12th April 2008 05:33 PM
What am i doing wrong? First project Zordon Micro Controllers 5 31st March 2008 06:50 PM
serial communication code,whats wrong in this? baftab Micro Controllers 4 20th December 2007 02:03 AM



All times are GMT. The time now is 08:40 AM.


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

eXTReMe Tracker