Comments on: ESP8266 Interrupts and Timers using Arduino IDE (NodeMCU) https://randomnerdtutorials.com/interrupts-timers-esp8266-arduino-ide-nodemcu/ Learn ESP8266, ESP32, Arduino, and Raspberry Pi Mon, 12 May 2025 11:00:54 +0000 hourly 1 https://wordpress.org/?v=6.8.2 By: Hans https://randomnerdtutorials.com/interrupts-timers-esp8266-arduino-ide-nodemcu/#comment-1042848 Mon, 12 May 2025 11:00:54 +0000 https://randomnerdtutorials.com/?p=88005#comment-1042848 In reply to Sara Santos.

yes but I need different sounds and a active buzzer isn’t able to do. A passive buzzer is but there is the same problem as with a speaker.

]]>
By: Sara Santos https://randomnerdtutorials.com/interrupts-timers-esp8266-arduino-ide-nodemcu/#comment-1042843 Mon, 12 May 2025 10:56:46 +0000 https://randomnerdtutorials.com/?p=88005#comment-1042843 In reply to Hans.

Have you tried using a piezo buzzer?
Regards,
Sara

]]>
By: Hans https://randomnerdtutorials.com/interrupts-timers-esp8266-arduino-ide-nodemcu/#comment-1039633 Sat, 10 May 2025 10:35:34 +0000 https://randomnerdtutorials.com/?p=88005#comment-1039633 Hi Rui and Sara,
I’m looking for a routine that can play a sound while a LED is flashing. All I tried failed as the LED ist stopping flashing during sound is playing. It’s for the sketch provided on Instructables project (instructables.com/ISS-Antenna-Indicates-When-the-ISS-Is-Overhead/). I would like to play sound if ISS is within 1000km distance and another sound if it is within 500km range.
Can you help me?
Best regards from Belgium to Portugal
Hans

]]>
By: Nimantha https://randomnerdtutorials.com/interrupts-timers-esp8266-arduino-ide-nodemcu/#comment-1008517 Mon, 17 Feb 2025 08:00:28 +0000 https://randomnerdtutorials.com/?p=88005#comment-1008517 Very use full Thank You So much

]]>
By: Robert Johnson https://randomnerdtutorials.com/interrupts-timers-esp8266-arduino-ide-nodemcu/#comment-973236 Thu, 17 Oct 2024 21:35:55 +0000 https://randomnerdtutorials.com/?p=88005#comment-973236 In reply to Sara Santos.

Sara,
Great article. It would be helpful to comment in the text on the role of the ICACHE_RAM_ATTR attribute and why it is used. ICACHE_RAM_ATTR places the code in internal RAM which is much faster than FLASH RAM and an ISR needs to be as quick and short as possible.
Kind regards,
Robert

]]>
By: Jorge Vila https://randomnerdtutorials.com/interrupts-timers-esp8266-arduino-ide-nodemcu/#comment-871693 Sun, 12 Nov 2023 23:06:35 +0000 https://randomnerdtutorials.com/?p=88005#comment-871693 hello
I would need to use an ESP8266-01 but I need an interrupt because I need to use the RCSwitch.h library to receive 433Mhz RF sensors
I looked online and couldn’t find this information.
That’s why I’m turning to GURUS who are experts in this area
The idea is to use that module that already has a relay, LED, regulator, etc. where the ESP8266-01 fits
thanks

]]>
By: Daniel Thackeray https://randomnerdtutorials.com/interrupts-timers-esp8266-arduino-ide-nodemcu/#comment-864162 Thu, 05 Oct 2023 22:36:07 +0000 https://randomnerdtutorials.com/?p=88005#comment-864162 startTimer and lastTrigger should be declared as volatile, otherwise the main loop might use a value for these variables that is not the most recent value set in the ISR.

You can’t just wire up a 5V PIR to VIn and expect it to work properly with a 3.3V ESP8266. You must insert a voltage divider into the data input.

]]>
By: Shashi Kiran https://randomnerdtutorials.com/interrupts-timers-esp8266-arduino-ide-nodemcu/#comment-856905 Thu, 24 Aug 2023 12:41:24 +0000 https://randomnerdtutorials.com/?p=88005#comment-856905 Hello,
I’m connecting the PIR sensor data pin to Pin 13 of the ESP32 Webcam, and I’m getting an error,
===========X== Cut and Paste ====X===
8:06:42.048 -> [E][camera.c:1327] camera_init(): gpio_install_isr_service failed (105)
18:06:42.048 -> [E][camera.c:1406] esp_camera_init(): Camera init failed with error 0x105
==X == Done ==X==

I did Google and did not find any workable solutions.
Is this ISR good for Webcam -ESP32 as well.

I found another similar example/sketch/source code in your randomnerd tutorials website for the PIR sensor and Webcam , and still getting the same error.

Appreciate a reply.

]]>
By: Claudio Beringhs https://randomnerdtutorials.com/interrupts-timers-esp8266-arduino-ide-nodemcu/#comment-854038 Mon, 07 Aug 2023 21:13:12 +0000 https://randomnerdtutorials.com/?p=88005#comment-854038 In reply to Rui Santos.

Rui, good afternoon
How many interrupts can I use on NodeMcu, since there are 2 on Arduino?

]]>
By: Cepi burhanudin https://randomnerdtutorials.com/interrupts-timers-esp8266-arduino-ide-nodemcu/#comment-769903 Tue, 19 Jul 2022 10:26:29 +0000 https://randomnerdtutorials.com/?p=88005#comment-769903 Halo tuan baga mana cara agar hal tersebut bisa di gunakan untuk pengaturan kurva pengapian kendaraan bermotor.harap bimbingan nya

]]>