One more point of clarification, in all you test cases, was power coming from usb? Might try an external power supply & see if it still resets. I assume you've also tried various usb ports on the machine in question? Sorry I didnt mean to insult your intelligence, its hard to know everyone's ability level. So I came to conclusion, that the problem is probably in the ch340 driver. ![]() This behavior isn't dependent on using Serial in the code. As before, when I start serial monitor, it starts working properly. When I installed the driver again (I tried the newest version and also older versions), arduino starts resetting again. So I tied to reinstall drivers for ch340 chip and I noticed, when the driver is uninstalled, arduino isn't resetting, it runs correctly. zip file for Windows, but it installed some drivers at first run), but I'm not sure (before that, I was using serial monitor constantly for quite a while, so I didn't have chance to notice it). It probably started approximately at the same time, I started using also Arduino IDE 2.0 (downloaded just as. I've found out it's not resetting while serial monitor (or plotter) runs in IDE. ![]() Thinking about array overflows, interrupts timing, over current. While I've been working on a project, I noticed arduino keeps resetting in constant interval (20-30 seconds).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |