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.

Help:PC parallel port to SPI voltage shift circuit

Status
Not open for further replies.

smithchart

Member level 5
Joined
Aug 10, 2004
Messages
89
Helped
24
Reputation
48
Reaction score
19
Trophy points
1,288
Activity points
1,308
spi voltage

Hi,

Anyone have the reference design/recommendations for an interface circuit between the PC parallel port and a device using SPI protocol? The main purpose of the interface circuit is to convert +5V output of PC parallel port to +3.3V which is going to be used by SPI protocol.

Thanks in advance.
 

IanP

Advanced Member level 5
Joined
Oct 5, 2004
Messages
7,929
Helped
2,311
Reputation
4,624
Reaction score
531
Trophy points
1,393
Location
West Coast
Activity points
66,416
parallel port spi

Here is a simple level translator/buffer that will convert levels from, in this case, 3.3V to 5V and vice versa ..

Regards,
IanP
 

    smithchart

    Points: 2
    Helpful Answer Positive Rating

smithchart

Member level 5
Joined
Aug 10, 2004
Messages
89
Helped
24
Reputation
48
Reaction score
19
Trophy points
1,288
Activity points
1,308
pc parallel port spi

Hi, IanP:

Thanks a lot for your help!

It would be better if you can give more details on this figure such as suitable parts(part number) of the transistor.

Actually, after intesive searching on the Internet, I also found similar circuits that used Philips BSNxx series MOSFET to implement the general purpose bi-directional voltage shifter. In addtion, there are a lot of ICs that can achieve this kind of goal, in order to benefit everyone who viewed this post, I'd like to share some of the applications as below.

Best regards,
 

Attachments

  • an97055_191.pdf
    75.3 KB · Views: 26

silvio

Advanced Member level 3
Joined
Dec 31, 2001
Messages
715
Helped
105
Reputation
210
Reaction score
16
Trophy points
1,298
Location
Romania
Activity points
11,468
spi vlotage converter

Smithchart,

You have 102 post on forum.
I'm confident you know that links are prefered where possible instead of uploads ?

**broken link removed**
**broken link removed**
 

jhbbunch

Full Member level 4
Joined
Feb 21, 2006
Messages
197
Helped
17
Reputation
34
Reaction score
3
Trophy points
1,298
Activity points
2,902
pc port circuit

From Ian's slick little voltage translation circuit, 10 k resistors and 3.3 and 5 volt levels aren't going to generate a milliamp of current so any cheap general purpose NPN transistor like a 2n3904 of pn2222 will work fine. Any low power NPN bipolar transistor with a gain of over 100 and a current rating of over 100 milliamps should be safe (hundreds of transistors meet that criteria). That circuit is like 10 cents to make, but if you want to spend bucks on Maxims level conversion stuff be my guest.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top