GithubHelp home page GithubHelp logo

qba667 / vdmot_controller Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lenti84/vdmot_controller

0.0 0.0 0.0 7.57 MB

Controller for HmIP-VdMot actuators

License: Other

Shell 0.06% JavaScript 0.30% C++ 49.21% C 36.38% HTML 12.66% Vue 1.40%

vdmot_controller's Introduction

VdMot_Controller

This is a controller for HmIP-VdMot actuators.

It controls up to 12 HmIP-VdMot actuators or other DC motor valves and is based on custom hardware/software.

It's an alternative to the original HmIP-FALMOT-C12 hardware. My intention was to create a cheap solution to operate my 18 valves (floor heating + radiators). I wanted a pure offline system (no cloud connection) and to be free of the constraint to use further components like CCU2/CCU3.

Features:

  • controls up to 12 HmIP-VdMot actuators or other DC motor valves
  • learns valve movement by counting motor revolutions based on Back EMF
    • so positioning accuracy should be (very) good
  • valve current is evaluated and can be monitored
  • interfaces
    • actual: MQTT, JSON
    • optional: MODBUS-RTU via RS485, CAN via external MCP2515
  • integrated 1-wire master
    • a lot of additional temperature sensors like DS18B20 could be connected
    • sensor values can be linked to a valve for combined data evaluation
    • usefull for hydraulic balancing ("Hydraulischer Abgleich")

Status

  • b-sample hardware is working
  • c-sample hardware is working
  • c2-sample hardware finished and working
  • valve learning, opening and closing is working
  • connection to FHEM or [IOBroker] established via MQTT
  • read and set values via JSON
  • first productive test passed
  • tests of 2 different actuators done, see system/actuators.md
  • one wire sensors working
    • sensors can be coupled to a valve
    • therefore the sensor adresses are stored and assigned at startup
  • eeprom working
  • STM32 can be flashed by ESP32 via WebUI without additional hardware
  • simple test of RS485 interface with modbus-rtu master sucessfully performed
  • simple test of CAN interface via MCP2515 sucessfully performed
  • replaced relay with fet transistors

Hardware

Software

For details please see software.md

  • written in C / C++
  • uses great arduino libraries
  • developed using PlatformIO
  • STM32 BlackPill
    • controls the valves / dc-motors
      • endstop by real current measurement
      • counting motor revolutions by back-EMF
      • state detection
    • controlls 1-wire devices via GPIO
      • optional via DS2482-100 1-wire bus master ic
  • ESP32 / WT32-ETH01
    • communication with MQTT broker or JSON interface
    • visualize system status
      • valve state
      • temperature sensors
      • optional: integrated control algorithm
    • OTA software update (of ESP32 and STM32)

License

This project is licensed under the terms of the GNU General Public License v3.0 license.

vdmot_controller's People

Contributors

lenti84 avatar surfgargano avatar wfeneberg avatar

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.