Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

16f877a ports low high state problem

Status
Not open for further replies.

infrared

Newbie level 3
Joined
Nov 19, 2009
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,301
I have a 4x2 bit BCD outputs from a machine to connect as inputs to PORTD of PIC 16f877a.

My problem is that the BCD outputs of the machine is .38 volts for low state and .90 volts for high state and because the PORT of PIC is TTL it cannot understood the high and low states.

What can i do?
Is it possible to define the high and low volts of the PIC PORTD or there is another
solution ?
I am trying to create i pinball MPU tester but i dont know what to do with this
problem.

Any help please ?
 

Hi infrared,

Since your high input is greater than 0.7V, you can try giving the input to a transistor wired as a switch. The output would be inverted in that case. Try the ckt given.
 

matbob thank you very much i will try it !!!!!

Added after 3 hours 11 minutes:

matbob is it possible to use a transistor but with no inverted output ?
 

Hi infrared,

You may use two such stages so that the input get inverted two times which will give you a normal output. But if you are using a microcontroller it is not required because you can do the inversion in the software very easily.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top