Dos placas «NodeMCU» de aspecto distinto y una de ellas nunca muestra un puerto COM
Traducido del English por IA ·
Estoy construyendo contadores de piezas sencillos para dos líneas de empaquetado (un pulso del fotoeléctrico entra en un NodeMCU y el recuento se envía a Hermetry cada minuto). Pedí «NodeMCU ESP8266» a dos vendedores y recibí dos placas diferentes. Una es estrecha, con un chip casi cuadrado junto al puerto USB que dice SILABS CP2102; la otra es más ancha, con un chip marcado como CH340G y un pin adicional etiquetado como VU.La estrecha aparece como COM5 y se programa sin problemas. La ancha: no aparece nada en el Administrador de dispositivos, no surge ningún puerto COM nuevo y el IDE de Arduino dice que no hay puerto. Con otro cable, lo mismo. ¿La ancha está averiada o son productos distintos? ¿Cuál debería estandarizar para los 6 contadores restantes?
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?
Traducido del English por IA ·
Yo también tenía la del CH340, tuve que instalar un controlador antes de que Windows la reconociera. No estoy seguro de que sea tu problema, aunque.
I had the CH340 one too, I had to install a driver before Windows saw it. Not sure that’s your issue though.
Traducido del English por IA ·
La suposición de Rachel es la más probable. Mismo módulo, distinta placa portadora. Ambas tienen un ESP-12E con el ESP8266, así que tu sketch y los pines son los mismos.La estrecha es el estilo «v2» (diseño Amica): chip USB-serie CP2102, cabe en una protoboard estándar con una fila libre a cada lado.La ancha es el estilo «v3» (LoLin): chip CH340G, más ancha para cubrir todos los agujeros de una protoboard normal, y el pin VU, que es el 5 V del USB. Útil si la interfaz de tu sensor fotoeléctrico necesita 5 V.Windows 10/11 normalmente tiene el driver del CP2102, pero no siempre el del CH340. Instala el driver del CH340 desde el fabricante del chip (WCH), desconecta y vuelve a conectar, y aparecerá como puerto COM. Si aún no muestra nada, prueba con un cable que sepas que transmite datos; muchos cables USB cortos son solo de carga.Para los seis contadores: elige uno y mantente con él para que el cableado y las cajas sean iguales. Yo tomaría la v2 estrecha si prototipas en protoboards, y la v3 si quieres el pin VU. Y cuenta los pulsos con una interrupción, y envía un número por minuto, no un mensaje por cada pulso.
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.
Traducido del English por IA ·
Driver arreglado, COM7 apareció enseguida. Me quedo con las anchas porque la interfaz del foto-sensor funciona a 5 V y el pin VU me ahorra un convertidor buck. Ya cuento con una interrupción y con enviar count una vez por minuto.
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.
- Debes estar registrado para responder a este debate.
Únete a la conversación
Inicia sesión para preguntar y responder, dar me gusta a las publicaciones útiles y marcar la respuesta que resolvió tu problema. Cada aportación suma puntos y niveles.

