Offline
Newbie
Karma: 0
Posts: 46
|
 |
« on: July 05, 2012, 01:22:37 pm » |
I am trying to contorl more Appliances connected to in my home. My needs makes me to control the appliances single or multiple at a time.
Please help me in increasing more I/O pins.(even with many micro controller if solution needed)
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
Boston area, metrowest
Offline
Brattain Member
Karma: 270
Posts: 17040
Available for Design & Build services
|
 |
« Reply #1 on: July 05, 2012, 01:29:39 pm » |
How many, and how are they controlled? There are many expansion options.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 46
|
 |
« Reply #2 on: July 05, 2012, 01:43:40 pm » |
How many, and how are they controlled? There are many expansion options.
nearly 100 appliances, controlled by android application through wishiled.
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
Boston area, metrowest
Offline
Brattain Member
Karma: 270
Posts: 17040
Available for Design & Build services
|
 |
« Reply #3 on: July 05, 2012, 02:20:02 pm » |
What is "wishiled" ?
|
|
|
|
|
Logged
|
|
|
|
|
Chicago
Offline
Full Member
Karma: 0
Posts: 103
Arduino rocks
|
 |
« Reply #4 on: July 05, 2012, 02:26:36 pm » |
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
Boston area, metrowest
Offline
Brattain Member
Karma: 270
Posts: 17040
Available for Design & Build services
|
 |
« Reply #5 on: July 05, 2012, 03:11:12 pm » |
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.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 46
|
 |
« Reply #6 on: July 06, 2012, 12:48:53 pm » |
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.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 46
|
 |
« Reply #7 on: July 07, 2012, 01:00:30 am » |
hello, please help me.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 30
|
 |
« Reply #8 on: July 07, 2012, 05:41:51 am » |
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/733Basically 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
|
|
|
|
« Last Edit: July 07, 2012, 05:44:17 am by RacerX89 »
|
Logged
|
|
|
|
|
Global Moderator
UK
Online
Brattain Member
Karma: 143
Posts: 19370
I don't think you connected the grounds, Dave.
|
 |
« Reply #9 on: July 07, 2012, 04:37:15 pm » |
How long is your wiring expected to be?
|
|
|
|
|
Logged
|
Pete, it's a fool looks for logic in the chambers of the human heart.
|
|
|
|
nr Bundaberg, Australia
Offline
Tesla Member
Karma: 75
Posts: 6975
Scattered showers my arse -- Noah, 2348BC.
|
 |
« Reply #10 on: July 07, 2012, 05:35:33 pm » |
Using a single master Arduino for an entire house has pros and cons but for my money the main con is wire length as I think AWOL is alluding to.
Unless it's a very small house the wires will be too long for reliable sensing and maybe even control. Also of course you need 100 wires.
My preference would be for a network of small controllers, say one for each room. The down side is that the programming gets more complicated.
______ Rob
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 30
|
 |
« Reply #11 on: July 07, 2012, 06:04:53 pm » |
the wires will be too long for reliable sensing and maybe even control. ______ Rob
For sensing definitely, but maybe not for control if everything is either high or low to control a relay. Nevertheless, the I/O board could never energize 100 relays on it's own. I'd certainly use general purposes npn transistors and have them trigger the relays with 12v. That way I don't think the length of wire would be an issue, so long as the gauge is reasonable. -Tony
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 46
|
 |
« Reply #12 on: July 11, 2012, 05:42:01 am » |
i am getting an idea to use many arduino boards. one is master arduino board and many slaves to it. master arduino should send a data to all the slave arduino boards, all at the same time slaves should recogonise that the data is sent to the particular slave to Switch ON particular appliances.
will this work effectively.
|
|
|
|
|
Logged
|
|
|
|
|
nr Bundaberg, Australia
Offline
Tesla Member
Karma: 75
Posts: 6975
Scattered showers my arse -- Noah, 2348BC.
|
 |
« Reply #13 on: July 11, 2012, 05:56:43 am » |
will this work effectively. Yep. Have a good search through the forum there's 100s of post about such things but as I said above a network of Arduinos connected with RS-485 is one way to go. ______ Rob
|
|
|
|
« Last Edit: July 11, 2012, 05:59:55 am by Graynomad »
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 46
|
 |
« Reply #14 on: July 11, 2012, 07:42:10 am » |
will this work effectively. I said above a network of Arduinos connected with RS-485 is one way to go. i am new to networks. please help me to understand this networks and RS-485
|
|
|
|
|
Logged
|
|
|
|
|
|