Skip to content

connecting NodeMCU via USB to PC causes erratic mouse movements #3975

@ringooelbereth

Description

@ringooelbereth

Basic Infos

The NodeMCU was working fine. I might have killed it by shorting INPUT_PULLUP pins to ground and applying 5V to INPUT pins.

Is it even possible that a damaged NodeMCU will cause mouse movements on a desktop PC?
When connecting it, it shows as a CH340 device on COM6 in the device manager (as before).

Hardware

Hardware: ?ESP-12f?
Core Version: ?2.1.0-rc2?

NodeMCU Lolin V3 (ESP8266MOD)

Description

When I connect my NodeMCU via USB cable to my windows 10 PC, my mouse starts moving wildly and buttons are clicked. I tried to observe the behaviour more closely but it is moving files on my desktop, opening them, starting programs, etc. so I had to unplug it quickly. It looks like the mouse is only moving right and down and there is a pattern in the movements and clicks.

This started with a frozen Arduino IDE. Shortly before this incident, I wrote a program that would receive input on two pins and had four interrupts to the raising and falling flanks of each io. The voltage that was applied was possibly 5V from a SDS011, I did not check because I read that the ESP8266 is 5V resistant.

The board was working before. This started after the Arduino IDE was frozen for a while and crashed when I was running my program for a while.

Settings in IDE

Module: NodeMCU 1.0 (ESP-12E Module)
Flash Size: 4M 3M SPIFFS
CPU Frequency: 80Mhz
Flash Mode: ?qio?
Flash Frequency: ?40Mhz?
Upload Using: ?OTA / SERIAL?
Reset Method: ?ck / nodemcu?

Programmer: AVRISP mkll

Sketch

//code deleted

Debug Messages

.....

not relevant

this message was flooding the console because obviously there is no delay in the loop()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions