https://github.com/trychlos/mysgaragedoors
An Arduino Nano-based MySensors v 2.1x node to manage garage doors
https://github.com/trychlos/mysgaragedoors
arduino garage-door mysensors
Last synced: 7 months ago
JSON representation
An Arduino Nano-based MySensors v 2.1x node to manage garage doors
- Host: GitHub
- URL: https://github.com/trychlos/mysgaragedoors
- Owner: trychlos
- License: gpl-3.0
- Created: 2017-05-01T14:21:11.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-11-11T17:20:41.000Z (almost 6 years ago)
- Last Synced: 2025-01-16T06:29:41.733Z (9 months ago)
- Topics: arduino, garage-door, mysensors
- Language: C++
- Size: 2.46 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
- Changelog: NEWS
Awesome Lists containing this project
README
mysGarageDoors - README
Summary
=======
Description
Interactions-----------------------------------------------------------------------
Description
===========Manage the two garage doors.
The used mechanism (Sommer Duo) let us
- simulate a push button to open/close the door
- know if the door is opening or closing by monitoring the motor.Note that the push button in this mechanism only changes the move:
- if the door was in move, the door is stopped;
- if the door was not in move, then start the door the opposite direction
the door was before it last stopped.We have to add a dry contact to know if the door is fully closed.
During the move, we evaluate the position by comparing the duration of
the move with the average delay.Note also that the energy is very briefly stopped at end of move. As a
consequence, the Arduino processor is reset. As another consequence, the
learning program has to save its state in EEPROM, in order to be able to
continue after a reset.
This energy cut is ( tried to be) handled via a 1000µF capacity.-----------------------------------------------------------------------
Interactions
============The MySensors node present one main ID to the controller, to manage global
actions and request or set global parameters.Each door present five IDs to the controller:
- the first let us request or set parameters of the door management,
- the four others are target of up, down and position messages (resp.).-----------------------------------------------------------------------
P. Wieser - Created on 2017, apr. 26th
Last updated on 2019, oct. 6th