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.
With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.
Warning: this topic has not been posted in for at least 120 days.Unless you're sure you want to reply, please consider starting a new topic.