Industrial control applications often use PLCs (Programmable Logic Controllers) that operate at 24V logic levels. This voltage creates a challenge for the safe use of microcontrollers. Such a design requires a physical barrier between the microcontroller and the 24V signal to avoid damage to the microcontroller in the event of a fault or short circuit.
A simple and inexpensive way to transform 24V to a microcontroller is to use the ULN2003 or ULN2803 transistor drivers, which have seven and eight outputs, respectively. These ICs can provide 500 mA for a light bulb or solenoid valve. The damping diodes in these ICs eliminate the need for multiple passive components, especially for designs using coils.
Because they are digital inputs, passive components require multiple devices, complicating assembly, increasing cost, and increasing the requirements for troubleshooting and maintenance. Few simple ICs can withstand voltages above 24V.
For this voltage, you can use an interface IC, such as the MC1489 or SN75189 converter, to act as an RS-232 line receiver. These ICs can accept digital signals up to ±30 V. They also have the added benefit of some hysteresis in the level shifting, so they can discern some electrical noise in the signal (Figure 1).
These devices can be connected directly to the microcontroller. If mounted in a DIP socket, they can be easily replaced if damaged. The circuit uses a 78L05 linear regulator to reduce the power supply voltage to 5V. The 1N4007 is used as circuit protection between the 24V DC and the 5V LM7805 regulator to prevent possible power reverse connection. This situation must be considered when programming the microcontroller because the signal will be supplemented to the input terminal.
Previous article:Energy Saving Using Soft Zener Clamp Circuit
Next article:Energy Saving Using Soft Zener Clamp Circuit
- Popular Resources
- Popular amplifiers
- MathWorks and NXP Collaborate to Launch Model-Based Design Toolbox for Battery Management Systems
- STMicroelectronics' advanced galvanically isolated gate driver STGAP3S provides flexible protection for IGBTs and SiC MOSFETs
- New diaphragm-free solid-state lithium battery technology is launched: the distance between the positive and negative electrodes is less than 0.000001 meters
- [“Source” Observe the Autumn Series] Application and testing of the next generation of semiconductor gallium oxide device photodetectors
- 采用自主设计封装,绝缘电阻显著提高!ROHM开发出更高电压xEV系统的SiC肖特基势垒二极管
- Will GaN replace SiC? PI's disruptive 1700V InnoMux2 is here to demonstrate
- From Isolation to the Third and a Half Generation: Understanding Naxinwei's Gate Driver IC in One Article
- The appeal of 48 V technology: importance, benefits and key factors in system-level applications
- Important breakthrough in recycling of used lithium-ion batteries
- LED chemical incompatibility test to see which chemicals LEDs can be used with
- Application of ARM9 hardware coprocessor on WinCE embedded motherboard
- What are the key points for selecting rotor flowmeter?
- LM317 high power charger circuit
- A brief analysis of Embest's application and development of embedded medical devices
- Single-phase RC protection circuit
- stm32 PVD programmable voltage monitor
- Introduction and measurement of edge trigger and level trigger of 51 single chip microcomputer
- Improved design of Linux system software shell protection technology
- What to do if the ABB robot protection device stops
- Detailed explanation of intelligent car body perception system
- How to solve the problem that the servo drive is not enabled
- Why does the servo drive not power on?
- What point should I connect to when the servo is turned on?
- How to turn on the internal enable of Panasonic servo drive?
- What is the rigidity setting of Panasonic servo drive?
- How to change the inertia ratio of Panasonic servo drive
- What is the inertia ratio of the servo motor?
- Is it better for the motor to have a large or small moment of inertia?
- What is the difference between low inertia and high inertia of servo motors?
- Primary side issues of push-pull circuits
- How many components do you think are needed to make an adjustable power supply?
- Purgatory Legend-PS2 Interface War
- A brief introduction to the third generation semiconductors
- STM32H745I-DISCO
- How to program the C2000 on-chip Flash?
- EEWORLD University ---- Tektronix uses mixed signal oscilloscope to explore the secrets of the bus
- New RTOS Tutorial: Getting Started with RT-Thread Kernel in 15 Days
- Come to the thread and tell us what are the key points and difficulties in learning motor control [Reply to get the core]
- Why choose 120Ω? The terminal resistance value recommended by the CAN standard