Go Down

Topic: How many inputs can the Due handle? (Read 1 time) previous topic - next topic

varela5280

I've been thinking about an automation project but it what I'm thinking would require quite a few inputs I have an arduino due and the following parts:
multiple relays
20x4 LED (liquid crystal library)
SD card (SPI)
temperature sensor
humidity sensor
light sensor
could the due handle all these inputs?

aarondc

Most likely yes

http://arduino.cc/en/Main/ArduinoBoardDue

Quote
It has 54 digital input/output pins (of which 12 can be used as PWM outputs), 12 analog inputs
Windows serial port monitor: Tellurium | Arduino serial port debugging library: DBG | Cusom LCD char generator | Technical questions will only be answered in forum threads

Darbiter

And how many of them can be used as interrupts?

Patouf

All of them :)
Reference of interrupts:
Quote

The Arduino Due board has powerful interrupt capabilities that allows you to attach an interrupt function on all available pins. You can directly specify the pin number in attachInterrupt().
L.C.

varela5280

Thanks guys your information has been very informative especially:

All of them :)
Reference of interrupts:
Quote

The Arduino Due board has powerful interrupt capabilities that allows you to attach an interrupt function on all available pins. You can directly specify the pin number in attachInterrupt().


I've been struggling with getting the color sensor to work on my due because the "arduino code" that comes with the sensor is written for the uno and has a timer library that doesnt compile on the due but your information pointed me to http://arduino.cc/en/Reference/AttachInterrupt which should allow me to rewrite the code to work on the due.  Thanks again :D

Go Up