USB Serial Converters: Difference between revisions

From CoMakingSpace Wiki

m (fix duplicate template parameter)
 
(8 intermediate revisions by 4 users not shown)
Line 6: Line 6:
{{ToolInfoBox
{{ToolInfoBox
|tool name=PL2303 USB Serial Converter
|tool name=PL2303 USB Serial Converter
|german=USB-Serial Adapter
|image=PL2303.jpg
|image=PL2303.jpg
|synonyms=
|synonyms=
|type=PL2303
|type=[[electronics]] adapter
|material=
|material=
|used with=[[computer]], [[microcontroller]]
|used with=[[computer]], [[microcontroller]]
|location=[[E-Bench]]
|location=[[Location::Electronics Room|E-Bench]]
|access=upon reading
|access=read this page
|tutors=
|tutors=
|manual=
|manual=
Line 29: Line 30:
{{ToolInfoBox
{{ToolInfoBox
|tool name=CH340 USB Serial Converter
|tool name=CH340 USB Serial Converter
|image=
|german=USB-Serial Adapter
|image=ch340-serial-converter.png
|synonyms=
|synonyms=
|type=CH340
|type=[[electronics]] adapter
|material=
|material=
|used with=[[computer]], [[microcontroller]]
|used with=[[computer]], [[microcontroller]]
Line 40: Line 42:
|donation=
|donation=
|similar=
|similar=
|extrabox=yes
}}
}}


==== Windows ====
=== Windows ===
The cheap USB serial module CH340 is not supported by default in Windows. You need to install the [http://www.arduined.eu/ch340-windows-8-driver-download/ drivers] manually.
The cheap USB serial module CH340 is not supported by default in older versions of Windows. Latest Windows should support CH340 out of the box.
Otherwise you need to install the [http://www.arduined.eu/ch340-windows-8-driver-download/ drivers] manually.


==== Mac ====
=== Mac ===
<pre>brew cask install wch-ch34x-usb-serial-driver</pre>
<pre>brew cask install homebrew/cask-drivers/wch-ch34x-usb-serial-driver</pre>


==== Linux ====
=== Linux ===
Works out of the box.
Works out of the box.
[[Category:Electronics]]
[[Category:Programming]]

Latest revision as of 00:57, 20 December 2023

Most microcontrollers use the serial protocol to communicate with other device and/or get flashed.

If you want to use a computer in order to communicate with a microcontroller, you will need a USB-Serial adapter. While these are often available on the board already (in case you use the development boards), you might have the need to use one of the specific USB-Serial Converters.

PL2303

ToolInfoBox

PL2303 USB Serial Converter

PL2303.jpg
Type: electronics adapter
Used with: computer, microcontroller
Location: E-Bench
Access Requirements: read this page

The PL2303 is a cheap chip which is the base for many USB-Serial Converters. We have some available in the CoMakingSpace which you can use for temporary projects.

The ones we have are based on the PL-2303 XA/HXA chip. Unfortunately, the latest official drivers do not support Windows 10 anymore (see here).

However, somebody uploaded an old driver version to a wordpress blog, which makes the chips work on Windows 10. Of course, use this at your own risk.


CH340

ToolInfoBox

CH340 USB Serial Converter

Ch340-serial-converter.png
Type: electronics adapter
Used with: computer, microcontroller

Windows

The cheap USB serial module CH340 is not supported by default in older versions of Windows. Latest Windows should support CH340 out of the box. Otherwise you need to install the drivers manually.

Mac

brew cask install homebrew/cask-drivers/wch-ch34x-usb-serial-driver

Linux

Works out of the box.