Updated Controlling Motors with GPIO (markdown)

rstrouse 2023-10-05 17:48:32 -07:00
parent a687b53f06
commit c92857146f

@ -1,7 +1,9 @@
ESPSomfy RTS allows you to connect motors via GPIO to external relays. In this configuration you can mix and match radio based motors with hardwired motors that are controlled via relays. You can use any of the available output pins that are remaining on your ESP32 to control up or down on the motor.
# Operation
Once configured, ESPSomfy RTS will trigger the up pin when the motor should be moving up and the down pin when the motor should be moving down. If the motor should be at rest it will turn off (pull low) both pins so the motor is not energized. In this configuration, the motors operate as if they are controlled by the radio. All functions such as the My function work just like a radio controlled motor. Even the positioning works. If you have a spare channel on a remote you can even link that and begin moving this non-radio enabled motor with your remote. How cool is that! But I didn't stop there you can even link this motor to a sun or wind sensor and all the functions work for that as well.
# Configuration
To set this up select the GPIO protocol for the Shade. When you do this, two dropdowns will appear next to the protocol dropdown. Select the pins that are used to energize the up relay and down relays then press save. Don't forget to set your timing so that the motor knows when to stop especially if you have no limit switches.
![image](https://github.com/rstrouse/ESPSomfy-RTS/assets/47839015/4ef4354e-f9e4-405f-b06b-5740948c64cd)