Close



Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1

    Trouble with setting up ABL on Rambo board... help!

    According to this pdf for the TowerPro SG90 servo

    http://datasheet.sparkgo.com.br/SG90Servo.pdf

    Brown is ground
    Red is positive
    orange is PWM
    in that order

    according to the 1.1b user manual
    http://reprapelectro.com/wp-content/...ser-Manual.pdf

    according to page 58

    you have to add the servo pins to pins.h with ifdef statements

    so i would assume this would be what is needed to be added

    Code:
    #ifdef NUM_SERVOS #define SERVO0_PIN 22
     #if NUM_SERVOS > 1
     #define SERVO1_PIN 23
     #endif
     #if NUM_SERVOS > 2
     #define SERVO2_PIN 24
     #endif
     #if NUM_SERVOS > 3
     #define SERVO2_PIN -1
     #endif
    #endif

    page 48-49

    using the motor ext pins MX1

    pin 22
    pin 23
    pin 24

    is needed


    and according to the drawing on page 48, you need to swap pins on the servo to be

    red power
    brown ground
    orange pwm


    so far is my logic correct?


    if it is correct here is my issue...

    nothing happens when i issue M280 P0 S40


    so... any ideas?

  2. #2
    Super Moderator Roxy's Avatar
    Join Date
    Apr 2014
    Location
    Lone Star State
    Posts
    2,182
    If you load the DACB fork of the Marlin tree... There are going to be lots of people that help you get your stuff going...

  3. #3
    Once i get it going, integrating it into the DACB fork will be easy. because i don't know that anyone else has a 12" built yet besides me and a couple others and i'm the only one i know of working on the ABL stuff.

    I fully intend on writing a few of my own bits into it as well... :-)

  4. #4
    ok, i have been looking into it a bit more... i have an idea for another area to try...

    arduino number 5

    which is PWM Ext5 on the PWM extension pins instead of the motor drivers, since the servo is pwm driven.

    It'll require 2 3-pin extensions to use... but if it works who cares :-P

    testing to follow in a couple days

  5. #5
    Technician
    Join Date
    Nov 2014
    Posts
    58
    im interested in putting the abl on mine . but i dont have any experience working with arduino . please keep us informed and if is possible after you get it working post some steps to follow .

  6. #6
    I was looking into this last weekend. My servos aren't in yet so I haven't tried anything, but this was the article I was looking at. http://forums.reprap.org/read.php?13,322762,335194. They are pointing to use using pins 1,2 and 6 on the EXT1 header which I believe is right next to the LCD adapter.

  7. #7
    Super Moderator Roxy's Avatar
    Join Date
    Apr 2014
    Location
    Lone Star State
    Posts
    2,182
    Do you have on-line documentation for the RAMBO board? Is there an easy place to buy them on-line?

  8. #8
    Manual:http://reprapelectro.com/wp-content/...ser-Manual.pdf
    Store: http://www.makerfarm.com/index.php/p...ics/rambo.html

    Our board is by ultimaker, but is v1.1b. It looks like the current version is 1.3

  9. #9
    Super Moderator Roxy's Avatar
    Join Date
    Apr 2014
    Location
    Lone Star State
    Posts
    2,182
    Quote Originally Posted by razer1141 View Post
    Manual:http://reprapelectro.com/wp-content/...ser-Manual.pdf
    Store: http://www.makerfarm.com/index.php/p...ics/rambo.html

    Our board is by ultimaker, but is v1.1b. It looks like the current version is 1.3
    I wasn't aware that MakerFarm was using a RAMBO board for their controller! OK... That looks like a decent board! Lot's of good stuff on it.

    Please allow me to make a suggestion... What I did when I got Auto Bed Leveling going on my PrintrBoard was this:

    - First, I made sure I could rebuild the stock firmware and get it loaded. I then made a few meaningless changes that I could see just to verify that I really was able to get the firmware built and loaded into the board. I had to do this anyway because I didn't have an LCD Panel. I had to set the bed dimensions and the nozzle height anyway.

    - Once I could do this, I used M42 to make sure I had found a pin I could control on my PrintrBoard. I did have trouble finding a pin... So I actually wrote some code that would scan all the pins and put a HIGH on them for 1 second and then return them to a LOW. I connected up my volt meter to a few different pins and ran the command and waited until I saw a pulse. Pretty soon I had found a suitable pin and had the information to use the built in M42 command.

    UPDATE: I just started at the beginning of this thread again and have the full context. Yes, I have a couple of ideas why you are having problems. I'm not sure about this, but it is possible you are fighting a problem with the Arduino libraries. There are two libraries in use in Marlin. There is the built in I/O library and then some Fast-I/O library. (I could have this a little bit wrong, but pretty much what I'm telling you here is correct.) There is a problem with the pin numbers not being consistent across the two libraries. And this is why I ended up writing a small piece of code to scan all the pins and pulse them. That way I could watch and see what the pin number was that the software thought it was using. If you need a small piece of code to do this to help you find a suitable pin to control your servo, let me know...

    - Once that was done, I wired up the servo to power and that pin and I used M280 to set the servo to different positions. At that point, I knew enough to start putting configuration information for my servo into the Pins.h and Configuration.h files.
    Last edited by Roxy; 12-19-2014 at 09:42 AM.

  10. #10
    Staff Engineer printbus's Avatar
    Join Date
    May 2014
    Location
    Highlands Ranch, Colorado USA
    Posts
    1,437
    Add printbus on Thingiverse
    Roxy, just to clarify - MakerFarm is using RAMBO on their new 12-inch printer, but still uses RAMPS on the 8-inch and 10-inch.

    EDIT: And FYI, the 12-inch printer also has a graphics display on it instead of the 20x4 character display.
    Last edited by printbus; 01-01-2015 at 05:21 PM.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •