Skip to main content

Questions tagged [performance]

0 votes
1 answer
265 views

I'm hacking a project with ESP32-WROOM module. I'm running some timers with alarms along with some peripherals triggering ISRs. In the ISR routine I'm sending events to a queue, and receiving them in ...
ak.'s user avatar
  • 103
3 votes
1 answer
816 views

I'm working on a tiny ping-pong game based on Arduino Nano. Its modes are "person vs person" and "person vs computer" (the computer just tries to keep its racket at the same Y ...
SNBS's user avatar
  • 143
0 votes
2 answers
473 views

I'm working on a little midi hardware project and I'm using attachInterrupt() to assign a callback function to an interrupt pin. Nothing gets done in the loop function, so it looks like this: void ...
strudelkopf's user avatar
-1 votes
1 answer
339 views

I have an application on a PC that sends 10 UDP packets to an Arduino Portenta board. When sending packets with no delay, half of them are lost. Wireshark shows the packets are correctly sent by the ...
Simon's user avatar
  • 99
0 votes
1 answer
365 views

Is anybody aware as to whether there are any modern microcontrollers that have hardware implementations of trigonometric functions? According to my understanding, modern CPUs have basic maths ...
fortytoo's user avatar
  • 101
1 vote
1 answer
125 views

I have am putting together multiple arduinos on a RS485 network (connected to Rx/Tx on the arduino and using Serial - connection via one of these https://www.ebay.co.uk/itm/272929871278) - RS485 ...
Simm's user avatar
  • 51
1 vote
1 answer
363 views

I want to monitor an input and then send the information in an encrypted way that can't be easily unlocked even if a malicious actor gets access to the device itself. I'm new to using the Teensy ...
joel_xay's user avatar
1 vote
0 answers
65 views

So I'm new in the arduino world but I have a grasp of object oriented programming, and decided to write a little library for running games on an arduino mega using a display. My question is, I'm ...
Juan's user avatar
  • 11
2 votes
0 answers
96 views

My goal is to reduce pins being used for micro-controllers with limited pins, or projects requiring a few different digital input values. How I intend to do so is by using ADC pins to gather four ...
B7th's user avatar
  • 167
1 vote
0 answers
195 views

I am doing stand thrust and I have three load cells to measure the force. I would like to know if I can sum them to gather into the Arduino or I should use a junction box.
mansour ahmed's user avatar
1 vote
0 answers
1k views

I'm trying to drive an external DAC via SPI interface using ESP32 chip. But I cannot achieve the desired speed (>1M transfers/sec, each transfer consists of 16bits). The reason is not the SPI speed ...
Wjx's user avatar
  • 111
2 votes
2 answers
373 views

I've got a question concerning the Arduino library "RTClib" by Adafruit and the use of the word "static". Here you can see an excerpt from the example provided for the pcf8523 real-time clock: #...
blackdaw's user avatar
0 votes
2 answers
483 views

I was experimenting with for loops when I noticed that a simple increment loop executes faster than a decrement loop. I can't think of any reason why it should be like that. Is there something in my ...
Zaffresky's user avatar
  • 183
5 votes
1 answer
5k views

I have Arduino IDE, version 1.8.10 (Windows 10 x64, 8GB RAM, i5-7200 @2.5GHz) on a network drive mapped to D:, on a 100Mbit wired network and fast file server. If I navigate to the network shared ...
Ryan Griggs's user avatar
0 votes
1 answer
2k views

I want to read a quadrature rotary encoders at full resolution with only one interrupt on Arduino Nano (ATmega328). So I found out that we can use XOR to reach a full resolution: Where pin 3 ...
Foad's user avatar
  • 143

15 30 50 per page