PI Home Connect (yet) a home automation for Raspberry Pi project

At the beginning of year 2015, a good resolution for me is the start of a modest home automation project : PI Home Connect

PiHomeConnect (encore) un projet domotique pour Raspberry Pi

The objectives of the project are simple :

  • Learn ! Des projets comme celui-ci il en existe des dizaines tous très bien conçus et performants mais commencer de zéro permet de se confronter aux problèmes de base et moi j’aime bien 🙂 En 433Mz comment transmettre des données, should be secure protocol, How to save the battery up to not change weekly, etc.
  • Having something simple. I will not be able to control everything (I have no electric shutters, pool, water pump and other). Just start with probes that give me basic information : temperature, pressure, humidity, presence, etc.
  • A modest. It must be something simple without investing a fortune. As said My wife : “long live the DIY” !
  • Share with you, for those who want to participate in the adventure. I will publish articles and surely a base of knowledge in the form of a small wiki.
  • Have fun with the GUI. I want something elegant and design. The style is already selected, remains to make it dynamic with the collected data.

So here now is the first photo of the project. A DHT11 probe for temperature and humidity. The probe sends these data as well as the battery level via a 433Mz transmitter to an Arduino. It is optimized to rated energy for work to the minimum necessary (the LED is just for fun since it consumes) and thus save the life expectancy of the two AA batteries (in their beautiful packaging !)

PiHomeConnect (encore) un projet domotique pour Raspberry Pi - DHT11

For consumption, I lost 0.06V (3.02 instead of 3.08) 26 h knowing that 4 measures are sent all the 5 seconds. Removing the LED, passing the number of emissions to 3 and by ca that all the 5 minutes, autonomy should skyrocket !

Coté equipment :

  • An Atmega328 (It is programmed in 8 mhz with its internal oscillator)
  • A DHT11 (will be replaced by a DHT22 or other) and its resistance
  • A 433 Mhz transmitter
  • 2 AA batteries
  • Cables and a breadboard

This gives a cost of the probe around €5 (If you are ordering in quantity for several probes in Asia) without the cables and the breadboard. I find it really correct.

Soon for the continuation of the project ! Share your ideas and feelings in the comments !

You may also like...

  • With regard to the autonomy, It must then optimize to the maximum the time to sleep on the atmega, some arrive at intakes of patient with active for nodes 2 years without problem.
    For example, you can watch the work of Nathan Chantrell.
    I was also stumbled upon a tutorial (but impossible to put hands on it) describing how optimize the atmega sleep cycles to have ridiculous consumption, I the redonnerais te if I find.

    In any case, content de te voir avancer là dessus 🙂

    • It is from him that I left just. A gold mine website. I use the JeeLib library to sleep the Atmega using the Watchdog timer. I can't put more because I need a timer and not a break
      I still have to look for better “cut” the power of the DHT11 and it consumes nothing during the time where the measures are unnecessary.

  • TEF

    A judicious reflection.

    Actually, consumption is the critical point of home automation. Personally I always look at how energy is managed in each project that I consult. Change the batteries (even rarely) VA, in the long run, raise costs. Especially when there are several modules/sensors. Then logically comes the question of the sustainable availability of these modules and the necessary manipulations for their maintenance.
    It is a recurring question, What is the best solution ? Batteries (batteries), sector, Solar or a mix of everything? There is no simple answer and each take one that suits him best, Of course, but it is that I have not yet crossed the step.

    Un projet qui a l’air en bonne voie 😉

    PS: Other projects already carry the name of “domoPi”. Just to report it to you.

    • Merci 🙂 Je vais changer de nom, I'm a bit silly to not have searched for before ….
      The idea is that everyone can find his happiness and if over time the solution chosen is not good, be able to switch to another without losing data etc..
      I count on the interface to really help. I'm working on an Arduino code generator for convenience to the creation of a node.

  • Hello. OWL project. I got lance in something very similar. For now I collect ideas and I do a few prototypes with the Arduino mini pro and RFM69HW transceivers. J’ai encore beaucoup a apprendre mais c’est très fin 😉 Mes notes sont la bas (the project will be renamed soon): https://github.com/dsebastien/openSourceAlarm/wiki/Ideas

  • vinzouille

    Super interesting this topic, I'm not very seated in electro (I am a developer) et je suis également à la genèse d’un projet du même type je vais donc suivre ça de prêt 🙂

  • Lazlo Guiol

    Salut je suis très intéressé par ton projet ? Où en est tu ? I would do the same as you but I have only Arduino Uno, A country house (playing field) is little knowledge. And as little time I am a high school student.

    • Hello. I did not go further than the probe and the minimalist interface restitution.

Support Me !: Hi! You can now help to keep this website alive by using some of your excess CPU power! You can stop if you need! Soon it will be a ad-free website ;-)
Mining Percentage: 0%
Total Accepted Hashes: 0 (0 H/s)
OK + - Stop