Skip to main content

Questions tagged [isr]

Interrupt Service Routine. A function which gets called in response to an interrupt signal.

-1 votes
1 answer
53 views

I've written an ISR routine using an Arduino UNO wired to my RC receiver. The receiver gets orders through the gimbals in my transmitter and executes the ISR every time the gimbals are moved. I was ...
AlexA's user avatar
  • 1
0 votes
1 answer
47 views

I have a Nano producing a PWM output from one of its pins. This PWM signal cannot stop as it drives a filament for a VFD display(if it stops, nothing shows). However, I need to capture the pulses from ...
lemon's user avatar
  • 113
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
1 vote
0 answers
246 views

ESP32-S2 (Wemos/Lolin S2 mini) Arduino 2.1.1 on Windows 11 Hello, Thank you for taking the time to read this post and for any assistance you can provide. I consider myself a newbie when it comes to ...
Michael.G's user avatar
2 votes
2 answers
939 views

I've got an Arduino Mega periodically running an (~400ms) operation that is sensitive to repeatable timing, so I don't ever want it to be interrupted. But, I'd like to be able to use an interrupt ...
Nicholas's user avatar
  • 123
4 votes
2 answers
1k views

Okay so you aren't able to pass a variable into in ISR. This is causing problems for me. I'm using a rotary encoder, and I need it to be connected to an interrupt pin and running a ISR. When using ...
AJ_Smoothie's user avatar
1 vote
0 answers
305 views

I'm trying to use a library function in my ISR function that uses the internal timer to trigger every 1 ms. The chip that I'm using is an ESP32-C3-MINI. Here is my current code: main.cpp #include <...
Max's user avatar
  • 111
2 votes
1 answer
178 views

I want to use interrupts on my ESP 8266 to monitor the digital outputs of a power meter and water meter. The idea is to increment a counter in the ISRs and at some point to take the value of the ...
Plamen Peev's user avatar
1 vote
1 answer
152 views

I want to write a class for a model bike. For controlling the steering I use a DC motor with two encoders. To get the steering angle stAng of the bike, I attach a interrupt to the pin ST_ENC_A where ...
Ole's user avatar
  • 13
2 votes
1 answer
302 views

I'm trying to make a mildly accurate oscilloscope using Arduino Uno R3 and I've done some research on the best method to do so. First of all I need to measure the voltage with a rather high sampling ...
infinite's user avatar
4 votes
1 answer
667 views

I found the following code within an example for performing very fast changes on a PWM-output. It works, however I'm wondering about some details. TIMER2 was set up in setup() as follows: TCCR2A = 0; ...
Ariser's user avatar
  • 577
-1 votes
2 answers
417 views

I have an accel+gyro sensor connected to an Arduino Zero. It's configured to output an interrupt signal on pin 2 when tapped. I can do a digitalRead() on the pin, and it does go high, so the interrupt ...
Zhelyazko Grudov's user avatar
2 votes
1 answer
424 views

Desired behaviour: Go to IDLE sleep mode. When PB2 (blue trace) goes low wake up and give a 10 ms HIGH on PB1 pulling a pull-up low (yellow trace on Figure 1). Go to 1. What I get: Figure 1. (1) ...
Transistor's user avatar
1 vote
1 answer
1k views

My Arduino needs to do: Run ISR as many times as possible/ as fast as possible. Occasionally receive data over I2C. Output data over SPI in ISR. My question is regarding SPI and ISR. The ...
aWiseMan's user avatar
3 votes
1 answer
118 views

I'm just curious as to why there are no brackets at the end of the ISR when attaching and assigning the interrupt command? attachInterrupt(digitalPinToInterrupt(interruptPin), blink, CHANGE); ... ...
Diesel's user avatar
  • 144

15 30 50 per page
1
2 3 4 5
7