Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Interfacing question of different voltage levels

  1. Dec 29, 2011 #1
    Hi all,

    i have this small interfacing problem somebody please suggest me how to resolve this problem. i have two hardware boards say unit 1 and unit 2. The Unit 1 has 48 digital inputs and outputs configurable through software as either input/ouptut but they are ttl level i.e 5V logic. i have unit 2 which is also having digital input and outputs but this unit needs 24V to detect as high (internal to unit2 24v is converted into 5V and given to microcontroller) and on its output it gives either 24V or 0V. Now i need to interface this unit1 and unit2

    My clarifications are:

    1. To connect digital output of unit1 of 5V by level shifting to 24V and giving it to unit2. please suggest some intermediate circuitry for this

    as per my idea i think i can use 24v relays but it would be costly and using some 32 24V relayes would be difficult. could somebody some altenative and easy solutions.

    2. to interface the unit1 digital inputs with unit2 digital outputs. since unit1 recongnizes ttl levels can i convert the 24v high from unit2 by using resistors and bring it to 5V and connect to unit1. Please provide some ideas for this.

    what are the possibilities in which the unit1 5V I/O may get damaged or what care i have to take while interfacing with 24V system.

    please let me know if you have further clarifications.

    thanks in advance,

  2. jcsd
  3. Dec 29, 2011 #2

    jim hardy

    User Avatar
    Science Advisor
    Gold Member

  4. Dec 29, 2011 #3
    Thank you for the quick reply. i have drawn the internal diagrm of the Unit2 conversion from the 24V to 5V system and attched.

    thanks and regards,

    Attached Files:

Share this great discussion with others via Reddit, Google+, Twitter, or Facebook