I’m sorry if there already is a post about this and I am really new to Arduino so I hope this isn’t a really dumb question.
I have just received a new Arduino Due in the mail and I am really exited about it.
I have only ran two programs on it so far which were Blink and DigitalReadSerial.
I definitely made sure I didn’t connect the button in DigitalReadSerial to the 5v pin (3.3v instead).
Everything is working perfectly but the main chip does get a little warm (but not hot)
even when no program is running on it. I think it’s completely normal but I thought
I would just check with you guys to make sure.
Unless you are using sleep modes, microcontrollers basically run all the time. There is no "no program" running on it. The flash memory is continuously read, and the bit pattern will be decoded into an instruction. Usually when the flash memory is "empty" it’s all set to 1. In most microcontroller architectures this will be decoded as some simple instruction like ADD. So, the processor will just add something forever.
The same is in principle true for all digital computers, but the operating system is the continuously executed program when no user program is running. And modern operating systems are handling power modes, frequency scaling, sleep modes and so on.