HOWTO control stepper motors #11731
Replies: 8 comments 14 replies
-
Hi, |
Beta Was this translation helpful? Give feedback.
-
You did great job and thank you for that. this is what i have been looking for. |
Beta Was this translation helpful? Give feedback.
-
homeassistant yapılandırması hata veriyor. neden acaba. |
Beta Was this translation helpful? Give feedback.
-
Thanks for this. Has anyone got stallguard to work with the tmc2209? |
Beta Was this translation helpful? Give feedback.
-
Thanks for this great guide. |
Beta Was this translation helpful? Give feedback.
-
Guys, thanks for the immense work you've done, it wasn't easy but I managed to create the system to open the roller blind. To complete everything, I would like to integrate it into Home Assistant with the functions shown in the video on this page, could you tell me what I should install in HA to get that graphic? I currently have HA in the basic configuration and the card I have only allows me to raise, stop and lower the tent, I don't know where to start to get that "for perfectionists" screen. Thank you. |
Beta Was this translation helpful? Give feedback.
-
Hello, Thank you |
Beta Was this translation helpful? Give feedback.
-
Hello i have a problem with one of my blinds it refuses to go in other direction. Could anyone help me with this ? |
Beta Was this translation helpful? Give feedback.
-
0. About using stepper motors.
1. Home Assistant Integrations (for perfectionists only):
003.mp4
HA Integrations:
/config/configuration.yaml
/Entities Card Configuration
:2. One stepper motor (minimum configuration):
Device List:
How to use it:
my_user_config.h
file (оr flash your ESP8266 module withtasmota.bin
file).SetOption80 1
// Enable shutters support.ShutterMode 4
// Enable "Shutter mode 4".Restart 1
// Restart Tasmota.ShutterFrequency 2500
// This is a global variable for all steppers (default = 1000ppm).ShutterMotorDelay1 2.5
// Acceleration/deceleration speed for stepper motor(default = 0 seconds).ShutterOpenDuration1 20
// Shutter opening time = 20 seconds (default = 10 seconds).ShutterCloseDuration1 20
// Shutter closing time = 20 seconds (default = 10 seconds).Restart 1
// Restart Tasmota.ShutterOpen1
// Opening check.ShutterStop1
// Stop check.ShutterClose1
// Closing check.3. One stepper motor (maximum configuration):
Device List:
How to use it:
my_user_config.h
file (оr flash your ESP8266 module withtasmota.bin
file).SetOption80 1
// Enable shutters support.ShutterMode 4
// Enable "Shutter mode 4".Restart 1
// Restart Tasmota.ShutterFrequency 2500
// This is a global variable for all steppers (default = 1000ppm).ShutterMotorDelay1 2.5
// Aacceleration/deceleration speed for stepper motor(default = 0 seconds).ShutterOpenDuration1 20
// Opening time = 20 seconds (default = 10 seconds).ShutterCloseDuration1 20
// Closing time = 20 seconds (default = 10 seconds).Restart 1
// Restart Tasmota.ShutterOpen1
// Opening check.ShutterStop1
// Stop check.ShutterClose1
// Closing check.SetOption73 1
// Enable detach buttons from relays.Rule1 ON system#boot DO Backlog SetOption1 1; SetOption11 0; SetOption13 1 ENDON
Rule2 1
// Enable Rule1.Rule2 ON button1#state DO ShutterOpen1 ENDON ON button2#state DO ShutterClose1 ENDON
Rule2 1
// Enable Rule2.Rule3 ON INA219#Current>0.500 DO ShutterStop1 ENDON
Rule3 1
// Enable Rule3.4. Two stepper motors (medium configuration):
Device List:
How to use it:
my_user_config.h
file (оr flash your ESP8266 module withtasmota.bin
file).SetOption80 1
// Enable shutters support.ShutterMode 4
// Enable "Shutter mode 4".ShutterRelay1 1
// for relay Relay1 and Relay2.ShutterRelay2 3
// for relay Relay3 and Relay4.Restart 1
// Restart Tasmota.ShutterFrequency 2000
// This is a global variable for all steppers (default = 1000ppm).ShutterMotorDelay1 1.5
// Shutter#1 acceleration/deceleration speed for stepper motor(default = 0 seconds).ShutterOpenDuration1 15
// Shutter#1 opening time = 15 seconds (default = 10 seconds).ShutterCloseDuration1 15
// Shutter#1 closing time = 15 seconds (default = 10 seconds).ShutterMotorDelay2 1.5
// Shutter#2 acceleration/deceleration speed for stepper motor(default = 0 seconds).ShutterOpenDuration2 15
// Shutter#2 opening time = 15 seconds (default = 10 seconds).ShutterCloseDuration2 15
// Shutter#2 closing time = 15 seconds (default = 10 seconds).Restart 1
// Restart Tasmota.ShutterOpen1
// Opening check (Shutter#1).ShutterStop1
// Stop check (Shutter#1).ShutterClose1
// Closing check (Shutter#1).ShutterOpen2
// Opening check (Shutter#2).ShutterStop2
// Stop check (Shutter#2).ShutterClose2
// Closing check (Shutter#2).SetOption73 1
// Enable detach buttons from relays.ShutterButton1 1 updown 0
// Assigns button1 to act as an "up and down" button (1x press up, 2x press down) for Shutter#1.ShutterButton2 2 updown 0
// Assigns button2 to act as an "up and down" button (1x press up, 2x press down) for Shutter#2.4.1 Two stepper motors (medium parallel configuration):
Device List:
4.2 Four stepper motors (maximum parallel configuration):
Device List:
4. Changing the interface (Optional):
SetOption15
is ON and you see three unused components. To hide unused components, run theSetOption15 OFF
command in the console.Backlog WebButton1 ⇈ WebButton2 ⇊
Backlog WebButton1 ↺ WebButton2 ↻
Backlog WebButton1 ▲; WebButton2 ▼
6. Components for creating devices (Optional):
To customize your devices you can use:
https://aliexpress.com/item/4000393299508.html
https://aliexpress.com/item/32870732179.html
https://aliexpress.com/item/33055392128.html
https://aliexpress.com/item/32905538087.html
https://aliexpress.com/item/1000007369401.html
https://aliexpress.com/item/33019883744.html
https://aliexpress.com/item/32769553792.html
https://aliexpress.com/item/32811275446.html
08/28/2021 Added new information, minor bugs fixed.
09/09/2021 Added new information, Home Assistant Integrations.
Best regards,
TrDA
Beta Was this translation helpful? Give feedback.
All reactions