logo elektroda
logo elektroda
X
logo elektroda

Which radio modules to choose for smart building on Raspberry PI?

Kalc 8364 4
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 12099464
    Kalc
    Level 9  
    Posts: 31
    I would like to present my smart building project. The whole system is based on Raspberry PI and the control of all devices is done wirelessly using the RFM12b module.
    The graphical interface can be tested at: http://student.agh.edu.pl/~dkalicki/house_control/indexObj.html
    this is a rather old version and the latest one is on Rpi. This is not the page that is plugged into the system.
    The transmission sent out into the ether includes AES encryption with a counter, so the possibility of someone hacking into the system from the outside is limited.
    All devices are based on Atmega + RFM12b module. In terms of range I have no problem controlling a device in another room, but the maximum distance the sensors operate at I do not know.
    One of the main considerations was the small cost of the devices, which is why I chose the RFM12b module, although I am considering changing the radio module to ZigBee the price will be similar but it will require making my own PCB module.
    As you will see in the videos below, I have not yet calibrated the sensors and interfaces so indications of over 100% should not be surprising, as well as the reverse indication of the bulb on the interface.
    I apologise of course for the quality of the videos but I don't have a better camera.

    The system consists of devices:
    1. Lighting controller.
    Allows you to switch the lighting on and off, and for standard incandescent and probably halogen bulbs to change their brightness. It also allows you to switch a device (with a small current consumption of up to 1A) on and off from the mains voltage. This is a popular triac-based lighting controller circuit. For this circuit I am going to include a power consumption counting module built on an ADE7755.
    http://www.youtube.com/watch?v=pB87S6wcYbE
    2. Ambient sensor:
    Informs about the ambient temperature and lighting. In addition, it includes a CO sensor and a motion sensor. And in the future a humidity and pressure sensor.
    http://www.youtube.com/watch?v=nTM7caZRrJc
    3. Soil moisture sensor for plants
    I'm having trouble calibrating this sensor so it will probably present information on a scale of low moisture, medium, high or something like that.
    http://www.youtube.com/watch?v=D4PRhTfOzoU
    4. A circuit to control a motor for a garage door.
    A circuit to control a DC motor, and includes leads for limiters and a control button. The circuit is also suitable for controlling roller shutters.
    5. Radio remote control
    It can be easily connected to any device controlled by the system, using the www interface.
    http://www.youtube.com/watch?v=AXeoLLFm0DM
    6. TV remote control
    Allows you to control your TV from a computer or mobile phone (access via the website).
    http://www.youtube.com/watch?v=SsZKNVUrXbY

    In addition, I am working on a simple thermostat that will control the valve on the radiator.

    I will try to post a more detailed description of how it works and the schematics as soon as I find the time to write it up.
    I don't think the project deserves a DIY post due to the small shortcomings of the software (sensor calibration) so I'm posting it here.
  • ADVERTISEMENT
  • #2 12283954
    mmarecki77
    Level 2  
    Posts: 2
    Hello

    Interesting project. You can significantly reduce the cost of a smart home installation.
    I am also interested in a similar solution with Raspberry.
    Can you please upload the schematics ?

    greetings
  • ADVERTISEMENT
  • #3 12296676
    kasprzyk
    Electrician specialist
    Posts: 5595
    Help: 354
    Rate: 669
    mmarecki77 wrote:
    Welcome

    Interesting project. You can significantly reduce the cost of a smart home installation.
    I am also interested in a similar solution with Raspberry.
    Can you please upload the schematics ?

    greetings

    How do you want to reduce the cost of the ID installation ?
    How will the whole thing behave with, for example, 50 independent lighting points, 10 independent heating loops, 10 roller shutters, and at what point can it be called a smart home, what relationships can be programmed between each other, what is the configuration process like for the average "mugger" ?

    Kalc colleague - you have made a project, present the connection with the electrical installation, show how it will look like - because so far instead of IB I see a Christmas tree put together, it is one thing to make one lighting channel on a desk, it is another to create an installation which is to serve the users in an inhabited building.
    What do you want to put the temperature sensor into, how are you going to finish all the electronics so that the flat does not resemble an experimental laboratory ?
    Maybe you have some pics of such a prepared installation ?
    Best regards
  • ADVERTISEMENT
  • #4 12297287
    mmarecki77
    Level 2  
    Posts: 2
    The cost of a commercial installation of wireless control in the home is cosmic (e.g. fibaro).
    The fact that you get everything ready-made, receivers, transmitters, control panel and soft but this is for lazy gadgeteers :)
    I am not going to spend a few thousand to make such a control at home.
    Kalc's colleague, in my opinion, has the right approach to the matter, because you can make yourself a network at a much lower cost. However, you have to work hard to put everything together.
    I have already purchased a Raspbery Pi and ordered an rfm 22 and atmega8 and will be building a network based on them.
    I need to learn how to use the rfm 22 over the network, once I know this, the atmega can be used to make various sensors visible on the network.
    For now I am at the stage of building the first prototype, we will see what comes out of it.

    regards
  • #5 12387484
    bimeczek
    Level 10  
    Posts: 13
    Rate: 2
    hey Gentlemen,

    how are you going with the PI-based solution?
    I, like mmarecki77, am at the prototype stage.
    I.e. PI is already working - I'm now connecting an Arduino to it and making some first attempts.

    If you have any insights - please write.

    I'm also curious how to finish it so it doesn't look like an experimental lab :)

    regards
ADVERTISEMENT