<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://w.electrodragon.com/w/index.php?action=history&amp;feed=atom&amp;title=Category%3ASerial</id>
	<title>Category:Serial - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://w.electrodragon.com/w/index.php?action=history&amp;feed=atom&amp;title=Category%3ASerial"/>
	<link rel="alternate" type="text/html" href="https://w.electrodragon.com/w/index.php?title=Category:Serial&amp;action=history"/>
	<updated>2026-07-21T23:12:10Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.37.2</generator>
	<entry>
		<id>https://w.electrodragon.com/w/index.php?title=Category:Serial&amp;diff=30135&amp;oldid=prev</id>
		<title>Chao at 06:54, 9 March 2021</title>
		<link rel="alternate" type="text/html" href="https://w.electrodragon.com/w/index.php?title=Category:Serial&amp;diff=30135&amp;oldid=prev"/>
		<updated>2021-03-09T06:54:19Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Hardware UART Chip ==&lt;br /&gt;
Hardware: Use with easy [https://www.electrodragon.com/product/arduino-uno-r3/ microcontroller arduino]&lt;br /&gt;
* only need to connect &lt;br /&gt;
 module serial TX pin -&amp;gt; arduino serial RX pin, which is arduino D0 pin&lt;br /&gt;
 also connect the common ground.&lt;br /&gt;
Hardware: Use with USB-TTL Debugger: [https://www.electrodragon.com/product-tag/usb-ttl/ get a USB-TTL debugger here]&lt;br /&gt;
* recommand CP2102, CH340 or FT232. &lt;br /&gt;
* Same connect the target module TX (send) pin to USB-TTL debugger RX (receive) pin. Connect debuger USB to PC, use software SSCOM to read it.&lt;br /&gt;
* Recommand software SSCOM51, please find in github.&lt;br /&gt;
Software: Use with SSCOM&lt;br /&gt;
* Switch to english version, supported&lt;br /&gt;
* Please double check baudrate, stop bits, etc. For example, HLW8032 is 4800bps, EL125 is 9600bps&lt;br /&gt;
* click &amp;quot;AddCrLF&amp;quot; depends on the target&lt;br /&gt;
* &lt;br /&gt;
&lt;br /&gt;
== Monitor Tool ==&lt;br /&gt;
=== Tools ===&lt;br /&gt;
SSCOM Serial USB-TTL testing tool please find [https://github.com/Edragon/Tools here.]&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:Sim7020e_debug.png | SIM7020E debug settings&lt;br /&gt;
File:2019-10-18_134123.png | Arduino UNO with EY-08 communication, notice no need /r/n&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The rest&lt;br /&gt;
* Terminal [https://sites.google.com/site/terminalbpp/ Terminal], read more details on this [http://www.electrodragon.com/?p=2904 post].&lt;br /&gt;
&lt;br /&gt;
* [http://www.putty.org Putty]&lt;br /&gt;
* [http://www.vandyke.com/products/securecrt/ SecurecRT]&lt;br /&gt;
* [http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html Putty]&lt;br /&gt;
* [http://freeware.the-meiers.org/ CoolTerm]&lt;br /&gt;
&lt;br /&gt;
== UART USB-TTL ==&lt;br /&gt;
Check here to see the definition of [http://en.wikipedia.org/wiki/Universal_asynchronous_receiver/transmitter UART ]in wikipedia.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Type !! Features !! Compatiblity !! Link/Datasheet !! Driver !! Price&lt;br /&gt;
|-&lt;br /&gt;
| [[PL2303HX]] || - || Not compatible WIN7 || || || x&lt;br /&gt;
|-&lt;br /&gt;
| PL2303HXD (rev. D) || - || Compatible WIN7 || || || 7.5-10.5&lt;br /&gt;
|-&lt;br /&gt;
| PL2303TA || - || Compatible WIN7-10, autoupdate || || || 4.5-7.5&lt;br /&gt;
|-&lt;br /&gt;
| CP2102 ||  QFN28 (5x5mm) || - || || || 6-8.5&lt;br /&gt;
|-&lt;br /&gt;
| CP2104 || &lt;br /&gt;
* OTP one time program&lt;br /&gt;
* QFN24 (4x4mm)&lt;br /&gt;
* cheaper than CP2102, &lt;br /&gt;
* 5V compatible&lt;br /&gt;
* RS-485 supported&lt;br /&gt;
* GPIO &lt;br /&gt;
|| - || || || 5-7.5&lt;br /&gt;
|-&lt;br /&gt;
| CH340G || &lt;br /&gt;
* Baudrate ~ 2M&lt;br /&gt;
|| Compatible WIN10, online install || || || 1.5-2.5&lt;br /&gt;
|-&lt;br /&gt;
| CH341A || &lt;br /&gt;
|-&lt;br /&gt;
| [[FTDI]] FT232RL ||&lt;br /&gt;
|-&lt;br /&gt;
| [[Holtek]] HT42B534 ||&lt;br /&gt;
* Baudrate ~ 3M&lt;br /&gt;
* VDDIO supports 1.8~5.5V for DSP&lt;br /&gt;
* integrated crystal+EEPROM to store VID, etc&lt;br /&gt;
* support from XP to WIN10, android 4.0+IOS &lt;br /&gt;
|| WIN10, IOS, Linux Driver free || [http://www.holtek.com.tw/productdetail/-/vg/42B534-x link], [[:File:HT42B534.pdf|Datasheet]] || [[File:Ht42B534.zip|Driver for WIN7-WIN8]] || 1-2&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
=== Generate Compare ===&lt;br /&gt;
USB - UART/RS-232/RS-485/RS-422&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Header text !! Manufacturer !! Interface !! Rate !! Package &lt;br /&gt;
|-&lt;br /&gt;
| PL2303HX / PL2303HXD /PL2303TA || USB &amp;lt;&amp;gt; 1x UART/RS-232 || Example&lt;br /&gt;
|-&lt;br /&gt;
| CP2102 /CP2104 || SI || USB &amp;lt;&amp;gt; 1x UART/RS-232&lt;br /&gt;
|-&lt;br /&gt;
| CP2105 || SI || USB &amp;lt;&amp;gt; 2x UART/RS-232&lt;br /&gt;
|-&lt;br /&gt;
| CH330N || [[WCH]] || USB &amp;lt;&amp;gt; 1x UART || 2Mbps || SOP8&lt;br /&gt;
|-&lt;br /&gt;
| CH340C / CH340E / CH340G || [[WCH]] || USB &amp;lt;&amp;gt; 1x UART/RS-232/RS-485&lt;br /&gt;
|-&lt;br /&gt;
| CH9340 || [[WCH]] || USB &amp;lt;&amp;gt; 1x UART/RS-232/RS-485&lt;br /&gt;
|-&lt;br /&gt;
| CH9342 || [[WCH]] || USB &amp;lt;&amp;gt; 2x UART&lt;br /&gt;
|-&lt;br /&gt;
| CH9344 || [[WCH]] || USB &amp;lt;&amp;gt; 1x UART/RS-232 + 3x UART &lt;br /&gt;
|-&lt;br /&gt;
| CH341A || [[WCH]] || USB &amp;lt;&amp;gt; 1x UART / Parallel / SPI / I2C / etc || &lt;br /&gt;
|-&lt;br /&gt;
| FT232RL || [[FTDI]] || USB &amp;lt;&amp;gt; 1x UART/RS-232/RS-485/RS-422 || &lt;br /&gt;
|-&lt;br /&gt;
| FT2232RL || [[FTDI]] || USB &amp;lt;&amp;gt; 2x UART/RS-232/RS-485/RS-422 || &lt;br /&gt;
|-&lt;br /&gt;
| FT4232RL || [[FTDI]] || USB &amp;lt;&amp;gt; 4x UART/RS-232/RS-485/RS-422 || &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| HT42B534 || [[Holtek]] || USB &amp;lt;&amp;gt; 1x UART/RS-232 || &lt;br /&gt;
|}&lt;br /&gt;
Parallel / Serial SPI - UART/RS-232/RS-485/RS-422&lt;br /&gt;
* CH438&lt;br /&gt;
* CH432 || [[WCH]] || USB &amp;lt;&amp;gt; 2x UART&lt;br /&gt;
=== Serial Voltage level ===&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:SIM900 Serial.jpg| voltage divider on left side for GSM rx pin&lt;br /&gt;
SIM800_UNO1.jpg| RX pin of SIM900 is 3v3&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Schematic ==&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:SC161S.png | SC161S, I2S to two serial port&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Switch RS232 UART ==&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:74AHC86_sch_01.png | 74AHC86 01&lt;br /&gt;
File:74AHC86_sch_02.png | 74AHC86 02&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
== Linux (Raspberry PI)==&lt;br /&gt;
* sudo raspi-config -&amp;gt; 选择Interfacing Options -&amp;gt; Serial，关闭shell访问，打开硬件串口&lt;br /&gt;
* sudo nano /boot/config.txt&lt;br /&gt;
 enable_uart=1&lt;br /&gt;
 #dtoverlay=pi3-miniuart-bt&lt;br /&gt;
== Software ==&lt;br /&gt;
=== ISP Serial Auto download Circuits Design ===&lt;br /&gt;
* RTS#：信号输出，初始状态为高电平，表示芯片接收数据已经准备就绪，下载程序时会变成低电平。&lt;br /&gt;
* DTR#：信号输出，初始状态为高电平，下载程序时会变成低电平（但是，是在RTS变为低电平之后才为低）。&lt;br /&gt;
Working method for STM32 DL&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Header text !! Normal !! Beginning !! Start Writing !! Finiash Writing !! Normal &lt;br /&gt;
|-&lt;br /&gt;
| DTR || 1 || 1 || 0 || 0 || 1&lt;br /&gt;
|-&lt;br /&gt;
| RTS || 1|| 0 || 0 || 1 || 1&lt;br /&gt;
|}&lt;br /&gt;
Auto download esp&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
| DTR || 1 || 1 || 0 || 0 &lt;br /&gt;
|-&lt;br /&gt;
| RTS || 1|| 0 || 0 || 1 &lt;br /&gt;
|-&lt;br /&gt;
| ESP8266 RST || 1 || 0 || 1 || 1&lt;br /&gt;
|-&lt;br /&gt;
| ESP8266 GPIO0 || 1 || 1 || 1 || 0&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:Stm32_auto_download.png | STM32 ISP Serial auto download&lt;br /&gt;
File:Stm32_mcuisp_setup.jpg | STM32 MCUIPS software control DTR/CTS&lt;br /&gt;
File:Esp8266_software_uart_control.png | ESP8266 programmer esptools use software uart control method&lt;br /&gt;
File:Esp8266_auto_download.jpg | ESP8266 ESP32 ISP Serial auto download, same for Maixpy K210&lt;br /&gt;
File:Esp8266_auto_download4.png | ESP8266 auto download &lt;br /&gt;
File:Esp8266_auto_download2.jpg | ESP8266 auto DL2 (Not testedd)&lt;br /&gt;
File:Esp8266_auto_download3.jpg | ESP8266 auto DL3, need external power (not tested)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/gallery&amp;gt; &lt;br /&gt;
=== Pulse to auto reset ciruits DTR ===&lt;br /&gt;
* reference - https://tttapa.github.io/ESP8266/Chap06%20-%20Uploading.html&lt;br /&gt;
== Arduino Serial ==&lt;br /&gt;
=== Hardware Serial ===&lt;br /&gt;
* Simply flashed a sketch who does not use the hardware serial D0 / D1&lt;br /&gt;
* Do not connect external device during upload sketch&lt;br /&gt;
* Connect Target TXD to arduino D1, Target RXD to arduino D0&lt;br /&gt;
* Open serial monitor to read data&lt;br /&gt;
[[category: Interface]]&lt;/div&gt;</summary>
		<author><name>Chao</name></author>
	</entry>
</feed>