Go Down

Topic: how to increase more I/O pins with all individual controls (Read 2 times) previous topic - next topic

CrossRoads

And what are the appliances? 120V items? 240V items? How are wired now, or how will they be wired?

I have a 2000 sq ft, 2 story home I don't think we even have 50 dual plug outlets, let alone 100 appliances.
Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

jonyjakee

Quote

And what are the appliances? 120V items? 240V items? How are wired now, or how will they be wired?


i am connecting 240v items(fan, tubelight, blub,..etc). 

5v supply is connected in switch and apliances are connected with relay.

so i can control both in switch board and using android mobile which will control appliances connected to the relay.



RacerX89

#8
Jul 07, 2012, 12:41 pm Last Edit: Jul 07, 2012, 12:44 pm by RacerX89 Reason: 1
You may want to take a look at serial to parallel shift register chips. It turns 3 I/O pins into 8. They can also be cascaded, so 3 pins can become 16, 24 ,32... depending on how many chips you link together.

http://www.sparkfun.com/products/733

Basically you feed them a byte value (0-255, which is an 8 digit number in binary) and the 0s and 1s correspond to 8 pins on the chip which then become high or low. So lets say you want to turn pins 2 4 and 5 high and keep the rest low. You'll want to send it the value of 176 which is "010110000" in binary notation.

http://arduino.cc/en/Tutorial/ShiftOut

AWOL

"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

Go Up