Using more then 2 interrups on arduino
-
I am in the process of building a sketch where I want to use 2 pulse meters.
The Arduino has only 2 IRQ hardware ports.
One is already being used bij the radio.....Any idea how I can solve this ?
Regards,
Bert van de Beek
-
-
@AWI Do you mean, remove the radio from pin 2 and use it for something else ?
-
Also, Google pinchangeint. It's a library that allows the Arduinos to use more pins as interrupts. Yes, you don't need to connect the radio to pin 2 and you can use it for something else.
Cheers
Al
-
THx for the feedback. Now I can start to build my two pulse meters.
One for my electricity usages and one for my natural gas usages.Bert
1 out of 5
Suggested Topics
-
Day 1 - Status report
Announcements • 23 Mar 2014, 22:45 • hek 24 Mar 2014, 20:12 -
Using Pin Change Interrupt (PCINT) for wakeup
Development • 3 Feb 2015, 11:55 • Dirk_H 11 Apr 2015, 18:37 -
Multiple interuppts: One Arduino with two door sensors?
Development • 8 Jan 2015, 14:43 • algoritm 25 Jan 2015, 00:29 -
Custom Interrupt routine for door sensor
Development • 11 Jan 2015, 16:27 • funksoulbrother 11 Jan 2015, 22:00 -
Does MySensors require Arduino Timer 2?
Hardware • 6 Jan 2024, 19:39 • OldSurferDude 11 Jan 2024, 04:39 -
using 2 interrupt pins (2,3) inside a node.
Development • 10 Mar 2015, 18:34 • Mickey 10 Mar 2015, 21:00