Categories
Statistics
Flag Counter
Since 08.08.2014
Counts only, if "DNT = disabled".

Your IP is 18.205.114.205
ec2-18-205-114-205.compute-1
Info
Valid HTML 4.01 Transitional Creative Commons Lizenzvertrag
rss
เราจะทำแบบวิศวกรผู้ยิ่งใหญ่
We love the King
19. March 2024
Your valuable opinion :
3 stars

Avg. 3.00 from 8 votes.



UART-RS232-Adapter.php    6168 Bytes    12-02-2018 11:22:26


Micro-Projects • Tools : UART - RS232 Adapter





Micro-Projects • Tools : UART - RS232 Adapter



RS232 in the year 2014 ??? Yes ! As it is still the mother of all serial communications - and we use it often, we put this information here. As memory or clock stability is nowadays a self-evidence, we dropped that handshaking stuff. Only RX and TX are used. And they are used therefore, as the microprocessor would call them. The used 6-pin header has always the same pin assignment, so they (RS232,USB,XPORT,...) are all interchangeable.




Testing




The device may easily be tested using HTerm in a loopback configuration. (RX is tied to TX and so the data is send back to the computer). Current consumption was 6 mA at 5 V.


HTerm in action

HTerm in action HTerm in action


On the left side we see the RX signal which has almost 5 Vpp. On the right side : TX. We also see, that a logic one (high) is translated to -10V, whereas the logic zero (low) is +10V. The settings were 9600,8,N,1. The LSB is transmitted first. In binary form the word 'HOLA' looks like this :

START 00010010 11110010 00110010 10000010 STOP


3 EASY STEPS TO UNDERSTAND AND CONTROL YOUR RS232 DEVICES




Downloads








✈ Share your thoughts



The webmaster does not read these comments regularely. Urgent questions should be send via email. Ads or links to completely uncorrelated things will be removed.


Your Browser says that you allow tracking. Mayst we suggest that you check that DNT thing ?

 
t1 = 6459 d

t2 = 279 ms

★ ★ ★  Copyright © 2006 - 2024 by changpuak.ch  ★ ★ ★

PRchecker.info Impressum