Search found 165 matches: stepper
Searched query: stepper
- 24 Feb 2025, 09:39
- Forum: ESP Easy: Hardware
- Topic: Stepper motor control question
- Replies: 3
- Views: 953
Re: Stepper motor control question
... anymore when stepping at higher step rate. Drawback of cutting off the current through the coils is that you also loose any force keeping the stepper motor in the same position. If you only need to step between 2 steps, you can also use a H-bridge like those used to controll DC-motors. For ...
- 24 Feb 2025, 01:25
- Forum: ESP Easy: Hardware
- Topic: Stepper motor control question
- Replies: 3
- Views: 953
Re: Stepper motor control question
So is it safe to say that I need 3 pins per stepper to control it for both directions?
- 23 Feb 2025, 23:20
- Forum: ESP Easy: Hardware
- Topic: Stepper motor control question
- Replies: 3
- Views: 953
Re: Stepper motor control question
A quite common stepper motor driver which is used in many 3D printers is A4988 It typically needs a pin to state the direction (and EN to activate current through the coils) and a pulse to make a step. You could make a very basic ...
- 23 Feb 2025, 02:16
- Forum: ESP Easy: Hardware
- Topic: Stepper motor control question
- Replies: 3
- Views: 953
Stepper motor control question
Hello all. Been out of circulation for a bit. Still hanging in there though. Gots a question about using ESPEasy to control a few stepper motors. I am looking at making a magnetic uncoupler device for model railroad train couplers. Actually a copy of an existing one: https://rapidotrains.com/railcrew-on-off-remote-uncoupler-12-pack.html ...
- 01 Feb 2025, 12:03
- Forum: ESP Easy: Software
- Topic: Stepper Motor
- Replies: 38
- Views: 71691
Re: Stepper Motor
Nope, there isn't a stepper motor driver plugin for low-level driving the A4988 There is support for a module made by Adafruit: A4988 I don't kow the A4988 by heart, but if memory serves me well, it has a pin for direction and one for ...
- 01 Feb 2025, 09:43
- Forum: ESP Easy: Software
- Topic: Stepper Motor
- Replies: 38
- Views: 71691
Re: Stepper Motor
Hi, I'm trying to drive a Nema17 step motor too.
Is there a final plugin built in actual release?
I've seen 48 79 98. Is it ok for using with A4988?
Thankyou
Is there a final plugin built in actual release?
I've seen 48 79 98. Is it ok for using with A4988?
Thankyou
- 19 Sep 2023, 19:52
- Forum: ESP Easy: General Discussion
- Topic: Stepper Control
- Replies: 5
- Views: 2036
Re: Stepper Control
For maintenance it is much easier to have those rules in a single rules file, no need to store them in separate files, as they are handled sequentially. The split was once, a long time ago, needed because of the way the rules files were then uploaded, but that has been resolved years ago.
- 19 Sep 2023, 19:44
- Forum: ESP Easy: General Discussion
- Topic: Stepper Control
- Replies: 5
- Views: 2036
Re: Stepper Control
... that out. I want to control via http request In node red you have all expansion options. With this command in the Browser or Node red, rotate the stepper left or right . http://192.168.178.121/control?cmd=event,stepup. http://192.168.178.121/control?cmd=event,stepdown rule1 on stepup do gpio,26,1 ...
- 18 Sep 2023, 21:11
- Forum: ESP Easy: General Discussion
- Topic: Stepper Control
- Replies: 5
- Views: 2036
Re: Stepper Control
How many steps does it roughly take between each limit switch?
Also what would be the best approach for your setup?
Divide the time between sunrise and noon in N pulses, or let it run a few pulses every minute (or 5 minutes), so it can overcome some friction to start moving.
Also what would be the best approach for your setup?
Divide the time between sunrise and noon in N pulses, or let it run a few pulses every minute (or 5 minutes), so it can overcome some friction to start moving.
- 18 Sep 2023, 19:22
- Forum: ESP Easy: General Discussion
- Topic: Stepper Control
- Replies: 5
- Views: 2036
Re: Stepper Control
Hello,
thank you for your Answer.
I would like to control a stepper motor as a suntracker.
In the morning, approach limit switch 1 east. At midday, approach limit switch 2, south. In the evening, approach limit switch 3 west. Sunset back to the east.
Thank you
Oliver
thank you for your Answer.
I would like to control a stepper motor as a suntracker.
In the morning, approach limit switch 1 east. At midday, approach limit switch 2, south. In the evening, approach limit switch 3 west. Sunset back to the east.
Thank you
Oliver
- 17 Sep 2023, 22:38
- Forum: ESP Easy: General Discussion
- Topic: Stepper Control
- Replies: 5
- Views: 2036
Re: Stepper Control
Depends on what you want to do. Using longpulse_ms, you could already do really basic operations on the stepper motor. See: https://espeasy.readthedocs.io/en/latest/Plugin/P000.html?highlight=longpulse#internal-gpio For example use this in the rules: (replace 'X' with the GPIO ...
- 17 Sep 2023, 21:04
- Forum: ESP Easy: General Discussion
- Topic: Stepper Control
- Replies: 5
- Views: 2036
Stepper Control
Hello,
i have a Stepper driver 4Ampere with puls and dir pin.
How can I control this amplifier with esp easy.
Best regards
Oliver
i have a Stepper driver 4Ampere with puls and dir pin.
How can I control this amplifier with esp easy.
Best regards
Oliver
- 28 Apr 2023, 13:08
- Forum: ESP Easy: Hardware
- Topic: DRV8833 + ESP Easy
- Replies: 25
- Views: 5849
Re: DRV8833 + ESP Easy
Its not stepper, its ordinary DC motor.
- 28 Apr 2023, 11:47
- Forum: ESP Easy: Hardware
- Topic: DRV8833 + ESP Easy
- Replies: 25
- Views: 5849
Re: DRV8833 + ESP Easy
It looks like a very basic H-bridge chip without any internal logic inside. There isn't a plugin for driving the stepper motor logic. No idea if this chip also manages the coil current, as you also may need to make sure no coil is left powered for a long time. Driving it from rules ...
- 23 Jun 2022, 10:33
- Forum: ESP Easy: Software
- Topic: Stepper Motor
- Replies: 38
- Views: 71691
Re: Stepper Motor
Why are you trying to build a firmware of 5 years ago?
What do you need, that isn't present in the current builds?
Please share a link to the plugins you need to build.
What do you need, that isn't present in the current builds?
Please share a link to the plugins you need to build.
- 23 Jun 2022, 10:04
- Forum: ESP Easy: Software
- Topic: Stepper Motor
- Replies: 38
- Views: 71691
Re: Stepper Motor
I'm struggling to compile ESPEasy_v2.0.0-dev7_Cstep_Ostep_firmware from around 2017 into latest ESPEasy releases. Full of errors when trying to build. @Domosapiens please can you give us some pointers on how to successfully build on latest releases. What needs to change in the P107/P108 and ESPEasy....
- 04 Apr 2022, 18:41
- Forum: ESP Easy: Hardware
- Topic: Wemos D1 mini pro issue. HELP!
- Replies: 4
- Views: 6669
Re: Wemos D1 mini pro issue. HELP!
... for a very similar issue. Ok, even if you're right, that doesnt explain why the simpler circuit, the one with only one stepper motor, doesn't work.
- 04 Apr 2022, 16:07
- Forum: ESP Easy: Hardware
- Topic: Wemos D1 mini pro issue. HELP!
- Replies: 4
- Views: 6669
Re: Wemos D1 mini pro issue. HELP!
... and being a good sport. 1) I am not connecting more than 5V. I am connecting exactly 5V. Also, why does the simpler of the circuits (one with one stepper motor) not working then? 2) I've been searching for week and most say Data pin of WS2811 accepts 5V. (one of many examples: https://www.reddit.com/r/led/comments/5oz971/question_about_ws2811_5050_led_strips_data_pin/) ...
- 04 Apr 2022, 03:19
- Forum: ESP Easy: Hardware
- Topic: Wemos D1 mini pro issue. HELP!
- Replies: 4
- Views: 6669
Wemos D1 mini pro issue. HELP!
... Here is the code: #include <Adafruit_NeoPixel.h> #include <SPI.h> #include <BlynkSimpleEsp8266.h> #include <ESP8266WiFi.h> #include <Stepper.h> #define PIN D2 #define NUMPIXELS 60 #define BLYNK_PRINT Serial int motorSpeed; int motorDirection; const int stepsPerRevolution = 4096; BlynkTimer ...
- 14 Jul 2021, 02:57
- Forum: ESP Easy: Hardware
- Topic: Adafruit motor shield
- Replies: 1
- Views: 12855
Re: Adafruit motor shield
... Home Assistant: switch: - platform: mqtt name: Porte_Poulailler command_topic: "Porte_Poulailler/cmd" payload_on: "MotorShieldCMD,Stepper,1,Backward,800,DOUBLE" payload_off: "MotorShieldCMD,Stepper,1,Forward,800,DOUBLE" icon: mdi:garage
- 11 Apr 2021, 20:52
- Forum: ESP Easy: Projects / Applications
- Topic: ESPeasy - plugin for Shutters and Blinds
- Replies: 6
- Views: 14548
Re: ESPeasy - plugin for Shutters and Blinds
How are the shutters and blinds controlled?
Via a stepper motor? Or a servo? DC motor with limit switches?
Via a stepper motor? Or a servo? DC motor with limit switches?
- 23 Mar 2021, 18:19
- Forum: ESP Easy: Projects / Applications
- Topic: knowing position with dc motor / stepper mottor
- Replies: 1
- Views: 10630
Re: knowing position with dc motor / stepper mottor
... you use some sensor connected to the motor axis. The rotational speed of a DC motor depends on voltage/current and torque needed to rotate. A stepper motor can be "tracked" if you know the begin position and number of steps made. (assuming the stepper motor did not miss a step) When ...
- 23 Mar 2021, 14:57
- Forum: ESP Easy: Projects / Applications
- Topic: knowing position with dc motor / stepper mottor
- Replies: 1
- Views: 10630
knowing position with dc motor / stepper mottor
Hya,
any hint in how to calculate the position of a DC motor or stepper motor? beginning at 0 finnish at 100..
Thx for any advice.
BR
any hint in how to calculate the position of a DC motor or stepper motor? beginning at 0 finnish at 100..
Thx for any advice.
BR
- 19 Mar 2021, 17:40
- Forum: ESP Easy: Hardware
- Topic: easydriver stepper driver
- Replies: 42
- Views: 33426
Re: easydriver stepper driver
but I think the 10 msec interval just was a bit too much for an ESP,
or else I don't know why that solution was abandoned
because i cannot get it smoth, also makes delays between steps.
- 19 Mar 2021, 16:40
- Forum: ESP Easy: Hardware
- Topic: easydriver stepper driver
- Replies: 42
- Views: 33426
Re: easydriver stepper driver
ok, builds with P048 plugin? i only found on this test one.
- 19 Mar 2021, 16:35
- Forum: ESP Easy: Hardware
- Topic: easydriver stepper driver
- Replies: 42
- Views: 33426
Re: easydriver stepper driver
That's a build with "test" in the name, so that one doesn't have the timing stats page to limit build size a bit to make it all fit.
- 19 Mar 2021, 16:09
- Forum: ESP Easy: Hardware
- Topic: easydriver stepper driver
- Replies: 42
- Views: 33426
Re: easydriver stepper driver
the build: ESP_Easy_mega_20201227_test_ESP8266_4M1M_VCC
where do i find timing stats?
where do i find timing stats?
- 19 Mar 2021, 15:46
- Forum: ESP Easy: Hardware
- Topic: easydriver stepper driver
- Replies: 42
- Views: 33426
Re: easydriver stepper driver
No that's not what I meant.
I mean the "timing stats" from the timing stats page (if it is present in your build, should be either "custom" or "normal" build)
I mean the "timing stats" from the timing stats page (if it is present in your build, should be either "custom" or "normal" build)
- 19 Mar 2021, 15:28
- Forum: ESP Easy: Hardware
- Topic: easydriver stepper driver
- Replies: 42
- Views: 33426
Re: easydriver stepper driver
Have you looked at the log via usb? How long is that delay? the log, showing the intervals. 136357: Stepper1->Forward Steps: 100 SINGLE 136717: ACT : asyncevent,loop 136731: EVENT: loop 136746: ACT : MotorShieldCMD,Stepper,1,Forward,100,single 136758: Stepper1->Forward Steps: ...
- 19 Mar 2021, 15:24
- Forum: ESP Easy: Hardware
- Topic: easydriver stepper driver
- Replies: 42
- Views: 33426
Re: easydriver stepper driver
on loop do if %v1%=0 MotorShieldCMD,Stepper,1,Forward,100,single endif if %v1%=1 MotorShieldCMD,Stepper,1,Backward,100,single endif asyncevent,loop endon i'm using asyncevent as from example. but as docs, asyncevent goes to a quee. What the ...
- 19 Mar 2021, 14:14
- Forum: ESP Easy: Hardware
- Topic: easydriver stepper driver
- Replies: 42
- Views: 33426
Re: easydriver stepper driver
... various calls. So I was wondering if it is acceptable if we run it in let's say 50 single steps a second. Another way can be to add some kind of stepper motor worker to regularly feed the stepper library a new call (e.g. in every loop() call of ESPEasy) What I find intriguing is that it does ...
- 19 Mar 2021, 13:55
- Forum: ESP Easy: Hardware
- Topic: easydriver stepper driver
- Replies: 42
- Views: 33426
Re: easydriver stepper driver
add a new command to the motorshield to set a continous speed and thus calling it from the PLUGIN_TEN_PER_SECOND or maybe even PLUGIN_FIFTY_PER_SECOND. and how? what i want: forward, backward and release. that's all. it will move curtains, 1 meter long or 10 meter long, so, i want to open, close, s...
- 19 Mar 2021, 10:43
- Forum: ESP Easy: Hardware
- Topic: easydriver stepper driver
- Replies: 42
- Views: 33426
Re: easydriver stepper driver
Ah yes, I remember about the looptimer. I'm not sure if the rules can process events fast enough as is required here. Maybe the only thing that makes sense here, is to add a new command to the motorshield to set a continous speed and thus calling it from the PLUGIN_TEN_PER_SECOND or maybe even PLUGI...
- 19 Mar 2021, 07:30
- Forum: ESP Easy: Hardware
- Topic: easydriver stepper driver
- Replies: 42
- Views: 33426
Re: easydriver stepper driver
Why don't you use the loop timer? See: https://espeasy.readthedocs.io/en/latest/Reference/Command.html?highlight=looptimer He had that, see: I have now the follwing: On System#Boot do //When the ESP boots, do looptimerset_ms,1,10 // Start loop timer 2, 10 msec interval endon ...(partially removed, ...
- 18 Mar 2021, 22:43
- Forum: ESP Easy: Hardware
- Topic: easydriver stepper driver
- Replies: 42
- Views: 33426
- 18 Mar 2021, 22:16
- Forum: ESP Easy: Hardware
- Topic: easydriver stepper driver
- Replies: 42
- Views: 33426
Re: easydriver stepper driver
Have you looked at the log via usb?
How long is that delay?
How long is that delay?
- 18 Mar 2021, 22:02
- Forum: ESP Easy: Hardware
- Topic: easydriver stepper driver
- Replies: 42
- Views: 33426
Re: easydriver stepper driver
... beween? On System#Boot do //When the ESP boots, do let,1,0 let,2,0 asyncevent,loop // Trigger the loop endon on loop do if %v1%=0 MotorShieldCMD,Stepper,1,Forward,100,single endif if %v1%=1 MotorShieldCMD,Stepper,1,Backward,100,single endif asyncevent,loop endon on OPEN#status do if %eventvalue%=1 ...
- 18 Mar 2021, 17:42
- Forum: ESP Easy: Hardware
- Topic: easydriver stepper driver
- Replies: 42
- Views: 33426
- 18 Mar 2021, 13:59
- Forum: ESP Easy: Hardware
- Topic: easydriver stepper driver
- Replies: 42
- Views: 33426
Re: easydriver stepper driver
you're right. i miread the error. sorry for such stupid question.
- 17 Mar 2021, 20:08
- Forum: ESP Easy: Hardware
- Topic: easydriver stepper driver
- Replies: 42
- Views: 33426
Re: easydriver stepper driver
Code: Select all
on OPEN#status do
if %eventstatus%=0
let 1,1
else
let 1,0
endif
endon
- 17 Mar 2021, 20:00
- Forum: ESP Easy: Hardware
- Topic: easydriver stepper driver
- Replies: 42
- Views: 33426
Re: easydriver stepper driver
... do //When the ESP boots, do looptimerset_ms,1,10 // Start loop timer 2, 10 msec interval endon On Rules#Timer=1 do if %v1%=1 MotorShieldCMD,Stepper,1,Forward,50,single endif if %v1%=0 MotorShieldCMD,Stepper,1,Backward,50,single endif endon on OPEN#status do if %eventstatus%=0 let 1,1 else ...
- 15 Mar 2021, 13:25
- Forum: ESP Easy: Hardware
- Topic: easydriver stepper driver
- Replies: 42
- Views: 33426
Re: easydriver stepper driver
A looptimer doesn't need to be restarted, nor resumed in the handler that handles the (loop) timer. And like I said before you should use a slightly longer interval. For example start first with an interval of like 100 or 500 msec to see if the rules are working. Wouldn't be surprised if this may cr...
- 15 Mar 2021, 13:20
- Forum: ESP Easy: Hardware
- Topic: easydriver stepper driver
- Replies: 42
- Views: 33426
Re: easydriver stepper driver
... On System#Boot do //When the ESP boots, do looptimerset_ms,1,1 // Start loop timer 2, 2500 msec interval endon On Rules#Timer=1 do MotorShieldCMD,Stepper,1,Forward,20,double loopTimerSet_ms,1,1 timerResume,1 endon But it stops for 1 second. The idea is to have the motor running on a loop, back ...
- 13 Mar 2021, 14:12
- Forum: ESP Easy: Hardware
- Topic: easydriver stepper driver
- Replies: 42
- Views: 33426
Re: easydriver stepper driver
i got it. will later draw it. now i will start to make it work.
- 10 Mar 2021, 21:38
- Forum: ESP Easy: Hardware
- Topic: easydriver stepper driver
- Replies: 42
- Views: 33426
Re: easydriver stepper driver
I did not develop that plugin.
- 10 Mar 2021, 17:35
- Forum: ESP Easy: Hardware
- Topic: easydriver stepper driver
- Replies: 42
- Views: 33426
Re: easydriver stepper driver
Hi, i tried to make it work, but no luck.
It worked only as a shield on the Arduino Uno board.
Can you please share the connection diagram used when it worked at development?
Thx in advance.
It worked only as a shield on the Arduino Uno board.
Can you please share the connection diagram used when it worked at development?
Thx in advance.
- 10 Mar 2021, 01:06
- Forum: ESP Easy: Software
- Topic: Stepper Motor
- Replies: 38
- Views: 71691
Re: Stepper Motor
Hello, I have been using nodeMCU for a couple of weeks now and I am able to control Leds using switches and potentiometer. I am trying to control a stepper motor with the nodeMCU (with esp8266) and openhab. Can someone help me with this? Could someone please provide the custom plugin? The 7 day ...
- 03 Mar 2021, 23:03
- Forum: ESP Easy: Hardware
- Topic: easydriver stepper driver
- Replies: 42
- Views: 33426
- 03 Mar 2021, 16:03
- Forum: ESP Easy: Hardware
- Topic: easydriver stepper driver
- Replies: 42
- Views: 33426
Re: easydriver stepper driver
thx. my motor shield shall arrive the next days,...
i'll let you know.
any other steppers plugins available?
i'll let you know.
any other steppers plugins available?
- 03 Mar 2021, 14:41
- Forum: ESP Easy: Hardware
- Topic: easydriver stepper driver
- Replies: 42
- Views: 33426
Re: easydriver stepper driver
Maybe the (recently added) loop timer can be of any help here? https://espeasy.readthedocs.io/en/latest/Rules/Rules.html?#sub-second-resolution-and-loop-timers. For performance reasons I would not try to set the loop timer to a very short interval. So maybe in the rules when handling this timer you ...