Pages: [1]   Go Down
Author Topic: How many inputs can the Due handle?  (Read 763 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 7
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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?
Logged

Melbourne, Australia
Offline Offline
God Member
*****
Karma: 8
Posts: 567
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Windows serial port monitor: Tellurium | Arduino serial port debugging library: DBG | Cusom LCD char generator | Technical questions will only be answered in forum threads

0
Offline Offline
Newbie
*
Karma: 0
Posts: 6
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

And how many of them can be used as interrupts?
Logged

Offline Offline
Jr. Member
**
Karma: 0
Posts: 77
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

All of them smiley
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().
Logged

L.C.

Offline Offline
Newbie
*
Karma: 0
Posts: 7
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks guys your information has been very informative especially:
All of them smiley
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 smiley-grin
Logged

Pages: [1]   Go Up
Jump to: