新手求助-esp8266板子mac上识别不了串口-Arduino中文社区 - Powered by Discuz! Archiver

linliu 发表于 2021-10-22 21:45

新手求助-esp8266板子mac上识别不了串口

1. 在淘宝上买的板子,按照型号说明已经安装了esp8266库,软件中显示如配图1
2. 安装了ch340G for Mac
3. 使用typec转usb接口(配图2)连接板子上的usb microB端口(配图3)
4. 系统硬件显示usb2.0 ser!(配图4)
5. 使用默认测试程序但是显示连接错误(配图5)

默认程序:
/*
ESP8266 Blink by Simon Peter
Blink the blue LED on the ESP-01 module
This example code is in the public domain

The blue LED on the ESP-01 module is connected to GPIO1
(which is also the TXD pin; so we cannot use Serial.print() at the same time)

Note that this sketch uses LED_BUILTIN to find the pin with the internal LED
*/

void setup() {
pinMode(LED_BUILTIN, OUTPUT);   // Initialize the LED_BUILTIN pin as an output
}

// the loop function runs over and over again forever
void loop() {
digitalWrite(LED_BUILTIN, LOW);   // Turn the LED on (Note that LOW is the voltage level
// but actually the LED is on; this is because
// it is active low on the ESP-01)
delay(1000);                      // Wait for a second
digitalWrite(LED_BUILTIN, HIGH);// Turn the LED off by making the voltage HIGH
delay(2000);                      // Wait for two seconds (to demonstrate the active low LED)
}

问题是我已经安装了ch340G,还是识别不了串口,跑不了程序,求助各位大大,我应该怎么做,万分感谢

XlinliY.Zhang 发表于 2021-10-23 12:05

你跳线切换到ESP8266转USB了?

linliu 发表于 2021-10-23 15:40

XlinliY.Zhang 发表于 2021-10-23 12:05
你跳线切换到ESP8266转USB了?

请问跳线应该怎么切换?我把我所有的步骤都写到描述中了,应该是没有转

kidnp3 发表于 2021-10-31 01:31

出现connetcting时候按键按一下试试
页: [1]
查看完整版本: 新手求助-esp8266板子mac上识别不了串口