Jump to content
IGNORED

Shifting logic signals from 5v to 9v


BigO

Recommended Posts

I've been off & on working on a reverse engineering project of an old portable electronic device. The device is powered by a 9V battery. I think I've finally got enough of a clue about how it's supposed to be working that I'm ready to start trying to get it up and running.

 

The original integrated CPU/RAM/IO device operated at 9V. I want to emulate this device using a PIC or other low cost (and more importantly, available) uController. From studying schematics, it looks like downstream device (very, very, very obscure - no specs available) wants 9v on its inputs. I don't see 9v friendly microcontrollers popping up in any searches.

 

I'll test it using the 5v signals direct from the PIC, but I suspect I'll need to level shift the 5v outputs to 9v.

 

Anybody have any experience with a particular chip or method of doing this?

 

The signals are unidirectional, 8 bits, output from the PIC. Current sourcing requirements should be miniscule.

 

Thanks for any feedback or suggestions.

Edited by BigO
Link to comment
Share on other sites

Thanks guys.

 

I was leaning toward the analog switch idea. I've used them in some of my designs before, but only on stuff that switched at practically static speeds. Of course, the original processor only ran at speeds in the kHz so it's not like it would be able to output signals at a scary fast rate.

 

The transistors are definitely an option. In the final solution (if I get that far), I'll probably go with the cheapest option.

Link to comment
Share on other sites

What about using some inverter, buffer ?

here is one:

CMOS Hex Inverting Buffer/Converter

CD4050B

 

http://focus.ti.com/docs/prod/folders/print/cd4049ub.html

 

If you would use VCC = 9V that would give you treshhold of 4.5 V

maybe just enough to be activated by pics 5V ?

and output would be 9V ?

It's possible that any 9v friendly buffer, inverted or not, might work under those same conditions. I don't know how finicky they might be given operation relatively close to the threshold. However, I think I remember that a PIC can operate at 5.5 V so I might be able to cheat the output up to improve the reliability if the output level follows the supply voltage. Never tested that.

 

The same 4.5V threshold might apply to the downstream device in which case I'll have gotten lucky and can get away without explicit level shifting hardware. As if...

Link to comment
Share on other sites

  • 4 years later...

I can't believe I started this project well over 4 years ago...finally got to the point that I've proven the need to do the level shifting.

 

The CD4504B, with which I was previously unfamilar, is designed specifically for this purpose.

@ $.60ea/1, $.46ea/10, it's cheaper to use the chip than transistors and resistors.

 

http://www.mouser.com/ProductDetail/Texas-Instruments/CD4504BE/?qs=sGAEpiMZZMsty6Jaj0%252bBBmDx0n9pcbkk8BeHlEmrJRY%3d

Edited by BigO
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...