The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
0answers
27 views

serial connection performance drop when receiving AND sending

[short] I am experiencing a big performance drop on my receive rate as soon as I also send data (only 2bytes). How does that come? (see test program below) [long] I am working on a LED matrix (16x24) ...
0
votes
1answer
77 views

FFT 8192 points with Arduino Due

I'm working with an Arduino DUE, trying to achieve a 8192 points FFT. I saw this post at Arduino Forum, but most of the links are broken. http://forum.arduino.cc/index.php?topic=225204.30 I found ...
-1
votes
1answer
62 views

How to speed up writing a file to a WifiClient?

I'm working with a Realtek Ameba IoT RTL8195 board that's compatible to Arduino. I have a text file on an SD card that I want to send via HTTP over wifi, with the Ameba acting as a server. I ...
1
vote
2answers
83 views

Does serial speed affect performance of other tasks?

I have explored Google and the Arduino site and this site and cannot find a mention of this, so my guess is that serial is handled by a separate component to the core processing and so different ...
1
vote
1answer
47 views

Performance tuning PORTB manipulation - mask

I have the following snippet that seems to be taking a total of 6 CPU cycles per invocation. Can I speed this up somehow? x is a byte with the 3 lowest bits set. #define SET_COLOR(x) PORTB = (PORTB ...
4
votes
3answers
176 views

Will unnecessary Serial.print() statements slow down my program?

I have lots of Serial.print() and Serial.println() statements throughout my (rather large) program for debugging when things fail. I've commented out the Serial.begin() statement so I don't slow down ...
0
votes
0answers
230 views

VS1003 MP3 module performance(?) problem

I'm trying to play sound on Arduino Uno with a VS1003 module, using schematics and most of the code from this project and I have almost succeeded, but I've got (I think) a performance problem and I ...
6
votes
2answers
1k views

OOP vs Inline with Arduino

I have been programming for quite a while now but I am new to Arduino and AVR Programming. The main question I have about programming these Micro-controllers is are there major differences in ...
1
vote
1answer
115 views

Help needed understanding Due performance

I'm going to be writing some performance critical code and have started trying to get an understanding of timers and how much "work" the Due CPU can do per second. To help get started with this, I ...
0
votes
1answer
116 views

Comparison of an Arduino's performance?

How does an AVR-based Arduino's CPU performance compare to a vintage PC (Apple II, PC-XT, TRS-80, et.al.)? How many megaflops of number crunching can one get out of an AVR-based Arduino?
1
vote
0answers
22 views

Local variables scope anamoly

I have this simple function that produces 2 float values sum and product from which i calculate another varaible NodePrio. I had the value of NodePrio coming wrong so i decided to put in some console ...
2
votes
1answer
2k views

How much can an Uno be overclocked?

When running the board at room temperature (20 C) without any extra cooling mechanisms added, how much can the Arduino Uno be overclocked? Also, what would I need to change/update to overclock the ...
12
votes
2answers
8k views

Would an infinite loop inside loop() perform faster?

When you're writing a typical sketch, you usually rely on loop() being called repeatedly for as long as the Arduino is running. Moving in and out of the loop() function must introduce a small overhead ...
8
votes
2answers
2k views

Why is int only 2 bytes?

When using C/C++ on other platforms, the int type is typically 4 bytes (or potentially more). However, on Arduino, it's only 2 bytes. Why is it different? Does it affect performance if I always use ...