Using RepRap kit from Amazon (ramps 1.6) LCD display

Home Forum Makelangelo Polargraph Art Robot Using RepRap kit from Amazon (ramps 1.6) LCD display

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #22089
    Avatarrodgerholl
    Participant

    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 .

    #22097
    Avatarrodgerholl
    Participant

    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.

    #22103
    DanDan
    Keymaster

    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?

    #22131
    DanDan
    Keymaster

    @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!

    #22153
    Avatar.marginallyclever
    Participant

    @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?

    #22157
    DanDan
    Keymaster

    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)

    #22220
    Avatarrodgerholl
    Participant

    I seem to have all the main parts working. have not messed with the SD card yet.

    Used it during our annual county fair STEM presentations and it was an attention getter.

    https://collierfair.com/steam

    #22222
    DanDan
    Keymaster

    Nice work!

    #25625
    AvatarHattyCurll
    Participant

    Hi…we are running this setup on our nearly gutted and rebuilt Cubex Duo and we have been unable to flash Marlin successfully. The power works to the Mega and the Ramps 1.6. The LCD lights up and when we upload Marlin, it says it compiles just fine. However, we get nothing that is obvious. Several red LEDs are lite on the board now, not sure what any of it means. The same Marlin setup is on our FT5-R2 and we just flashed it last night to be sure it worked in the current configuration… Gold! it seems to be not working with the Ramps 1.6. thoughts?

    #27464
    DanDan
    Keymaster

    No, no idea.

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.