Replies
Welcome, guest
Join CrazyEngineers to reply, ask questions, and participate in conversations.
CrazyEngineers powered by Jatra Community Platform
-
@maheshkrishnan-5rk1zA • Apr 16, 2007
Pramod,
For serial and parallel port interfacing ,
go thru the site <a href="https://www.beyondlogic.org" target="_blank" rel="nofollow noopener noreferrer">Beyondlogic – Electronics Hardware – Embedded Linux – Internet of Things</a>
Thanks,
Maheshkrishnan -
@rachaelp-iZbCCq • Apr 16, 2007
The input voltage levels for a standard parallel port are TTL levels i.e. logic '0' <= 0.8V and logic '1' >= 2V so any TTL compatible 74xx245 should work fine. My guess is that you either have a problem with the control lines or you havent got the grounding good enough and the data lines arent reaching the correct levels due to ground bounce (i.e. there should be a good ground connection between your board's ground and the ground of the parallel port). For the control lines you should connect nIOR, nIOW or nWrite to the Dir pin of the 245 and then nDataStrobe to the En pin of the 245. I'm not sure which way the Dir pin is off the top of my head so make sure the selected direction (i.e A to B or B to A) is correct.
One more thing could be decoupling. You should put a 100nF cap very close to the Vcc pin of the 245 otherwise it may latch up. Also a larger 10uF might be of some use too.
Hope this is of some use.
Rach