User Activity

  • Posted a comment on discussion General Discussion on Arduino ASCOM Focuser Pro2 DIY

    Thanks for the pointers along the way @pyb :) you definitely helped me narrow it down.

  • Modified a comment on discussion General Discussion on Arduino ASCOM Focuser Pro2 DIY

    @brownrb I found a bug in myBoards.cpp... //----------------------------------------------------------------------- // SET MOTOR POWER // turn coil power on, turn coil power off //----------------------------------------------------------------------- void DriverBoard::set_motorpower(byte state) { if (state == true) { // power on digitalWrite(DRV8825ENABLE, HIGH); delay(1); // need to wait 1ms before driver chip is ready for stepping } else { // power off digitalWrite(DRV8825ENABLE, HIGH); } } The...

  • Modified a comment on discussion General Discussion on Arduino ASCOM Focuser Pro2 DIY

    I found a bug in myBoards.cpp... //----------------------------------------------------------------------- // SET MOTOR POWER // turn coil power on, turn coil power off //----------------------------------------------------------------------- void DriverBoard::set_motorpower(byte state) { if (state == true) { // power on digitalWrite(DRV8825ENABLE, HIGH); delay(1); // need to wait 1ms before driver chip is ready for stepping } else { // power off digitalWrite(DRV8825ENABLE, HIGH); } } The power on...

  • Posted a comment on discussion General Discussion on Arduino ASCOM Focuser Pro2 DIY

    This doesn't look right... //----------------------------------------------------------------------- // SET MOTOR POWER // turn coil power on, turn coil power off //----------------------------------------------------------------------- void DriverBoard::set_motorpower(byte state) { if (state == true) { // power on digitalWrite(DRV8825ENABLE, HIGH); delay(1); // need to wait 1ms before driver chip is ready for stepping } else { // power off digitalWrite(DRV8825ENABLE, HIGH); } } The DRV8825 uses...

  • Modified a comment on discussion General Discussion on Arduino ASCOM Focuser Pro2 DIY

    I have 0V across the pins of my coils (and changing between coil power off and coil power on doesn't alter it). I can measure 12V across pins 15 and 16 of the DRV8825, but nothing across the coil pins. I just remembered there is a test program, so I compiled and ran that and it successfully rotates the stepper motor. At least it rules out a hardware issue, so there's definitely something up with the config I guess. This is the user-editable part of my config.h: //-----------------------------------------------------------------------...

  • Posted a comment on discussion General Discussion on Arduino ASCOM Focuser Pro2 DIY

    I have 0V across the pins of my coils (and changing between coil power off and coil power on doesn't alter it). I can measure 12V across pins 15 and 16 of the DRV8825, but nothing across the coil pins.

  • Posted a comment on discussion General Discussion on Arduino ASCOM Focuser Pro2 DIY

    No - I can't really rotate it manually anyway, as I'm using the recommended stepper with a pretty hefty gearing ratio in the gearbox. But when you say judge if current is present in the coils, do you mean there should always be a voltage across the coils even when they aren't moving? I could check that with a voltmeter across the relevant pins on the DRV8825 board. (I don't have an oscilloscope, so it's harder for me to check voltages during movement as I assume the pulses are pretty short and won't...

  • Posted a comment on discussion General Discussion on Arduino ASCOM Focuser Pro2 DIY

    Thanks - yes, coil power is enabled in the INDI config. The oled display also says CPwr = 1 which I assume is coil power.

View All

Personal Data

Username:
ajekb78
Joined:
2022-02-07 15:06:40.311000

Projects

  • No projects to display.

Personal Tools

MongoDB Logo MongoDB
Gen AI apps are built with MongoDB Atlas
Atlas offers built-in vector search and global availability across 125+ regions. Start building AI apps faster, all in one place.