Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

28BYJ-48 stepper motor idle issue #24

Open
asahiGR opened this issue Aug 30, 2023 · 3 comments
Open

28BYJ-48 stepper motor idle issue #24

asahiGR opened this issue Aug 30, 2023 · 3 comments

Comments

@asahiGR
Copy link

asahiGR commented Aug 30, 2023

Hello,

when there is no action and the motor is idle, it continuously clicks and get fairly warm after a while. The led on the driver pcb rotate showing it's active but not moving. Any way to stop it if there's no input? Some addition to the code?

I am using it standalone, not with a pc. Maybe it needs an RTC module?

@fehlfarbe
Copy link
Owner

Hi!

As you mentioned before, the motor driver is turned off if there was no movement for 15s (millisDisableDelay) and there shouldn't be a difference if the focuser is connected to a PC, a power bank or 5V power supply.

If the driver LEDs are blinking the controller sends movement signal to the driver or a loose connection or some similar hardware problem creates signals? Did you connect the GND from the driver board to the GND of the nano? I just tried with my 28BYJ-48 setup and the LEDs turn off after the 15s delay - even when working with a power bank.

@asahiGR
Copy link
Author

asahiGR commented Sep 4, 2023

Hi, thanks for you feedback. The motor works good, i've installed buttons and work it in two speeds. Everything runs smooth. Only problem, it does not turn off. All wiring is correct, gnd and power supply is common with arduino power supply. I flashed it again with nanoatmega328 config, same issue (if i select default it gives some error "ignoring default configuration" or smth like that -will check later and update. I am using arduino nano clone CH340 in case it matters.

@nettylink
Copy link

Hi,
I've seen the same behavoir, when using the buttons and the potentiometer is completly open / at "full speed".
After decrasing the speed with the potentiometer a tiny bit I've not seen this issue anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants