Ramps 1.4 can be used on Arduino Mega (repetier/marlin) and Re-ARM for ramps boards (smoothieware/marlin)

step1

Board pins voltage 5v
Board firmware Marlin
Board configuration note None, it use same serial as USB port so don't use both together
ESP3D configuration note Raw serial, no SD