5i442Kafvh

CH340 Console Module

 
Overview
This console communication module uses the ultra-stable CH340 solution and is compatible with Win11 systems.
The reason for making this: I bought a switch with a console port to play around with, but found that the console cables on the market were not very reliable. Those using the PL2303 solution couldn't install drivers on Win11, and on Win7, the drivers would drop frequently, requiring a restart to fix. Console cables using the FT232 solution were extremely expensive. After researching the working principle and communication levels of the console port, I decided to build my own better and cheaper console communication module.
 
Features: Made using the CH340N USB-to-TTL chip and MAX232, it has a simple structure, stable operation, and low cost. Only one A-to-C data cable and one network cable are needed to enable communication between the computer and the switch's console port.
 
Usage:
1. Prepare an A-to- C data cable... C. Data cable and a cable of length
2. Since the Console port uses RS232 level communication, which involves high voltage, hot-plugging the RS232 level port while it is powered on can easily damage the port circuit. It is recommended to first connect the module's network port to the switch's Console port using a network cable, and then use A to... 3. Connect the computer's USB-A port to the Type-C port on the module using the C data cable. 4.
After configuring SecureCRT and other software to suit the switch's communication parameters, you can communicate with the switch's Console port.
5. After completing communication, it is recommended to disconnect the USB connection first, then disconnect the physical connection of the Console port (for the same reason as point 2).
 
Friendly Links
: Demonstration (Bilibili): One-click link to Bilibili
CH340 Official exe Driver: One-click link to official download
Important Reminders
: 1. Because the Console port uses RS232 level communication, the voltage is relatively high (-9V, +9V). Hot-plugging RS232 level ports while powered on can easily damage the port circuitry. Recommended connection order: Console port → USB; Disconnection order: USB → Console port.
2. The indicator lights on the network port are only used to show the active status of the RX and TX communication lines and are unrelated to the network connection status.
3. Do not mistake this device for a USB wired network card and attempt to establish a network connection using it (if you can't even distinguish this, there's no need to be a network engineer or have a need for this module).
4. This device's network port is only allowed to connect to the switch's Console port (this is the purpose of this module's design). It is forbidden to connect this device's network port to any other device's regular network port or PoE port. [Image of the device
itself connected to the switch; image of communication results with the switch (9600 baud rate)]



PDF_CH340 Console module.zip
Altium_CH340 Console module.zip
PADS_CH340 Console module.zip
BOM_CH340 Console module.xlsx
91823
A niche embedded learning development board based on STC89C51
An embedded learning board based on the STC8H8K64U chip, suitable for people who want to use their brains a little but don't want to think too much.
Project Introduction:
This project is an embedded learning development board based on the 51 microcontroller, using USB-ISP mode for program download.
Project Functionality
: This design is an embedded learning board based on the STC8H8K64U microcontroller; it features four user-defined buttons, the functions of which must be determined by the user through corresponding code; it also has eight LEDs as running lights, which can be implemented through code to achieve a running light effect, and with further learning, a breathing light effect can be achieved. The onboard 44-matrix keypad can also be customized to perform many functions, making it suitable for beginners; additionally, an onboard thermistor, through the microcontroller's ADC, can be used to collect ambient temperature data, sufficient for use as the main controller in various systems.
Principle Analysis (Hardware Description):
This project uses the manufacturer's minimum chip system, plus LED lights, a matrix keypad, a download interface, user-defined buttons, and a thermistor. The microcontroller used in this project can be directly powered by a 5V power supply, so only a Type-C interface is included for power supply and downloading; no separate power supply is designed for the chip. The temperature acquisition uses a negative temperature coefficient thermistor, which can obtain the relationship between the sampling voltage and the ambient temperature according to the temperature curve, and is used to obtain the ambient temperature value. In addition, all IO of the microcontroller is brought out, and more peripherals can be connected.
Software code
include "led.h"
int i = 0;
float ls[8] = {0xFE,0xFD,0xFB,0xF7,0xEF,0xDF,0xBF,0x7F};
void LED_liushui(int dir)
{
if(dir == 1)
{
for (i=0;i<=7;i++)
{
P2 = ls[i];
delay_ms(100);
}
}
else if(dir == 2)
{
for (i=0;i<=7;i++)
{
P2 = ls[7-i];
delay_ms(100);
}
}
}
Simple running light code design, which will be updated later to make a small project
physical picture of ambient temperature acquisition.
video_20241008_164911_edit.mp4
PDF_A Niche Embedded Learning Development Board Based on STC89C51.zip
Altium - A niche embedded learning development board based on STC89C51.zip
PADS - A niche embedded learning development board based on STC89C51.zip
BOM_A Niche Embedded Learning Development Board Based on STC89C51.xlsx
91825
electronic
参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2026-03-26 19:17:43

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
community

Robot
development
community

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号