Loading...
Pages: [1]   Go Down
Author Topic: Parallel In Serial Out Diasy Chaining  (Read 509 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

So for my engineering design project, I have to read in 12 buttons using just 4 arduino pins. I know it's possible to do it using 2 Parallel In Serial Out Registers, but I have no idea how to daisy chain them together. Can someone help me? Also, how would the code work?
Logged

0
Offline Offline
Tesla Member
***
Karma: 71
Posts: 6603
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

In brief:

Serial out from one chip into serial in of the other, parallel the other control signals, parallel-load then clock for twice as many pulses...
Logged

Manchester (England England)
Online Online
Brattain Member
*****
Karma: 272
Posts: 25462
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Or use a MCP23S17 or a better yet with only 2 pins a PCF8575.
Logged

Pages: [1]   Go Up
Print
 
Jump to: