RAMPS 1.4 setup

Troubleshooting talk for software

RAMPS 1.4 setup

Postby killbox » 2014-Dec-Fri-18-Dec

i'm encountering some problems setting up my RAMPS 1.4 board

I am using this http://www.ebay.com/itm/251544805972

and i want to set up the display, i've turned on DOGLCD in the configuration.f but in configurationStore.cpp is giving me a "lcd_contrast was not declarde in this scope. and i'm not sure what that means
  • 0

Redesigned JonBot printed in XT and reinforced with MDF over structure
Ramps 1.4
LCD
E3D V6
8x8 Hotbed
smoothieboard
*Coming soon* Rocking duel exturders
killbox
Layer 300 of 1234
 
Posts: 343
Joined: 2014-Jan-Thu-17-Jan
Location: Westen Canada
Reputation: 14

RAMPS 1.4 setup

Sponsor

Sponsor
 

Re: RAMPS 1.4 setup

Postby evanalmighty » 2014-Dec-Sat-21-Dec

It should be the smartlcd not doglcd
  • 0

User avatar
evanalmighty
Layer 650 of 1234
 
Posts: 689
Joined: 2014-Feb-Mon-15-Feb
Location: Irvine, CA
Reputation: 45

Re: RAMPS 1.4 setup

Postby killbox » 2014-Dec-Sat-22-Dec

i only see Ultra_lcd which is 16x2 and DOGlcd which is 128x64 and Ultipanel. where whould smartlcd be?

also i tried to bypass that but then encountered this error

Marlin_main.cpp: In function 'float probe_pt(float, float, float)':
Marlin_main.cpp:1130: error: 'X_PROBE_OFFSET_FROM_EXTRUDER' was not declared in this scope
Marlin_main.cpp:1130: error: 'Y_PROBE_OFFSET_FROM_EXTRUDER' was not declared in this scope
Marlin_main.cpp: In function 'void process_commands()':
Marlin_main.cpp:1568: error: 'X_PROBE_OFFSET_FROM_EXTRUDER' was not declared in this scope
Marlin_main.cpp:1569: error: 'Y_PROBE_OFFSET_FROM_EXTRUDER' was not declared in this scope
Marlin_main.cpp:1585: error: 'X_PROBE_OFFSET_FROM_EXTRUDER' was not declared in this scope
Marlin_main.cpp:1587: error: 'Y_PROBE_OFFSET_FROM_EXTRUDER' was not declared in this scope
Marlin_main.cpp:1778: error: 'X_PROBE_OFFSET_FROM_EXTRUDER' was not declared in this scope
Marlin_main.cpp:1779: error: 'Y_PROBE_OFFSET_FROM_EXTRUDER' was not declared in this scope
Marlin_main.cpp:2135: error: 'X_PROBE_OFFSET_FROM_EXTRUDER' was not declared in this scope
Marlin_main.cpp:2143: error: 'Y_PROBE_OFFSET_FROM_EXTRUDER' was not declared in this scope

this is from the marlin_main.cpp and i'm not quite sure why it's a problem.
  • 0

Redesigned JonBot printed in XT and reinforced with MDF over structure
Ramps 1.4
LCD
E3D V6
8x8 Hotbed
smoothieboard
*Coming soon* Rocking duel exturders
killbox
Layer 300 of 1234
 
Posts: 343
Joined: 2014-Jan-Thu-17-Jan
Location: Westen Canada
Reputation: 14

Re: RAMPS 1.4 setup

Postby thawkins » 2014-Dec-Sun-03-Dec

killbox wrote:i only see Ultra_lcd which is 16x2 and DOGlcd which is 128x64 and Ultipanel. where whould smartlcd be?

also i tried to bypass that but then encountered this error

Marlin_main.cpp: In function 'float probe_pt(float, float, float)':
Marlin_main.cpp:1130: error: 'X_PROBE_OFFSET_FROM_EXTRUDER' was not declared in this scope
Marlin_main.cpp:1130: error: 'Y_PROBE_OFFSET_FROM_EXTRUDER' was not declared in this scope
Marlin_main.cpp: In function 'void process_commands()':
Marlin_main.cpp:1568: error: 'X_PROBE_OFFSET_FROM_EXTRUDER' was not declared in this scope
Marlin_main.cpp:1569: error: 'Y_PROBE_OFFSET_FROM_EXTRUDER' was not declared in this scope
Marlin_main.cpp:1585: error: 'X_PROBE_OFFSET_FROM_EXTRUDER' was not declared in this scope
Marlin_main.cpp:1587: error: 'Y_PROBE_OFFSET_FROM_EXTRUDER' was not declared in this scope
Marlin_main.cpp:1778: error: 'X_PROBE_OFFSET_FROM_EXTRUDER' was not declared in this scope
Marlin_main.cpp:1779: error: 'Y_PROBE_OFFSET_FROM_EXTRUDER' was not declared in this scope
Marlin_main.cpp:2135: error: 'X_PROBE_OFFSET_FROM_EXTRUDER' was not declared in this scope
Marlin_main.cpp:2143: error: 'Y_PROBE_OFFSET_FROM_EXTRUDER' was not declared in this scope

