Zwei „NodeMCU“-Boards, die unterschiedlich aussehen, und eines davon zeigt nie einen COM-Port
Von English mit KI übersetzt ·
Ich baue einfache Teilezähler für zwei Verpackungslinien (ein Lichtschranken-Impuls geht in ein NodeMCU, der Zählerstand wird jede Minute an Hermetry gesendet). Ich habe „NodeMCU ESP8266“ bei zwei Verkäufern bestellt und zwei verschiedene Boards bekommen. Eines ist schmal, mit einem fast quadratischen Chip neben dem USB-Anschluss, auf dem SILABS CP2102 steht; das andere ist breiter, mit einem Chip mit der Aufschrift CH340G und einem zusätzlichen Pin mit der Beschriftung VU.Das schmale wird als COM5 angezeigt und lässt sich problemlos flashen. Beim breiten zeigt der Geräte-Manager gar nichts an, es entsteht kein neuer COM-Port, und die Arduino IDE meldet keinen Port. Anderes Kabel, gleiches Ergebnis. Ist das breite Board defekt, oder sind das unterschiedliche Produkte? Welches soll ich für weitere 6 Zähler als Standard nehmen?
I’m building simple part counters for two packaging lines (a photo-eye pulse into a NodeMCU, count sent to Hermetry every minute). I ordered „NodeMCU ESP8266“ from two sellers and got two different boards. One is narrow with a square-ish chip near the USB port that says SILABS CP2102, the other is wider with a chip marked CH340G and an extra pin labelled VU.
The narrow one shows up as COM5 and flashes fine. The wide one: nothing in Device Manager at all, no new COM port, Arduino IDE says no port. Different cable, same thing. Is the wide one broken, or are these different products? Which one should I standardise on for 6 more counters?
Von English mit KI übersetzt ·
Ich hatte auch das mit dem CH340, ich musste erst einen Treiber installieren, bevor Windows es erkannt hat. Ob das bei dir das Problem ist, weiß ich allerdings nicht.
I had the CH340 one too, I had to install a driver before Windows saw it. Not sure that’s your issue though.
Von English mit KI übersetzt ·
Rachels Vermutung ist die wahrscheinlichste. Gleiches Modul, unterschiedliches Trägerboard. Beide haben einen ESP-12E mit dem ESP8266, daher sind dein Sketch und deine Pins dieselben.Das schmale ist die Variante „v2“ (Amica-Design): CP2102-USB-Seriell-Chip, passt auf ein Standard-Breadboard mit je einer freien Reihe auf jeder Seite.Das breite ist die Variante „v3“ (LoLin): CH340G-Chip, breiter, sodass es alle Löcher eines normalen Breadboards abdeckt, und den VU-Pin, also die 5 V vom USB. Praktisch, falls die Schnittstelle deines Lichtschranken-Sensors 5 V benötigt.Windows 10/11 hat normalerweise den CP2102-Treiber, nicht immer den CH340-Treiber. Installiere den CH340-Treiber vom Chiphersteller (WCH), zieh das Kabel ab und steck es wieder ein, dann erscheint es als COM-Port. Wenn trotzdem nichts angezeigt wird, probiere ein Kabel, von dem du weißt, dass es Daten überträgt; viele kurze USB-Kabel sind nur zum Laden.Für die sechs Zähler: Wähle eines aus und bleib dabei, damit Verkabelung und Gehäuse gleich bleiben. Ich würde das schmale v2 nehmen, wenn du auf Breadboards prototypisierst, und das v3, wenn du den VU-Pin willst. Und zähle die Impulse per Interrupt und sende dann eine Zahl pro Minute statt einer Nachricht pro Impuls.
Rachel’s guess is the likely one. Same module, different carrier board. Both have an ESP-12E with the ESP8266 on it, so your sketch and pins are the same.
The narrow one is the „v2“ style (Amica design): CP2102 USB-serial chip, fits a standard breadboard with a row free on each side.
The wide one is the „v3“ style (LoLin): CH340G chip, wider so it covers all the holes of a normal breadboard, and the VU pin, which is the 5 V from USB. Handy if your photo-eye’s interface needs 5 V.
Windows 10/11 usually has the CP2102 driver, not always the CH340 one. Install the CH340 driver from the chip maker (WCH), unplug and replug, and it’ll appear as a COM port. If it still shows nothing, try a cable you know carries data, a lot of short USB cables are charge-only.
For the six counters: pick one and stick with it so wiring and enclosures are the same. I’d take the narrow v2 if you prototype on breadboards and the v3 if you want the VU pin. And count the pulses with an interrupt, then send one number per minute, not one message per pulse.
Von English mit KI übersetzt ·
Mit dem Treiber hat es funktioniert, COM7 ist sofort erschienen. Ich nehme die breiten, weil die Foto-Auge-Schnittstelle mit 5 V läuft und der VU-Pin mir einen Buck-Wandler spart. Ich rechne bereits mit einem Interrupt und sende count einmal pro Minute.
Driver fixed it, COM7 appeared straight away. Going with the wide ones because the photo-eye interface runs on 5 V and the VU pin saves me a buck converter. Already counting on an interrupt and sending count once a minute.
- Du musst angemeldet sein, um auf dieses Thema antworten zu können.
Mitdiskutieren
Melde dich an, um Fragen zu stellen und zu beantworten, hilfreiche Beiträge mit „Gefällt mir“ zu markieren und die Antwort zu kennzeichnen, die dein Problem gelöst hat. Jeder Beitrag bringt Punkte und Stufen.

