Menu English Ukrainian russian Home

Free technical library for hobbyists and professionals Free technical library


ENCYCLOPEDIA OF RADIO ELECTRONICS AND ELECTRICAL ENGINEERING
Free library / Schemes of radio-electronic and electrical devices

RS-232-TTL converter. Encyclopedia of radio electronics and electrical engineering

Free technical library

Encyclopedia of radio electronics and electrical engineering / Computers

Comments on the article Comments on the article

When developing various kinds of electronic devices using microcontrollers, it is very often useful to be able to connect them to a personal computer via a serial port. However, this cannot be done directly, since according to the RS-232 standard, the signal is transmitted at levels of -3..-15V (logical <1>) and +3..+15V (logical <0>). To convert RS-232 levels to standard TTL logic levels, special converter chips are usually used. However, it does not always make sense to include a level converter in the circuit of the device being designed, since it often happens that communication with a computer is needed only at the stage of manufacturing and debugging the device, and there is no need for it in the final product. The logical way out in this situation can be the manufacture of a separate RS-232 to TTL level converter, a diagram of one of the possible options for which is shown in Figure 1.

RS-232-TTL converter
Fig. 1

The proposed converter is based on the widespread MAX232A level converter chip from Maxim (U1), which also has many analogues from other manufacturers (Analog Devices, LG, etc.). This microcircuit is designed for a 5V supply voltage and has a built-in voltage doubler and inverter on switched capacitors to obtain the +10V voltages required to work with RS-232 signals. The microcircuit requires 4 external capacitors (C1, C2, C3, C4) with a capacity of 0.1 uF, which are used in the voltage converter. In addition, to simplify the use of this converter, it provides power supply directly from the serial port, eliminating the need for external power supplies. The supply voltage of 5 V is created by a low-power linear voltage regulator LM78L05 (U2), the input of which is connected to the storage capacitor C6. Capacitor C6 is charged via a diode from the Data Terminal Ready signal (DTR, fourth pin of the 9-pin RS-232 connector). Diode D1 can be of any type (the author used a diode in a surface mount package, soldered from a burnt motherboard). Normal operation of such a power converter requires the DTR signal to be logic zero most of the time. This must be provided by the terminal program or user program being used.

The use of the converter described above turns out to be convenient in those cases when, during the operation of the device, communication with a computer is not required, but it is needed at the stage of debugging or manufacturing the device. A typical example of this would be, for example, a device with flash or EEPROM memory that requires initial initialization. In addition, it is often very convenient during the development process to output various kinds of debugging information to the serial port, which sometimes makes it possible to do without hardware emulators.

Publication: cxem.net

See other articles Section Computers.

Read and write useful comments on this article.

<< Back

Latest news of science and technology, new electronics:

Artificial leather for touch emulation 15.04.2024

In a modern technology world where distance is becoming increasingly commonplace, maintaining connection and a sense of closeness is important. Recent developments in artificial skin by German scientists from Saarland University represent a new era in virtual interactions. German researchers from Saarland University have developed ultra-thin films that can transmit the sensation of touch over a distance. This cutting-edge technology provides new opportunities for virtual communication, especially for those who find themselves far from their loved ones. The ultra-thin films developed by the researchers, just 50 micrometers thick, can be integrated into textiles and worn like a second skin. These films act as sensors that recognize tactile signals from mom or dad, and as actuators that transmit these movements to the baby. Parents' touch to the fabric activates sensors that react to pressure and deform the ultra-thin film. This ... >>

Petgugu Global cat litter 15.04.2024

Taking care of pets can often be a challenge, especially when it comes to keeping your home clean. A new interesting solution from the Petgugu Global startup has been presented, which will make life easier for cat owners and help them keep their home perfectly clean and tidy. Startup Petgugu Global has unveiled a unique cat toilet that can automatically flush feces, keeping your home clean and fresh. This innovative device is equipped with various smart sensors that monitor your pet's toilet activity and activate to automatically clean after use. The device connects to the sewer system and ensures efficient waste removal without the need for intervention from the owner. Additionally, the toilet has a large flushable storage capacity, making it ideal for multi-cat households. The Petgugu cat litter bowl is designed for use with water-soluble litters and offers a range of additional ... >>

The attractiveness of caring men 14.04.2024

The stereotype that women prefer "bad boys" has long been widespread. However, recent research conducted by British scientists from Monash University offers a new perspective on this issue. They looked at how women responded to men's emotional responsibility and willingness to help others. The study's findings could change our understanding of what makes men attractive to women. A study conducted by scientists from Monash University leads to new findings about men's attractiveness to women. In the experiment, women were shown photographs of men with brief stories about their behavior in various situations, including their reaction to an encounter with a homeless person. Some of the men ignored the homeless man, while others helped him, such as buying him food. A study found that men who showed empathy and kindness were more attractive to women compared to men who showed empathy and kindness. ... >>

Random news from the Archive

Bee vaccine 18.01.2023

The USDA has approved the world's first honey bee vaccine. This should help in the fight against American foulbrood, a disease that usually devastates bee colonies.

The drug is a weakened bacterium. Once in the body of the queen bee, it triggers the production of specific immunity for the larvae that she will give birth to.

The vaccine will initially be available to commercial beekeepers.

"Our vaccine is a breakthrough in protecting honey bees. We are ready to change the way we care for insects, which in turn will affect food production globally," said Annette Kleiser, chief executive of vaccine developer Dalan Animal Health.

Other interesting news:

▪ hot imprint

▪ MIPS Warrior I64 6400-bit processor cores

▪ Red light can improve vision

▪ Concave image sensor developed

▪ transparent concrete

News feed of science and technology, new electronics

 

Interesting materials of the Free Technical Library:

▪ section of the site Winged words, phraseological units. Selection of articles

▪ article by Maria Sklodowska-Curie. Famous aphorisms

▪ article Do insects have blood? Detailed answer

▪ Knife article. Travel Tips

▪ article Burglar Alarm Transmitter. Encyclopedia of radio electronics and electrical engineering

▪ article From one coin - three. Focus secret

Leave your comment on this article:

Name:


Email (optional):


A comment:





All languages ​​of this page

Home page | Library | Articles | Website map | Site Reviews

www.diagram.com.ua

www.diagram.com.ua
2000-2024