I need an interrupt controller for an arduino uno so I can monitor multiple inputs at the same time. I read the arduino attachInterrupt() function call and it seems to be able to attach interrupts to pin 2 and 3. If I can get an interrupt controller, like 8259A for IBM PC-XT, which I learned in the 90's, I would be able to attach its output to arduino pin 2 and expand it to sense 8 or 16 external interrupts. I would want to monitor pin change so both rising and falling edges are needed. Does anyone know of an easy-to-use interrupt controller? Thanks!
I would want to monitor pin change so both rising and falling edges are needed. Does anyone know of an easy-to-use interrupt controller? Thanks!
What do you want this "interrupt controller" to do? The 8259 relies on being able to tie into the x80/x86 bus's...
I need to read in with Analog pins, and these pin don't provide interrupts.
QuoteI need to read in with Analog pins, and these pin don't provide interrupts.it looks to me like the analog pins (if configured for digital IO) support the same pin-change interrupts as the other general purpose digital pins.Do you have an I2C bus already in use? Is I2C going to be fast enough?
If only I knew how to get the information that A0-A7 has changed state.
QuoteIf only I knew how to get the information that A0-A7 has changed state.If you're using something like a Nano with 8 analogue inputs, you need to remember that A6 and A7 are simply inputs to the A/D mux; they have no digital functionality.
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16