Go Down

Topic: Arduino shields101 (Read 408 times) previous topic - next topic

Anee_B

hi,
i am planin to work on arduino duemilanove which has 20 pins..
i'll jst need a few more pins for my project..
can i increase no. of pins using shields?
if yes how do i use des pins when programming( how will pin no. change?)

Osgeld

I dont use sheilds so I cant say product X will work for you

but yea theres ways to expand the number of I/O's you have but they wont translate 1:1 to arduino pins

one simple way is a shift register, you use 3 pins, get 8-16 outputs or much more if you chain them, but you have to send it a string of binary data to control those outputs

otherwise you need a bigger chip, a arduino mega is an example of that
http://arduino.cc/forum/index.php?action=unread;boards=2,3,4,5,67,6,7,8,9,10,11,66,12,13,15,14,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,86,87,89,1;ALL

kenny_-_

http://tronixstuff.wordpress.com/2010/10/29/tutorial-arduino-and-the-i2c-bus-part-two/

Did the trick for me once :)

Anee_B

Hey Osgeld u are a life saver!!....we were stuck..less pins and no cash for an Arduino mega...thnks thnks a lot!!...can u send me more details..


thnks a lot kenny_-_...


holmes4

More information about your project would help what is it? What are you using the pins for?

Mark

Go Up