How many inputs can the Due handle?

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?

Most likely yes

It has 54 digital input/output pins (of which 12 can be used as PWM outputs), 12 analog inputs

And how many of them can be used as interrupts?

All of them :slight_smile:
Reference of interrupts:

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().

Thanks guys your information has been very informative especially:

Patouf:
All of them :slight_smile:
Reference of interrupts:

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 :smiley: