ESP32-CAM在Windows上不会出现在COM端口上,在Linux上也不会出现在/dev/tty*上。

huangapple go评论43阅读模式
英文:

ESP32-CAM does not appear on COM ports in Windows or on /dev/tty* in Linux

问题

我已经购买了一个ESP32-CAM模块,并通过USB-TTL转换器将模块连接到我的Ubuntu设备。尽管这可能与问题无关,但我想在VSCode上使用ESP-IDF扩展来在CAM设备上烧录一些程序。我按照许多在线教程所示的步骤进行操作。然而,我无法看到设备,因为在ls -l /dev/tty*输出列表中没有设备。

我尝试在Windows机器上测试我的设备。在Windows 10机器上,我可以在设备管理器中看到设备,显示为“USB串行设备”。我预期会看到一个COM端口,但我通常不在Windows上使用ESP-IDF,所以我可能做错了什么。
然后,我尝试将设备连接到树莓派3上,在那里我看到了/dev/tty0出现。然而,我在该机器上既没有VSCode,也没有ESP-IDF框架,所以无法尝试烧录CAM设备。

我购买了第二个ESP32-CAM以确保第一个没有损坏。这个CAM设备下面有一个集成的USB-TTL转换器板。这个CAM设备也返回类似的结果。

我还有其他ESP32设备,过去在我的Ubuntu机器上连接没有问题。我是否漏掉了什么?连接ESP32-CAM是否有不同的方法?

如果需要提供其他信息,请告诉我。

英文:

I have bought an ESP32-CAM module and I connected the module to my Ubuntu device via a USB-TTL converter. Although it probably is not relevant, I want to use ESP-IDF extension on VSCode to flash some program on the CAM device. I followed the steps many online walk-through tutorials show. However, I cannot see the device, since there are no devices on the ls -l /dev/tty* output list.

I tried to test my device by using a Windows machine. In the Windows 10 machine I can see the device on my device manager under Other Devices as "USB Serial". I expected to see a COM port but I do not usually use ESP-IDF on Windows so I might be doing something wrong.
Then, I tried to connect the device to RaspberryPi 3, on which I saw the /dev/tty0 appear. However, I did neither have VSCode nor ESP-IDF framework on the machine so I could not try to flash the CAM device.
I bought a second ESP32-CAM to ensure that the first one was not broken. This one has an integrated USB-TTL converter board stuck under it. This CAM device also returns similar results.

I have other ESP32 devices with whom I had no trouble connecting in the past on my Ubuntu machine. Am I missing something? Is there a different method to ESP32-CAM?

If there is any additional information I should provide, please let me know.

答案1

得分: 0

我不知道为什么这个有效。但在查找问题时,我找到了这个解决方案,对于Ubuntu有效:

systemctl stop brltty-udev.service
sudo systemctl mask brltty-udev.service
systemctl stop brltty.service
systemctl disable brltty.service
英文:

I have no idea why this even works. But while searching the issue, I have came across this solution, which worked for Ubuntu:

systemctl stop brltty-udev.service
sudo systemctl mask brltty-udev.service
systemctl stop brltty.service
systemctl disable brltty.service

huangapple
  • 本文由 发表于 2023年5月6日 17:00:40
  • 转载请务必保留本文链接:https://go.coder-hub.com/76188030.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定