• Avatar
    rodgerholl
    March 9, 2019 at 11:46 #22089

    I have been tinkering with the makelangelo settings to get a RepRap Ramps 1.6 kit to work.
    after replacing the 5 amp fuse on the ramps board,
    Found this to get the display to work and thought I would share.

    in configure.h. I have
    #define MOTHERBOARD BOARD_RAMPS
    and
    #define LCD_IS_128X64 // reprapdiscount Full Graphic Smart LCD Controller

    However, I needed to change the pin numbers in board_ramps.h

    #ifdef LCD_IS_128X64
    // 128×64 full graphics controller
    #define BEEPER 44
    #define LCD_PINS_RS 16
    #define LCD_PINS_ENABLE 17
    #define LCD_PINS_D4 23

    //#define LCD_PINS_RS 19
    //#define LCD_PINS_ENABLE 42
    //#define LCD_PINS_D4 18
    #define LCD_PINS_D5 38
    #define LCD_PINS_D6 41
    #define LCD_PINS_D7 40

    // Encoder rotation values
    #define BTN_EN1 31
    #define BTN_EN2 33
    #define BTN_ENC 35

    // SD card settings
    #define SDPOWER 31
    #define SDSS 33
    #define SDCARDDETECT 35

    #define KILL_PIN 41
    #endif

    Not sure if the other pins will change as well.
    Thought I would share.
    Not an expert, just happened to stumble across this so I thought I would share.

    Next step. why the motors seem to slip poles. Cheap nema 17’s .

    Avatar
    rodgerholl
    March 10, 2019 at 09:12 #22097

    Just using this as a place to put notes about what I find as I go. in case someone else is trying to use the reprap ramps 1.6 kit.
    https://www.amazon.com/gp/product/B07M6Z6DWC/ref=ppx_yo_dt_b_asin_title_o00_s00?ie=UTF8&psc=1

    Make sure and adjust the current limiter on the 8825 drivers.
    I used these 2 resources to help
    https://forum.arduino.cc/index.php?topic=415724.0
    https://www.youtube.com/watch?v=YJSmrbeZUp4 (i have a millright CNC)

    based on my motors Nema 17 OK42STH34-1504AC , they take 1.5amps, so I adjusted the voltage on the current limiter to .75 volts (or as close as i could).

    Results. steppers are much quieter and are not jumping / locking like there were when the current limiter was set to default (~1.6 volts)

    The LCD screen works, the encoder and push button work. I am not sure it is displaying the correct prompts. ie, when i tell it to start i have to click the encoder knob 2 or 3 times to get it to start, but the screen does not change. I just see the prompt to change the pen in the serial monitor and push the encoder knob.

    Dan
    Dan
    March 10, 2019 at 11:50 #22103

    I also think there are issues with the current LCD code. I find it quite hard to navigate between menu items, the response time on twisting the dial is bad and sometimes the cursor goes the wrong direction because of the low sample rate. Maybe an interrupt on the encoder pin would work better?

    Dan
    Dan
    March 13, 2019 at 10:21 #22131

    @rodgerholl – what do you think is the best way to organize these pin settings?

    it’s not really per-board, and it’s not really per-lcd. it’s a matrix that grows and grows!

    Avatar
    .marginallyclever
    March 17, 2019 at 08:22 #22153

    @dan It’s not growing so much. The RepRap Graphic Smart Display Controller Board (https://www.amazon.co.uk/Redrex-Graphic-Display-Controller-Printer/dp/B01LO20XGS/ref=sr_1_4?ie=UTF8&qid=1552836185&sr=8-4&keywords=reprap+display) is in millions 3D-Printer and it is the cheapest and greatest display. China produces this display 20 millions a year for makers, 3d-printers, cnc-machines.

    Is it possible that you copy code from marlin-firmware?

    • This reply was modified 2 days, 20 hours ago by Avatar .marginallyclever. Reason: added Link
    Dan
    Dan
    March 17, 2019 at 16:11 #22157

    The reprap graphic smart controller is already supported.

    Configure.h :

    // only uncomment one of these options
    //#define LCD_IS_128X64 // reprapdiscount Full Graphic Smart LCD Controller
    #define LCD_IS_SMART // reprapdiscount Smart LCD Controller (including XXL model)

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

You must be logged in to reply to this topic.

0
Save & Share Cart
Your Shopping Cart will be saved and you'll be given a link. You, or anyone with the link, can use it to retrieve your Cart at any time.
Back Save & Share Cart
Your Shopping Cart will be saved with Product pictures and information, and Cart Totals. Then send it to yourself, or a friend, with a link to retrieve it at any time.
Your cart email sent successfully :)