this is from the marlin_main.cpp and i'm not quite sure why it's a problem.


Its not a DOGLCD

#define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER

Its a generic reference design they made. From the photo thats what you appear to have.

The ebay description at the very end has this telling line in the additional information

"RepRapDiscount Full Graphic Smart Controller Schematics"

Note you will have to download and install the graphics library as detailed in the config file

// ==> REMEMBER TO INSTALL U8glib to your ARDUINO library folder: http://code.google.com/p/u8glib/wiki/u8glib
  • 0

Jonbot+
225mm x 200mm - Heated Bed
RAMPS 1.4 running Marlin 1.1.0
Full Graphic display.
-------------------------------
Zen Toolworks CNC/3d printer
230mmx360mm bed
Dual j-head hotends.
Dual heated beds.
RAMPS 1.4 running Marlin 0.98
-------------------------------
Flashforge 3d Creator Pro
Dual Extruder
220x143x150mm
Mightyboard rev e, runnimg Sailfish 7.7r1234
-------------------------------
Photon, self designed printed printer.
User avatar
thawkins
Print winner 2nd
Print winner 2nd
 
Posts: 1636
Joined: 2013-Aug-Sun-10-Aug
Location: Manila, Philippines
Reputation: 172

Re: RAMPS 1.4 setup

Postby Munson » 2014-Dec-Sun-05-Dec

