Skip to content

bmlynarczyk/sensonation

Repository files navigation

Sensonation

Description

Sensonation it is an open hardware/software project for home blinds automation. It's using raspberry pi as management unit, electronics stuff and dc engines for moving up and down blinds. Main goal of this project is to make opening and closing home blind as automated as it's possible.

Software Architecture

Sensonation is a Java process run in Raspbian. Software is build with Spring framework using elements such as:

  • Spring Boot
  • Spring MVC

Java process is run as web application server in embedded servlet container Tomcat. Communication with User is over HTTP API.

Blinds maagement is possible thanks of library Pi4j. Communiction between Java process and hardware is over I2C bus

Blinds movement automation is based on calculation daylaigth changes in manner of localisation by SunCalc-Java.

Hardware Architecture

From hardware perpective Sensonation works on raspberry pi model b. Of course run on higher versionion is also possible.

DC engines are controlled by DRV8833 Dual Motor Driver Carrier.

Raspberry Pi inputs and outputs are not inafe for Sensonation. MCP23017 expander gives possibility to extend inputs and outputs to required count.

Current configuration uses two expanders, which works on unique addresses defined by A0, A1, A2 pins state. First expander works on 21 address second one on 24.

MCP23017-addresspins1

Hardware Fritzing Project

Fritzing project is placed in hardware catalog. Below picture of hardware.

sensonation-v2

Build tutorial

todo

Manual

todo