Does the IDE use any timers on the UNO
No.
The IDE has no control over the UNO after the UNO is programmed and the program is running.
I suspect there is more to your question though
… Millis()…micros() ..is that what you mean?
Rob,
Thanks for the response.
However, while developing and debugging, the IDE will be active. So, does the IDE use timers during the time the IDE is active?
I would like to use all six PWM outputs on the UNO but if the IDE uses some, the PWM outputs of the timers used by the IDE will not be available.
Thanks so long,
Kerneels Mostert
CJM Electronics
No.
After the sketch is uploaded to the Arduino Uno, the Arduino Uno runs on its own.
You can use the Serial communication with pin 0 and pin 1 to the computer if you want.
Which "Uno" board do you have ? Can you show a photo ?
@kerneelsmostert Installation and Troubleshooting is for Problems with the Arduino itself NOT your project. It says so in the description of the section. Therefore I have moved your post here. Please be more careful where you post in future.
You may want to read this before you proceed:-
how to get the best out of this forum
Why would it and how could it ?
Think about it. You can use the IDE with no board connected. The IDE is a PC based program and beyond uploading the code has no interaction with the board
Your question implies to me that you have had a problem and think that maybe the IDE using resources on the board/chip is the cause.
Grumpy_Mike,
I needed information on the IDE and timers. Not for my project. That is why I posted it there.
Yes, I understand that. However, when I use the serial link in the IDE to display information I understand that it uses the TX0 and RX0 resources of the board. So I don’t know what other board resources the IDE uses.
So while using the IDE serial link, the TX0 and RX0 facility of the board is not available for an actual project.
That is actually a quite reasonable suggestion. But as you have neither a problem with installing the IDE nor troubleshooting such a problem, then "Project Guidance" is actually more correct.
It uses the connections to the hardware serial interface of the board (and that, via the USB interface), absolutely nothing else. It is entirely up to you - with the assistance of the Serial library - to cause the board to interact in any way whatsoever with the serial monitor. Unless you code it to send or receive data, absolutely nothing can or will happen.
Right, now I see why you are asking, but the fact that the IDE uses the serial interface (not necessarily pins 0 and 1) to upload the sketch is a very different matter than it potentially using timers on the Arduino
Uploading a sketch is a one off process and even if the IDE did somehow use the timers on the chip, once the upload was finished they would be free for the uploaded sketch to use as is the case with the Serial interface pins
But if I am using Serial.print for debugging Pins 0 and 1 cannot be used simultaneously?
So if I use Serial.print, pins 0 and 1 are not available for project functionality?
Or if I use pins 0 and 1 for project, Serial.print interferes with my project and my project cannot be debugged?
Forgive the semantics, but using the Serial monitor for debugging is not strictly "using the IDE" as any serial terminal would have the same effect
There are, of course, ways round this such as using an Arduino that has a dedicated USB chip so that all of the chip pins are available to your project, using SoftwareSerial either for debugging or interfacing, using an Arduino with multiple hardware UARTs. and using completely different communications protocols such SPI or I2C or UDP etc via WiFi on suitable boards
Getting back to your original question. Once the upload to the board has been done the IDE uses none of the resources of the board unless you specifically choose to use them
Thank you.
Regards
Again... NO.
The debugging is limited to the IDE receiving the serial output of the processor, if you used the Serial.print( something);
Else the IDE is not connected to the Arduino in anyway, except you might be supplying board power through the interface cable.
Accepted, thank you.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.