Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
stepper motor workaround help
#1
I have a pi pico microcontroller hooked up to a DRV8825 driving a 24v stepper peristaltic pump.  The pico is running on a continuous loop using the accelstepper library.  The DRV8825 has a SLEEP pin (pulled down internally) which turns on the motor when HIGH.  I was wondering if I could use reef-pi dosing feature to schedule a HIGH signal on the SLEEP pin for a duration and if there is any potential issues with this? I tested with a push button and it worked but I'm not very familiar with the DRV8825 or steppers in general.

I know I probably could do scheduled dosing with just the pi pico and an RTC but that's more code than I can handle :).
Reply to top
#2
Hi, yeah it sounds like this will work, as you only need a low current HIGH state you can use any one of the LED ports, set it to 0-5v so it's 5v when active. Then in reef-pi move the LED connector from "Jacks" and move to "outlets" connector. After you do this go to Admin tab and press the "reload" button.

Then you can add it to the equipment tab and schedule it to run for X number of seconds you need it HIGH.
Reply to top


Possibly Related Threads…
Thread Author Replies Views Last Post
  Dosing pump with stepper motor mytdbm 1 598 12-29-2023, 10:38 PM
Last Post: Rob F
  Ato help adammac1 30 12,490 10-22-2022, 08:33 AM
Last Post: adammac1
  optical sensor help jsweir 17 10,448 12-23-2020, 06:10 PM
Last Post: Rob F

Forum Jump:

Current time: 05-04-2024, 01:41 PM