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

Adapter I2C-COM port of the computer. 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

Sometimes, especially when studying the features of a particular microcircuit or debugging a device based on it, it is convenient to connect the I2C interface lines to a computer. Since computers are not equipped with such an interface, this requires an adapter that converts the transmitted signals into an acceptable form for one of the standard computer ports.

The device is a signal level converter of the RS-232 interface (computer COM port) to the I2C bus signal levels and vice versa. The number of elements in the adapter is extremely small: one microcircuit, two transistors and four resistors and a capacitor each.

Adapter I2C-computer port
Fig. 1

On fig. 1 shows the adapter diagram. The MAX232ACSE(DA1) chip is a widely used bidirectional RS-232 to TTL level converter. Capacitors C1-C4 are the standard "strapping" of this microcircuit. Inverters on transistors VT1, VT2 provide the adapter with open-collector outputs necessary for the I2C bus, and resistors R3, R4 maintain a high level on the bus lines with closed transistors.

Adapter I2C-computer port
Fig. 2

The mounting is carried out on a double-sided printed circuit board, shown in fig. 2. It is designed to install surface-mounted elements (resistors and capacitors - size 0805) and place an XS1 socket inside the case, which is connected directly to the computer's COM port plug. Wire jumpers must be inserted into the holes with dots in the center, soldering them on both sides.

Instead of the MAX232ACSE chip, you can use the ADM232AARN and its other analogues, but you need to make sure that they are designed to work with capacitors C1-C4 with a capacity of 0,1 microfarads. Otherwise, you need to replace them with capacitors with a capacity indicated in the description of the microcircuit.

The BC850 transistors can be replaced with any other low power npn structures that have a static current transfer ratio of at least 50. The 5V supply must be supplied to the adapter from the I2C device it is working with.

A properly assembled adapter does not need to be adjusted. If necessary, it can be checked using the program described in [2]. It allows you to change the logical levels of signals at the outputs of the COM port and monitor the state of its inputs. The program can be downloaded hence.

Adapter I2C-computer port
Fig. 3

To manually control a device connected to a computer via an adapter, the i2cWin program was written, the window of which is shown in Fig. 3. It requires Windows 2000/XP/Vista operating system, 2 MB free hard disk space, free RS-232 port. To work under Windows 2000/XP, the Microsoft dotNet framework 2.0 package must be installed, which can be downloaded free of charge from microsoft.com. It is not required for Windows Vista. Instructions for working with the i2cWin program can be obtained by selecting the "Help" item in its main menu.

The PCB file of the adapter in P-CAD 2006 format and the installation file of the i2cWin program can be downloaded hence.

Literature

  1. Semenov B. I2C bus in radio engineering structures. - M.: "Solon-R", 2002.
  2. Long A. How to test PonyProg. - Radio, 2003, No. 5, p. 25, 26.

Author: M. Kvasnikov, Nizhny Novgorod; Publication: radioradar.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

Robot babysitter for dogs 27.04.2017

Ford designer Itzel Cortez has developed a special nanny robot for dogs. The system controls the pet's food and location through a smartphone app.

Ford designer Itzel Cortes presented her robot project to the world at the Last Mile Mobility Challenge. According to the developer, the collar is inextricably linked with the smartphone. In the application, the owner can independently choose the time for walking and feeding the dog. With such a nanny, a pet can be let out on the street without fear of losing it. The robot can play all the owner's commands, feed the dog and even clean up after it while walking.

According to Itzel Cortes, her invention will be very useful for modern people who spend days at work. The Ford designer was inspired to create a babysitter by her own dog.

“I don’t have tea in my dachshund Mary. Unfortunately, I can’t always give her due attention, so such a robot nanny will come in handy. Now I can send my dog ​​for a walk at any time without worries,” said Itzel Cortes at the Last Mile Mobility Challenge.

Other interesting news:

▪ Xiaomi car running on HyperOS

▪ Cotton absorbs water from the air

▪ 6-channel light sensor VD6283TX

▪ Holes in the light tied in knots

▪ Solid State Drives SSDNow KC380 from Kingston Technology

News feed of science and technology, new electronics

 

Interesting materials of the Free Technical Library:

▪ section of the site Children's scientific laboratory. Article selection

▪ article You won, Galilean! Popular expression

▪ article Why can't we feel the rotation of the Earth? Detailed answer

▪ article Hairy millet. Legends, cultivation, methods of application

▪ article Adjustment and coordination of antenna-feeder devices. Encyclopedia of radio electronics and electrical engineering

▪ article Ribbons-travelers. 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