0

When I have serial plotter open in the Arduino IDE with serial communication going on, the fans of my PC go full speed. On checking I found that Java(TM) Platform SE binary(32 bit) is using about 29% of the CPU.

This gives a big blow to the PC's battery back-up. Is there some way to reduce the CPU usage ?

The IDE version I use is Arduino 1.8.4

OS : Microsoft Windows 10 Home (64 bit)

PC : HP Au620 TX (laptop)

processor : Intel i5 7th gen (7200)

RAM : 8GB

closed as off-topic by Gerben, VE7JRO, sempaiscuba, Juraj, MatsK Jun 25 '18 at 18:22

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question does not appear to be about Arduino, within the scope defined in the help center." – Gerben, VE7JRO, sempaiscuba, Juraj, MatsK
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 3
    What sort of computer? What OS? You've left out a ton of detail here. – Delta_G Jun 23 '18 at 21:23
  • That's Java for you... – Majenko Jun 23 '18 at 23:49
  • what battery backup? – user2497 Jun 23 '18 at 23:57
  • @Majenko I doubt Java is to blame. One could write a busy loop in any language. – Dmitry Grigoryev Jun 25 '18 at 7:27
  • @DmitryGrigoryev Indeed, but Java makes it easier for dumbass programmers to write terrible code. – Majenko Jun 25 '18 at 7:28
1

Run Arduino IDE in a virtual machine which allows CPU allocation. Set a strict limit on CPU resources in that VM, like 200..500 MHz.

Not the answer you're looking for? Browse other questions tagged or ask your own question.