Raspberry Pi powering up Ramps

New Home Forum Mostly Printed CNC – MPCNC Advice – MPCNC Raspberry Pi powering up Ramps

This topic contains 9 replies, has 4 voices, and was last updated by Profile photo of Jeffeb3 Jeffeb3 1 week, 4 days ago.

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #34753
    Profile photo of Mike Carr
    Mike Carr
    Participant

    I am connecting the Ramps board to my Raspberry pi loaded with Octoprint, The Ramps board is powering up via the USB connector. which forces me to unplug the entire system or unplug the USB cable each time. Is it possible to send GCode’s to power on/off the RAMPs board? Or is there a way to disable the board rom powering up via USB?

    #34757
    Profile photo of Jeffeb3
    Jeffeb3
    Participant

    There is gcode to enable/disable the motors, and there is gcode for resetting the 0,0,0 positions. You can set that gcode to a script in octoprint. Is there a reason why leaving it on is a problem? Otherwise, I think you could probably cut the 5V wire in your USB cable, or just put the whole thing on a power strip.

    #34761
    Profile photo of Mike Carr
    Mike Carr
    Participant

    I have everything on a powerstrip now but I would like to leave the Raspberry Pi on all the time and control the power to the CNC when needed, cutting the power to the Pi is bad for the SD Card. I believe the Mini-Rambo 1.3a has this feature, may need to upgrade.

    #34762
    Profile photo of Ryan
    Ryan
    Keymaster

    M999 resets the board

    #34763
    Profile photo of Ryan
    Ryan
    Keymaster

    To control power I am pretty sure you would need a relay. You can hardwire the reset button but not power.

    #34764
    Profile photo of Jeffeb3
    Jeffeb3
    Participant

    I am pretty sure you can cut the 5V on the USB, and power the rambo via the 12V.

    1 user thanked author for this post.
    #34772
    Profile photo of Mike Carr
    Mike Carr
    Participant

    Cutting the 5v would be the cheaper route, but I do have some relays laying around.

    • This reply was modified 3 weeks, 6 days ago by Profile photo of Mike Carr Mike Carr.
    #34811
    Profile photo of David Walling
    David Walling
    Participant
    I am pretty sure you can cut the 5V on the USB, and power the rambo via the 12V.

    This is what I would do.

    #36048
    Profile photo of Mike Carr
    Mike Carr
    Participant
    I am pretty sure you can cut the 5V on the USB, and power the rambo via the 12V.

    <span class=”et_quote_sign”></span>

    This is what I would do.

    And that is what I did as well and it works great!

    #36049
    Profile photo of Jeffeb3
    Jeffeb3
    Participant

    Did you put on a timer, and a bomb suit, and have someone on the radio tell you to “cut the blue wire… NO WAIT, the RED WIRE!”. I probably wouldn’t have, but I would tell everyone I did.

Viewing 10 posts - 1 through 10 (of 10 total)

You must be logged in to reply to this topic.