Shelly UNI to manage a 12V motor + inversor + light detector : how to ?

  • I want to manage a 12V motor to open or close a small door.

    Shelly Uno seems able to send power on two different output and maybe it could be used to send power on output 1 for opening, and on ouput 2 for closing ?

    I can have an inversor in front of the motor with these two entries.

    But i would either :

    - define a schedule based on hours of the day for open/close commands, the web server inside shelly can do that i guess ?

    - or connect a light sensor in order to close in the evening or open in the morning ? can we connect such sensor and which type or which model ? and how to manage ?

    And what will be the connection wiring in these situations ?

  • Hello, I am not sure, what an „inversor“ is. But such a relay board with 2 relays and 2-way-switch each should be usable. The time schedule can be used to activate out1 for a certain time to open, out2 for a certain time to close.

    A light detector is possible with LDR + fixed resistor as voltage divider at ADC input of UNI. But I would try first the weekly schedule, maybe with sunrise/sunset time.

  • Oh thks for answer,

    In my understanding, the inversor is a circuit able to make the motor run in both ways, but its my undesrstanding at this stage. One way it turn clockwise, other way counterclock.... So OUT1 can command 1st way and OUT2 can command 2nd way. Would be perfect.

    Yes i can start with schedule, no prob, but i would like to add this feature which is daylight detection. And there will be no wifi were the Shelly Uni will be, so not possible to use sunrise/sunset, but i will test...

    For the detector, can i know more how i can build this LDR + fixed resistor ? I am not enough skilled on that side to define that but if i have the details about the components i think i can build it.

    Edit : Other question : after sending a command we must stop the motor at the end of the action.

    So i can add contactors (mechnical, magnets...) which will be closed for example when the right position is reached. Can we connect these contactors to the Shelly Uni to detect these two positions ? Or i should add something like a relay in the circuit.

    2 Mal editiert, zuletzt von bemo47 (30. April 2021 um 01:11)

  • Weekly schedule will work only with internet connection, as the Shellies get their time from a time server. Without wifi available, I have doubts, whether Shelly is the right device.

    With motor de-activation depending on position, this is getting now a project, which needs good electronic and mechanical skills. What kind of door is it? Are there no ready made solutions on the market?

  • for internet i already have a shelly 1 working with intermittent internet and it keep the schedule, so thats a 1st way to work, but i will try to get internet connection to use also the sunrise/sunset.

    for the motor stops i plan to use that kind of schema as attached

    Der Inhalt kann nicht angezeigt werden, da Sie keine Berechtigung haben, diesen Inhalt zu sehen.

    Fin de course : will be the detectors of position, ouverture is open when door is opened, fermeture : is opened when door is closed, otherwise for each they are closed, when one is close the other is open, and they each command a relay activating the motor and inversing the way of roration by inversing the polarities of the motor.

    Jour / Nuit : could be the Shelly Uni, but one question is that here we manage only the + wire, and the Shelly Uni will need + & - wires on both OUT1 and OUT2, here the - is permanently connected on the top of the schema. So i am wondering how the Shelly Uni can be implemented here ?

    for the mechanical part, the door will be a very light slider, about 500 grs, sliding vertically

    Edit : and yes there are solutions on the market but about 150 euros, so i try to build it, for fun mainly and also to save some euros... :)

    Einmal editiert, zuletzt von bemo47 (30. April 2021 um 11:40)

  • Dieses Thema enthält 14 weitere Beiträge, die nur für registrierte Benutzer sichtbar sind.