My lcd has been sitting in a box for some months now(only glows and shows faded blocks where the characters should go,just bought another one and the same thing.What is U8glib?
Also (this one is for thawkins)how did you add the multipoint leveling to your config .h???
  • 0

Munson
Honeycomb infill 25%...
 
Posts: 291
Joined: 2014-Feb-Wed-12-Feb
Reputation: 5

Re: RAMPS 1.4 setup

Postby thawkins » 2014-Dec-Sun-05-Dec

Munson wrote:My lcd has been sitting in a box for some months now(only glows and shows faded blocks where the characters should go,just bought another one and the same thing.What is U8glib?
Also (this one is for thawkins)how did you add the multipoint leveling to your config .h???


That display is non graphic you probaly need to add

#define RREPRAP_DISCOUNT_SMART_CONTROLLER

Note the lack of the FULLGRAPHIC

U8glib is only needed for graphical displays if you can see blocks where the characters should be then you have a text mode display, probaly a 4x20 one.

I will look up the defines i used for the multipoint leveling tonight when i get home, im on my tablet at the moment.
  • 1

Jonbot+
225mm x 200mm - Heated Bed
RAMPS 1.4 running Marlin 1.1.0
Full Graphic display.
-------------------------------
Zen Toolworks CNC/3d printer
230mmx360mm bed
Dual j-head hotends.
Dual heated beds.
RAMPS 1.4 running Marlin 0.98
-------------------------------
Flashforge 3d Creator Pro
Dual Extruder
220x143x150mm
Mightyboard rev e, runnimg Sailfish 7.7r1234
-------------------------------
Photon, self designed printed printer.
User avatar
thawkins
Print winner 2nd
Print winner 2nd
 
Posts: 1636
Joined: 2013-Aug-Sun-10-Aug
Location: Manila, Philippines
Reputation: 172

Re: RAMPS 1.4 setup

Postby Munson » 2014-Dec-Sun-08-Dec

I changed my settings accordingly to what you explained and used your config.h files and still came up short.I must have missed something you included.I also went to the reprap site and read up on the lcd and they suggested going into pins.h and I was denied access.Thanks to you Thawkins and this video I am up and running.WOW!!Thank you.http://youtu.be/KsIFGKBaD3U all I need to do is the bed leveling.
  • 0

Munson
Honeycomb infill 25%...
 
Posts: 291
Joined: 2014-Feb-Wed-12-Feb
Reputation: 5

Re: RAMPS 1.4 setup

Postby thawkins » 2014-Dec-Sun-11-Dec

Munson wrote:I changed my settings accordingly to what you explained and used your config.h files and still came up short.I must have missed something you included.I also went to the reprap site and read up on the lcd and they suggested going into pins.h and I was denied access.Thanks to you Thawkins and this video I am up and running.WOW!!Thank you.http://youtu.be/KsIFGKBaD3U all I need to do is the bed leveling.


1 . OK, first thing you need - Find this line
//#define ENABLE_AUTO_BED_LEVELING // Delete the comment to enable (remove // at the start of the line)

and uncomment it to enable auto leveling

2. A little further down you will find, make sure that AUTO_BED_LEVELING_GRID is uncommented, then set the margins for your bed, ie describe a square on your bed where the probe and the nozzle can fit. setup the LEFT,RIGHT,BACK and FRONT positions acciordingly

#define AUTO_BED_LEVELING_GRID
// with AUTO_BED_LEVELING_GRID, the bed is sampled in a
// AUTO_BED_LEVELING_GRID_POINTSxAUTO_BED_LEVELING_GRID_POINTS grid
// and least squares solution is calculated
// Note: this feature occupies 10'206 byte
#ifdef AUTO_BED_LEVELING_GRID

// set the rectangle in which to probe
#define LEFT_PROBE_BED_POSITION 15
#define RIGHT_PROBE_BED_POSITION 170
#define BACK_PROBE_BED_POSITION 180
#define FRONT_PROBE_BED_POSITION 20

// set the number of grid points per dimension
// I wouldn't see a reason to go above 3 (=9 probing points on the bed)
#define AUTO_BED_LEVELING_GRID_POINTS 2

3. Then setup the entry AUTO_BED_LEVELING_GRID_POINTS, 2 is 4 points , 3 is nine points, 4 is 16 points

// set the number of grid points per dimension
// I wouldn't see a reason to go above 3 (=9 probing points on the bed)
#define AUTO_BED_LEVELING_GRID_POINTS 2

4. Make sure your probe displacement is setup you need to describe the displacement from the hot end to the probe. in this example my probe is at the same level on the Y, but is 25mm to the left of the nozzle (X), and the tip of the nozzle is 2.5 mm above the point at which the probe triggers.

// these are the offsets to the probe relative to the extruder tip (Hotend - Probe)
#define X_PROBE_OFFSET_FROM_EXTRUDER -25
#define Y_PROBE_OFFSET_FROM_EXTRUDER 0
#define Z_PROBE_OFFSET_FROM_EXTRUDER 2.5

That should do it, get those setup and it should work.

First test you should do is make sure that if you issue a G28 command only it moves to the center of the bed, and probes down to find the bed and then stops, once there, issuing a G1 Z0 command should move the nozzle down until it touches the bed. until you can get that to work don't try anything else, as you risk banging your nozzle into the bed multiple times.

you may have to edit this line below and recompile a few times until the nozzle just kisses the bed.

#define Z_PROBE_OFFSET_FROM_EXTRUDER 2.5
  • 1

Jonbot+
225mm x 200mm - Heated Bed
RAMPS 1.4 running Marlin 1.1.0
Full Graphic display.
-------------------------------
Zen Toolworks CNC/3d printer
230mmx360mm bed
Dual j-head hotends.
Dual heated beds.
RAMPS 1.4 running Marlin 0.98
-------------------------------
Flashforge 3d Creator Pro
Dual Extruder
220x143x150mm
Mightyboard rev e, runnimg Sailfish 7.7r1234
-------------------------------
Photon, self designed printed printer.
User avatar
thawkins
Print winner 2nd
Print winner 2nd
 
Posts: 1636
Joined: 2013-Aug-Sun-10-Aug
Location: Manila, Philippines
Reputation: 172

Re: RAMPS 1.4 setup

Postby killbox » 2014-Dec-Sun-12-Dec

haven't hooked up any hardware yet but i've figured out the firmware problems. the probe problems i had were because i commented out the offset lines since i don't use a x and y offset from my probe. one they were set to zero all was well
i also imported that library and the screen works great now thanks
  • 0

Redesigned JonBot printed in XT and reinforced with MDF over structure
Ramps 1.4
LCD
E3D V6
8x8 Hotbed
smoothieboard
*Coming soon* Rocking duel exturders
killbox
Layer 300 of 1234
 
Posts: 343
Joined: 2014-Jan-Thu-17-Jan
Location: Westen Canada
Reputation: 14

Re: RAMPS 1.4 setup

Postby Munson » 2014-Dec-Sun-14-Dec

Thawkins,that's the thing in scratching my head with,I have the latest version of marlin and in config.h there is no lines for auto bed leveling.Can I just type it in to add it?I have noticed that you have more lines in your config.h than I do and all do not match up.If you added lines then how?
  • 0

Munson
Honeycomb infill 25%...
 
Posts: 291
Joined: 2014-Feb-Wed-12-Feb
Reputation: 5

Re: RAMPS 1.4 setup

Postby thawkins » 2014-Dec-Sun-20-Dec

Munson wrote:Thawkins,that's the thing in scratching my head with,I have the latest version of marlin and in config.h there is no lines for auto bed leveling.Can I just type it in to add it?I have noticed that you have more lines in your config.h than I do and all do not match up.If you added lines then how?


If you dont have thosd lines there, then you are not using a version of Marlin I Know about.

"Real" MARLIN comes from

https://github.com/ErikZalm/Marlin

Anything else has been hacked by somebody.
  • 0

Jonbot+
225mm x 200mm - Heated Bed
RAMPS 1.4 running Marlin 1.1.0
Full Graphic display.
-------------------------------
Zen Toolworks CNC/3d printer
230mmx360mm bed
Dual j-head hotends.
Dual heated beds.
RAMPS 1.4 running Marlin 0.98
-------------------------------
Flashforge 3d Creator Pro
Dual Extruder
220x143x150mm
Mightyboard rev e, runnimg Sailfish 7.7r1234
-------------------------------
Photon, self designed printed printer.
User avatar
thawkins
Print winner 2nd
Print winner 2nd
 
Posts: 1636
Joined: 2013-Aug-Sun-10-Aug
Location: Manila, Philippines
Reputation: 172


Return to Troubleshooting talk

Who is online

Users browsing this forum: No registered users and 1 guest

cron