CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

Off topic : 24 volt level shifter

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Gerrit



Joined: 15 Sep 2003
Posts: 58

View user's profile Send private message

Off topic : 24 volt level shifter
PostPosted: Sun Oct 12, 2003 11:46 am     Reply with quote

What is the simpelest and cheapest way of getting 32 digital channels of (8-32)volt input circuit to 5 volt digital output.

gerrit
Steve H.
Guest







PostPosted: Sun Oct 12, 2003 2:56 pm     Reply with quote

I like the Maxim MAX6818 Octal debouncers. OVP/ESD protected and easy to make into an 8 bit bus arrangement.

[url]
http://www.maxim-ic.com/quick_view2.cfm/qv_pk/1896
[/url]

Steve H.
ajt



Joined: 07 Sep 2003
Posts: 110

View user's profile Send private message

PostPosted: Sun Oct 12, 2003 9:15 pm     Reply with quote

Steve H. wrote:
I like the Maxim MAX6818 Octal debouncers. OVP/ESD protected and easy to make into an 8 bit bus arrangement


These are good parts but in the application requested there would need to be a level shifter on each input since the input is 8-32 volts and the threshold of the Max6818 is 2.4V (5V Vcc) and the absolute max input range is +/-30V. Also there is a long delay for the debounce function, typically 40ms, that needs to be accounted for.
_________________
Al Testani
John P



Joined: 17 Sep 2003
Posts: 331

View user's profile Send private message

PostPosted: Sun Oct 12, 2003 11:58 pm     Reply with quote

Quick and dirty method would be to set up a 10:1 voltage divider with resistors, then straight to a CMOS logic input. You'd get 2.9v as a high, and .73v as a low, which should work. It would be easiest with resistor packs.
Haplo



Joined: 06 Sep 2003
Posts: 659
Location: Sydney, Australia

View user's profile Send private message

PostPosted: Mon Oct 13, 2003 12:47 am     Reply with quote

Or a 6:1 voltage divider and a 5.1v zener.
Pete Smith



Joined: 17 Sep 2003
Posts: 55
Location: Chester, UK

View user's profile Send private message Visit poster's website MSN Messenger ICQ Number

Re: Off topic : 24 volt level shifter
PostPosted: Mon Oct 13, 2003 12:54 am     Reply with quote

Gerrit wrote:
What is the simpelest and cheapest way of getting 32 digital channels of (8-32)volt input circuit to 5 volt digital output.

gerrit


I'd use transistors myself. Certainly cheap, very simple (even if you don't want the level to be inverted), but could get a bit unwieldy with 32 channels Smile

You could even use "digital transistors". which don't need input resistors. That would cut the components you need down a little.

Pete.
Kenny



Joined: 07 Sep 2003
Posts: 173
Location: Australia

View user's profile Send private message

PostPosted: Mon Oct 13, 2003 1:55 am     Reply with quote

Another possibility is a single clamp circuit for all channels using a shunt regulator, the TL431, and a resistor and diode for each channel.

http://www.onsemi.com/pub/Collateral/TL431-D.PDF
Fig. 19 shows the configuration for higher current. A TIP32A is a suitable PNP transistor. The input resistor is connected to a higher voltage to keep some current going through the clamp if all the inputs are low.

Each channel has a resistor and diode in series to the clamp circuit (set to about 4.4V). The inputs to the PIC come from between the resistors and diodes.
The circuit is also suitable for a/d input limiting. This is the application that I saw on a Perkin-Elmer minicomputer years ago.

HTH
Gerrit



Joined: 15 Sep 2003
Posts: 58

View user's profile Send private message

PostPosted: Tue Oct 14, 2003 4:10 am     Reply with quote

Thank you all for sharing your idea.


I will go for a solution where the input clamp diode of an HC
is used with a high input resistor.


Kind regard


Gerrit
SherpaDoug



Joined: 07 Sep 2003
Posts: 1640
Location: Cape Cod Mass USA

View user's profile Send private message

PostPosted: Tue Oct 14, 2003 6:47 am     Reply with quote

Look at Microchip's app note AN521. It describes just what you can reliably get away with in using input clamp diodes. Interesting reading!
_________________
The search for better is endless. Instead simply find very good and get the job done.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group