logo elektroda
logo elektroda
X
logo elektroda

Arduino/Raspberry Pi with bistable relays for home lights and sockets?

kulfon_nie_zyje 7140 10
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 12732642
    kulfon_nie_zyje
    Level 9  
    Posts: 8
    Welcome.

    I have a crazy idea to use an Arduino or Raspberry PI to control the lights in the house. I apologise in advance if I write stupid things, but it's hard. :)

    I think I'm going to have to gather all the cables from the appliances (lighting) and switches on the walls in one place. I am now thinking of using bistable relays (or mono, I don't know). These would be controlled by the arduino and the switches on the walls (which need to be turned into momentary buttons in the case of the bitstable relays I guess).

    Now I'm wondering how to control the bitstable relays using the arduino - I know there are off-the-shelf solutions like relay modules for the arduino, but I don't think I need to use an arduino controlled relay to control a bitstable relay connected to the lighting....

    As for a relay for lighting, I found something like this on the forum: http://www.fif.com.pl/produkt/26/276

    My assumption is that in the event of a microcontroller failure, all devices must operate "normally", i.e. via switches on the walls.

    I have no idea about wiring in the house, so I'm going to hire a professional when possibly ripping up the walls and changing the wiring configuration, but I want to ask you guys if what I've come up with makes any sense.

    P.S. Does it make sense to similarly control the electrical sockets that things like standing lamps and cooker hood bulbs are plugged into?
  • ADVERTISEMENT
  • #2 12733452
    opamp
    User under supervision
    Posts: 3612
    Help: 266
    Rate: 923
    The Arduino or Raspberry are table top learning toys and are here to stay.
    kulfon_nie_zyje wrote:
    Now I'm thinking of using bistable relays (or mono, I don't know)

    kulfon_nie_zyje wrote:
    My assumption is that in the event of a microcontainer failure, all devices must operate "normally", i.e. via switches on the walls.

    Well that will be fun :D
  • ADVERTISEMENT
  • #3 12733498
    Matheu
    Level 25  
    Posts: 1000
    Help: 61
    Rate: 300
    kulfon_nie_zyje wrote:
    gather all the cables from the appliances (lighting) and switches on the walls in one place. I am now thinking of using bistable relays (or mono, I don't know). These would be controlled by the arduino and the switches on the walls (which need to be turned into momentary buttons in the case of the bitstable relays I guess).

    You're probably referring to a "smart home" - search the internet under this heading. I'm sure you'll find professionals who will do installations for this (but probably not on Arduino, as there are already specialised solutions), only that you may be surprised at the costs.
    So - if you really want it - it is doable.
  • ADVERTISEMENT
  • #4 12733672
    kulfon_nie_zyje
    Level 9  
    Posts: 8
    To recap, as I understand it, even if I manage to design it from the electrical side, it doesn't make sense to use an arduino or a raspberry as the central device. Is this due to things like the failure rate or instability of such microcontrollers?

    I understand that dedicated solutions are required to control the robotic arm in the factory, but I was hoping that snapping light bulbs could handle such a marvel.

    Thank you for your answers.
    Regards.
  • #5 12733928
    Matheu
    Level 25  
    Posts: 1000
    Help: 61
    Rate: 300
    Buddy, if you can do it - you can probably do it on an Arduino, there are enthusiasts who do such things - and a robot, and a smart home....
    But if you haven't gone deeper into programming, microcontrollers and electronics so far, it's better to outsource to professionals!
  • #6 12734109
    opamp
    User under supervision
    Posts: 3612
    Help: 266
    Rate: 923
    If you don't understand how something works then you'd better not get behind it.
  • #7 12734795
    dondu
    VIP Meritorious for electroda.pl
    Posts: 13906
    Help: 1292
    Rate: 809
    In general, you can use an Arduino or build your own controller(s) on microcontrollers. But you need to be aware that, as mentioned by the Arduino opamp colleague, these are not dedicated devices for these purposes. So you may encounter difficulties related to network interference, lightning, etc. that will make your house "go crazy" :)

    But on the other hand, after all, it's all about learning something and having the satisfaction of the end result, well, and the admiration of colleagues and the fairer sex :)

    Remember, though, that 230V is no joke!
  • ADVERTISEMENT
  • #9 12982018
    zbig10101
    Level 14  
    Posts: 97
    Help: 1
    Rate: 12
    The Malinka is suitable for applications as above, for this purpose you can use an additional z-wave adapter card with wireless communication for sensors and device controllers. In addition, alarms, roller shutters, door openers and other devices can be controlled and monitored. the applications are endless. such a system can be controlled and monitored remotely from a tablet, iphone. just sit down and make up the configuration.
  • #10 13013307
    marcinosko
    Level 14  
    Posts: 136
    Help: 7
    Rate: 5
    Or maybe Rasbery Pi -> DMX and modules under dmx for each light. The data can be changed via a website on the Pi or in the database? All this can be connected to the home network in a trivial way and only an application for android or simply www on the phone. The lighting in our smart home can be easily controlled from any location on the device. The rest of the devices in the house are controlled in the same way. The rest of the devices in the house can be controlled analogously.

    this above is just my vision :D I have in my house a substitute of a smart home of my own production (only 2 rooms) controlled with ATMEGI16 but it has become too little. I am now just working on what I described above.
  • #11 13019568
    zbig10101
    Level 14  
    Posts: 97
    Help: 1
    Rate: 12
    z-wave is all about controlling and controlling sensors, cameras etc, but you can access this remotely on the Raspberry Pi. Which, as you can see, is giving you a lot more possibilities than the wired version.
ADVERTISEMENT