Skip to main content
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user

Arduino Pro Micro Clone Clock Cylce Issueclone clock cycle issue

I have several Arduino Pro Micro Clonesclones that are giving me an issue where they work immediately after being programmed while the usbUSB cable is still connected, but as soon as I disconnect and reconnect the USB cable the program was failingfails. II was able to break it down to the simplest form and found that the clock cycle is off by what I estimate to be almost a factor of 10.

For testing, the only command in the loop is SerialSerial.println(millis());.println(millis()); Immediately Immediately after programming you can watch the milliseconds scroll by in the serial monitor at the expected rate. UnplugUnplug and plug the USB, reconnect the serial monitor and now the milliseconds scroll by at about 1 second interval. The

The Arduino IDE version is 1.6.8 and have tested it from both a macMac and ubuntuUbuntu with the same results. AlsoAlso tested on 4 different boards with the same results. II also tested the latest Arduino beta with no change. NextNext I'm going to download some older Arduino IDE versions.

Any suggestions?

Arduino Pro Micro Clone Clock Cylce Issue

I have several Arduino Pro Micro Clones that are giving me an issue where they work immediately after being programmed while the usb cable is still connected, but as soon as I disconnect and reconnect the USB cable the program was failing. I was able to break it down to the simplest form and found that clock cycle is off by what I estimate to be almost a factor of 10.

For testing, the only command in the loop is Serial.println(millis()); Immediately after programming you can watch the milliseconds scroll by in the serial monitor at the expected rate. Unplug and plug the USB, reconnect the serial monitor and now the milliseconds scroll by at about 1 second interval. The Arduino IDE version is 1.6.8 and have tested it from both a mac and ubuntu with the same results. Also tested on 4 different boards with the same results. I also tested the latest Arduino beta with no change. Next I'm going to download some older Arduino IDE versions.

Any suggestions?

Arduino Pro Micro clone clock cycle issue

I have several Arduino Pro Micro clones that are giving me an issue where they work immediately after being programmed while the USB cable is still connected, but as soon as I disconnect and reconnect the USB cable the program fails. I was able to break it down to the simplest form and found that the clock cycle is off by what I estimate to be almost a factor of 10.

For testing, the only command in the loop is Serial.println(millis());. Immediately after programming you can watch the milliseconds scroll by in the serial monitor at the expected rate. Unplug and plug the USB, reconnect the serial monitor and now the milliseconds scroll by at about 1 second interval.

The Arduino IDE version is 1.6.8 and have tested it from both a Mac and Ubuntu with the same results. Also tested on 4 different boards with the same results. I also tested the latest Arduino beta with no change. Next I'm going to download some older Arduino IDE versions.

Any suggestions?

Bumped by Community user
Bumped by Community user
Bumped by Community user
Source Link

Arduino Pro Micro Clone Clock Cylce Issue

I have several Arduino Pro Micro Clones that are giving me an issue where they work immediately after being programmed while the usb cable is still connected, but as soon as I disconnect and reconnect the USB cable the program was failing. I was able to break it down to the simplest form and found that clock cycle is off by what I estimate to be almost a factor of 10.

For testing, the only command in the loop is Serial.println(millis()); Immediately after programming you can watch the milliseconds scroll by in the serial monitor at the expected rate. Unplug and plug the USB, reconnect the serial monitor and now the milliseconds scroll by at about 1 second interval. The Arduino IDE version is 1.6.8 and have tested it from both a mac and ubuntu with the same results. Also tested on 4 different boards with the same results. I also tested the latest Arduino beta with no change. Next I'm going to download some older Arduino IDE versions.

Any suggestions?