Moderator: igrr
I've seen answer recently from someone which I try to help that he finally realized that computer didn't provide enough power on the USB, as soon he tried his module on another computer, it start working without any change to his firmware.
- Different USB ports (USB2, USB3, ESATA)
Different computer (Dell M4800 laptop)
USB hub (powered Belkin 4 port)
In all cases, I did not see any improvement. In all cases of using the code attached to the OP I have resets at a 5-8 second interval. I also tried different code to see if all programs lock up (they do not). The following simple counter works just fine.
int counter = 0;
void setup() {
Serial.begin(115200);
Serial.println();
Serial.println("hello world!");
}
void loop() {
Serial.println(counter);
counter+=1;
delay(100);
}