Giter VIP home page Giter VIP logo

domotics's Introduction

Why this project is different?

  • I haven’t found any complete project like this, I mean a general purpose (home) automation project with a full developed hardware and software.

This is a domotics project sw&hw (or general controller)

  • The goals of this project are:
    • to be affordable (price/(outputs + inputs)), every thing is hardwired (not for every one)
    • reliability (every thing have to be easy to replace, my wife has to be able to do it)
    • flexibility (gotten by division of GPIOs in groups of 4)
  • it is based on Beaglebone Black (BBB)
  • Its able to control up to 64 Inputs or Outputs in blocks of 4
  • I’ve developed a main board were is possible to plug up to 16 4-inputs or 4-outputs boards (4 GPIOs). All of them are optocoupled.
    • I’ve already developed a 4-relays board and 4-transistors board wich can control lights intensity by PWM and also 4-imputs board
  • The power board can be connected to a battery and detect a mains failure
  • It’s already able to communicate with Openhab, an android and ios application, or whatever application that support MQTT protocol
  • It’s in production now since April 8th 2016 in my home
  • There are also 2 more slots with 3 and 4 analogs inputs, I’m planing to sense the battery level and natural light level.
  • Into one of the 16 slots I’m planing to connect some DS18B20 (up to 10 can be connected to one gpio) to sense the rooms temperatures.

This is my first project to be published

  • I’m trying to sort thins out to make them easier to understand
  • I will re-write some of c++ objects to make them more clear
  • Many directories still need to be populated,

This is what is now running

  • A full functional project is in production at my home. Have a look at the pictures folder for images
  • Now I’m controlling 5 PWM circuits for lights
  • I’ve also 6 inputs
  • All outputs are controlled by Openhab web application from LAN/WAN

How to test this project

  • Get a Beagle bone black with Linux running
  • to be able to compile c++ and new capes, they are needed to manage GPIOs
    • do apt-get install build-essential
    • do apt-get install linux-image-3.8.13-bone68 device-tree-compiler am335x-pru-package
    • do apt-get install libmosquitto-dev libmosquittopp-dev mosquitto mosquitto-clients
  • compile the cape /domotics/capes/half-in-half-out.dts by make
    • install by make install
  • get yours electronics ready and connected to one of the gpio used on “running/test-pwm.cpp” like “GPIO 27”
  • Connect and input switch at “GPIO 4”
  • copy the contents of “/domotics/running” to /pru2 at BBB
  • run make
  • run /pru2/start.sh
  • Your led should get PWM controlled with the switch
  • Optional:
  • Install openhab, instructions at it’s site: http://openhab.org/
    • copy domotics/root/* to ”” at BBB
  • Install an configure your openhab to point to your BBB ip as http://BBBip:8080

Project files

Contributors

  • Every one willing to contribute with this project is welcome

Software

  • none yet

Electronics

  • none yet

Linux SO

  • none yet

Others

  • none yet

Contact information

  • Damian Machtey
  • dmachtey at gmail com

License

The code and hardware is being released under GPL v3.

domotics's People

Contributors

dmachtey avatar

Stargazers

Christian Halter avatar Gaston Bordenabe avatar Leo Ricupero avatar Jason Kridner avatar  avatar Pablo avatar Arias, Ismael Marcial  avatar Drew Fustini avatar Eloy Espinaco avatar

Watchers

Eloy Espinaco avatar  avatar  avatar

Forkers

gastonbordenabe

domotics's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.