endstop e marlin

438 views
Skip to first unread message

Paulo Junior

unread,
Dec 13, 2013, 12:48:15 PM12/13/13
to repr...@googlegroups.com
Bom dia a todos,

Achei um topico mas não a solução. Meus endstops não estão funcionando e estou utilizando o marlin.

Peguei ele no link do site reprapdiscount pois comprei um lcd grafico la.

alguem pode me dar ideia do que alterar no firm? obs: os endstops funcionam no repetier em uma gen7br

Paulo Fernandes

unread,
Dec 13, 2013, 1:31:46 PM12/13/13
to repr...@googlegroups.com
Altere no configuration.h  do Marlin o seguinte:

// The pullups are needed if you directly connect a mechanical endswitch between the signal and ground pins.
const bool X_ENDSTOPS_INVERTING = false; // set to true to invert the logic of the endstops.
const bool Y_ENDSTOPS_INVERTING = false; // set to true to invert the logic of the endstops.
const bool Z_ENDSTOPS_INVERTING = false; // set to true to invert the logic of the endstops.

Paulo Fernandes


--
Página da Lista: http://groups.google.com/group/reprapbr/about?hl=pt-BR
Versão Forum: https://groups.google.com/forum/?fromgroups#!forum/reprapbr
---
Você está recebendo esta mensagem porque se inscreveu no grupo "RepRapBR" dos Grupos do Google.
Para cancelar a inscrição neste grupo e parar de receber seus e-mails, envie um e-mail para reprapbr+u...@googlegroups.com.
Visite este grupo em http://groups.google.com/group/reprapbr.
Para obter mais opções, acesse https://groups.google.com/groups/opt_out.



--
Paulo Fernandes

Paulo Junior

unread,
Dec 13, 2013, 1:46:25 PM12/13/13
to repr...@googlegroups.com
pior q já tá

dá uma olhada


#define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors

#ifdef ENDSTOPPULLUPS
  #define ENDSTOPPULLUP_XMIN
  #define ENDSTOPPULLUP_YMIN
  #define ENDSTOPPULLUP_ZMIN
#endif

const bool X_ENDSTOPS_INVERTING = false; // set to true to invert the logic of the endstops.
const bool Y_ENDSTOPS_INVERTING = false; // set to true to invert the logic of the endstops.
const bool Z_ENDSTOPS_INVERTING = false; // set to true to invert the logic of the endstops.

#if defined(COREXY) && !defined(DISABLE_MAX_ENDSTOPS)
  #define DISABLE_MAX_ENDSTOPS
#endif

#define X_ENABLE_ON 0
#define Y_ENABLE_ON 0
#define Z_ENABLE_ON 0
#define E_ENABLE_ON 0 // For all extruders

#define DISABLE_X false
#define DISABLE_Y false
#define DISABLE_Z false
#define DISABLE_E false // For all extruders

#define INVERT_X_DIR false    // for Mendel set to false, for Orca set to true
#define INVERT_Y_DIR true    // for Mendel set to true, for Orca set to false
#define INVERT_Z_DIR false     // for Mendel set to false, for Orca set to true
#define INVERT_E0_DIR false   // for direct drive extruder v9 set to true, for geared extruder set to false
#define INVERT_E1_DIR false    // for direct drive extruder v9 set to true, for geared extruder set to false
#define INVERT_E2_DIR false   // for direct drive extruder v9 set to true, for geared extruder set to false

#define X_HOME_DIR -1
#define Y_HOME_DIR -1
#define Z_HOME_DIR -1

#define min_software_endstops true // If true, axis won't move to coordinates less than HOME_POS.
#define max_software_endstops true  // If true, axis won't move to coordinates greater than the defined lengths below.
#define X_MAX_POS 200
#define X_MIN_POS 0
#define Y_MAX_POS 200
#define Y_MIN_POS 0
#define Z_MAX_POS 185
#define Z_MIN_POS 0

#define X_MAX_LENGTH (X_MAX_POS - X_MIN_POS)
#define Y_MAX_LENGTH (Y_MAX_POS - Y_MIN_POS)
#define Z_MAX_LENGTH (Z_MAX_POS - Z_MIN_POS)

#define MANUAL_X_HOME_POS 0
#define MANUAL_Y_HOME_POS 0
#define MANUAL_Z_HOME_POS 0
#define NUM_AXIS 4 // The axis order in all axis related arrays is X, Y, Z, E
#define HOMING_FEEDRATE {50*60, 50*60, 50, 0}  // set the homing speeds (mm/min)


#define DEFAULT_AXIS_STEPS_PER_UNIT   {80,80,2000,86.6}  // default steps per unit for Maker Farm 8" i3 Prusa {80,80,4000,945}
#define DEFAULT_MAX_FEEDRATE          {500, 500, 2, 25}    // (mm/sec)
#define DEFAULT_MAX_ACCELERATION      {9000,9000,10,10000}    // X, Y, Z, E maximum start speed for accelerated moves. E default values are good for skeinforge 40+, for older versions raise them a lot.

#define DEFAULT_ACCELERATION          3000    // X, Y, Z and E max acceleration in mm/s^2 for printing moves
#define DEFAULT_RETRACT_ACCELERATION  3000

Paulo Fernandes

unread,
Dec 13, 2013, 1:55:53 PM12/13/13
to repr...@googlegroups.com
Experimenta colocar true no lugar de false e veja se vai...

 const bool X_ENDSTOPS_INVERTING = true; // set to true to invert the logic of the endstops.
const bool Y_ENDSTOPS_INVERTING = true; // set to true to invert the logic of the endstops.
const bool Z_ENDSTOPS_INVERTING = true; // set to true to invert the logic of the endstops.

Paulo Fernandes


2013/12/13 Paulo Junior <paul...@gmail.com>

Alex Borro

unread,
Dec 13, 2013, 2:10:04 PM12/13/13
to repr...@googlegroups.com
Qual placa vc definiu em Motherboard??  Pq ?


2013/12/13 Paulo Fernandes <paulocpf...@gmail.com>



--
"Não é o mais forte da espécie que sobrevive, nem o mais inteligente. É aquele que se adapta melhor as mudanças"  ( Charles Darwin )

Alex Borro

Paulo Junior

unread,
Dec 13, 2013, 2:15:55 PM12/13/13
to repr...@googlegroups.com
33

Alex Borro

unread,
Dec 13, 2013, 2:34:06 PM12/13/13
to repr...@googlegroups.com
Pq vc está usando a configuração da RAMPS para uma Gen7 ???? Nunca vai funcionar.


Em 13 de dezembro de 2013 17:15, Paulo Junior <paul...@gmail.com> escreveu:
33


--
Página da Lista: http://groups.google.com/group/reprapbr/about?hl=pt-BR
Versão Forum: https://groups.google.com/forum/?fromgroups#!forum/reprapbr
---
Você está recebendo esta mensagem porque se inscreveu no grupo "RepRapBR" dos Grupos do Google.
Para cancelar a inscrição neste grupo e parar de receber seus e-mails, envie um e-mail para reprapbr+u...@googlegroups.com.
Visite este grupo em http://groups.google.com/group/reprapbr.
Para obter mais opções, acesse https://groups.google.com/groups/opt_out.

Paulo Junior

unread,
Dec 13, 2013, 2:44:02 PM12/13/13
to repr...@googlegroups.com
Falei q os endstop ja foram testados em uma gen7br... rs...

Bruno Cabral

unread,
Dec 13, 2013, 2:54:33 PM12/13/13
to repr...@googlegroups.com
Seus endstops estao normalmente abertos ou normalmente fechados?

O que o comando M119 mostra?

!3runo

--
http://f2link.f2b.com.br/impressora3d

Alexandre Nicolai

unread,
Dec 13, 2013, 2:57:25 PM12/13/13
to repr...@googlegroups.com
Consultei minha bola de cristal e ela disse.....

É, não disse nada.

Ao menos eles são mecânicos ou óticos?

Os pinos dos sensores da gen e da ramps são diferentes.
Gen = S Gnd Vcc
Ramps = Gnd S Vcc

Anderson Godoy

unread,
Dec 15, 2013, 5:23:35 PM12/15/13
to repr...@googlegroups.com
Boa noite!

Estou tendo o mesmo problema. é como se os endstops não existissem. Eles estão desabilitados. Como faço para habilita-los?

Obrigado!


--
Página da Lista: http://groups.google.com/group/reprapbr/about?hl=pt-BR
Versão Forum: https://groups.google.com/forum/?fromgroups#!forum/reprapbr
---
Você está recebendo esta mensagem porque se inscreveu no grupo "RepRapBR" dos Grupos do Google.
Para cancelar a inscrição neste grupo e parar de receber seus e-mails, envie um e-mail para reprapbr+u...@googlegroups.com.
Visite este grupo em http://groups.google.com/group/reprapbr.
Para obter mais opções, acesse https://groups.google.com/groups/opt_out.



--
Anderson Godoy
51 85822269

Anderson Godoy

unread,
Dec 15, 2013, 5:24:13 PM12/15/13
to repr...@googlegroups.com
Os meus estão ligados no NC.

Alexandre Nicolai

unread,
Dec 15, 2013, 5:38:25 PM12/15/13
to repr...@googlegroups.com

Ligue nos pinos sinal e gnd (S e -)

Você recebeu esta mensagem porque está inscrito em um tópico do grupo "RepRapBR" dos Grupos do Google.
Para cancelar a inscrição neste tópico, acesse https://groups.google.com/d/topic/reprapbr/v5EIE55fA8Y/unsubscribe.
Para cancelar a inscrição neste grupo e todos os seus tópicos, envie um e-mail para reprapbr+u...@googlegroups.com.
Message has been deleted

Alexandre Nicolai

unread,
Dec 15, 2013, 5:53:33 PM12/15/13
to repr...@googlegroups.com
Procure esta seção no firmware e mude os 3 primeiros #define para false.

// ##########################################################################################
// ##                            Endstop configuration                                     ##
// ##########################################################################################

/* By default all endstops are pulled up to high. You need a pullup if you
use a mechanical endstop connected with gnd. Set value to false for no pullup
on this endstop.
*/
#define ENDSTOP_PULLUP_X_MIN true
#define ENDSTOP_PULLUP_Y_MIN true
#define ENDSTOP_PULLUP_Z_MIN true

Adriano Zenzen

unread,
Dec 15, 2013, 5:58:09 PM12/15/13
to repr...@googlegroups.com
Se ele usa endstops mecânicos ele precisa dos pullups.

Os defines têm que ficar como true.

Anderson Godoy

unread,
Dec 15, 2013, 6:05:48 PM12/15/13
to repr...@googlegroups.com
Deem uma olhada se é isso

// Uncomment the following line to enable CoreXY kinematics

// #define COREXY

// coarse Endstop Settings

#define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors

#ifndef ENDSTOPPULLUPS

// fine Enstop settings: Individual Pullups. will be ignored if ENDSTOPPULLUPS is defined

// #define ENDSTOPPULLUP_XMAX false

// #define ENDSTOPPULLUP_YMAX false

// #define ENDSTOPPULLUP_ZMAX false

// #define ENDSTOPPULLUP_XMIN true

// #define ENDSTOPPULLUP_YMIN true

// #define ENDSTOPPULLUP_ZMIN true

#endif

#ifdef ENDSTOPPULLUPS

#define ENDSTOPPULLUP_XMAX true

#define ENDSTOPPULLUP_YMAX true

#define ENDSTOPPULLUP_ZMAX true

#define ENDSTOPPULLUP_XMIN true

#define ENDSTOPPULLUP_YMIN true

#define ENDSTOPPULLUP_ZMIN true

#endif

// The pullups are needed if you directly connect a mechanical endswitch between the signal and ground pins.

const bool X_MIN_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.

const bool Y_MIN_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.

const bool Z_MIN_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.

const bool X_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.

const bool Y_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.

const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.

//#define DISABLE_MAX_ENDSTOPS

//#define DISABLE_MIN_ENDSTOPS

// Disable max endstops for compatibility with endstop checking routine

#if defined(COREXY) && !defined(DISABLE_MAX_ENDSTOPS)

#define DISABLE_MAX_ENDSTOPS

#endif

// For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1

#define X_ENABLE_ON 0

#define Y_ENABLE_ON 0

#define Z_ENABLE_ON 0

#define E_ENABLE_ON 0 // For all extruders

// Disables axis when it's not being used.

#define DISABLE_X false

#define DISABLE_Y false

#define DISABLE_Z false

#define DISABLE_E false // For all extruders

#define INVERT_X_DIR false // for Mendel set to false, for Orca set to true

#define INVERT_Y_DIR true // for Mendel set to true, for Orca set to false

#define INVERT_Z_DIR false // for Mendel set to false, for Orca set to true

#define INVERT_E0_DIR false // for direct drive extruder v9 set to true, for geared extruder set to false

#define INVERT_E1_DIR false // for direct drive extruder v9 set to true, for geared extruder set to false

#define INVERT_E2_DIR false // for direct drive extruder v9 set to true, for geared extruder set to false

// ENDSTOP SETTINGS:

// Sets direction of endstops when homing; 1=MAX, -1=MIN

#define X_HOME_DIR 1

#define Y_HOME_DIR -1

#define Z_HOME_DIR -1

--
Página da Lista: http://groups.google.com/group/reprapbr/about?hl=pt-BR
Versão Forum: https://groups.google.com/forum/?fromgroups#!forum/reprapbr
---
Você está recebendo esta mensagem porque se inscreveu no grupo "RepRapBR" dos Grupos do Google.
Para cancelar a inscrição neste grupo e parar de receber seus e-mails, envie um e-mail para reprapbr+u...@googlegroups.com.
Visite este grupo em http://groups.google.com/group/reprapbr.
Para obter mais opções, acesse https://groups.google.com/groups/opt_out.

Adriano Zenzen

unread,
Dec 15, 2013, 6:09:17 PM12/15/13
to repr...@googlegroups.com
Poste o que o comando M119 retorna quando os endstops estão pressionados e quando eles não estão pressionados.

Anderson Godoy

unread,
Dec 15, 2013, 6:24:17 PM12/15/13
to repr...@googlegroups.com
Pressionados ou não pressionados eles estão dando a mesma mensagem

x min: open
x max: TRIGGED
y min: open
y max: TRIGGED
z min: open
z max: open


2013/12/15 Adriano Zenzen <gele...@gmail.com>

Adriano Zenzen

unread,
Dec 15, 2013, 7:09:56 PM12/15/13
to repr...@googlegroups.com
Parece que suas chaves mecânicas estão ou NO ou estragadas.

Pelo que li das suas configs os pullups estão ligados. O único jeito de dar algum triggered seria não ter contato entre o sinal e o terra, ou seja, contato aberto.

Anderson Godoy

unread,
Dec 15, 2013, 7:42:24 PM12/15/13
to repr...@googlegroups.com
Como faço para testar os endstops, pois são novos. Eles estão ligados no COM  e no NC.

Bruno Cabral

unread,
Dec 15, 2013, 8:30:24 PM12/15/13
to repr...@googlegroups.com
voce pega um multimetro em modo continuidade, poe uma ponta num fio e a outra no outro, e aciona o botao. deve dar continuidade acionado e sem continuidade quando nao acionado.

!3runo Cabral

--
http://f2link.f2b.com.br/impressora3d




Como faço para testar os endstops, pois são novos. Eles estão ligados no COM  e no NC.


Em 15 de dezembro de 2013 22:09, Adriano Zenzen <gele...@gmail.com> escreveu:
Parece que suas chaves mecânicas estão ou NO ou estragadas.

Pelo que li das suas configs os pullups estão ligados. O único jeito de dar algum triggered seria não ter contato entre o sinal e o terra, ou seja, contato aberto.

--
Anderson Godoy

Anderson Godoy

unread,
Dec 15, 2013, 8:43:05 PM12/15/13
to repr...@googlegroups.com
Teste feito, estão funcionando normalmente. Provavelmente deve ser no firmware. Alguma boa alma tem o firmware marlin sendo usado em uma Mendel 90?


--
Página da Lista: http://groups.google.com/group/reprapbr/about?hl=pt-BR
Versão Forum: https://groups.google.com/forum/?fromgroups#!forum/reprapbr
---
Você está recebendo esta mensagem porque se inscreveu no grupo "RepRapBR" dos Grupos do Google.
Para cancelar a inscrição neste grupo e parar de receber seus e-mails, envie um e-mail para reprapbr+u...@googlegroups.com.
Visite este grupo em http://groups.google.com/group/reprapbr.
Para obter mais opções, acesse https://groups.google.com/groups/opt_out.

Valter F.C.

unread,
Dec 16, 2013, 4:23:52 AM12/16/13
to repr...@googlegroups.com
Testou o fio também?
Como está conectado na placa?
(tem conectores de positivo / negativo / sinal, um do lado do outro e o mínimo / máximo fica um do lado do outro)

Att,

Valter F.C.

Agstudio3d

unread,
Dec 16, 2013, 5:17:54 AM12/16/13
to repr...@googlegroups.com
Bingo! Eu nem vi a placa, mas tenho quase certeza que os fios estão ligados um do lado do outro, de forma errada. Assim que eu conseguir ver eu posto se funcionou.


Enviado por Samsung Mobile


-------- Mensagem original --------
Subject: Re: [RepRapBR] endstop e marlin
De: "Valter F.C." <valterfeli...@gmail.com>
Para: repr...@googlegroups.com
CC:

Valter F.C.

unread,
Dec 16, 2013, 5:32:05 AM12/16/13
to repr...@googlegroups.com

Att,

Valter F.C.

Anderson Godoy

unread,
Dec 16, 2013, 6:01:19 AM12/16/13
to repr...@googlegroups.com
Os meus estão ligados nos pinos externos, e não no do meio. Vou alterar e testar.
Obrigado!

Alex Borro

unread,
Dec 16, 2013, 6:40:20 AM12/16/13
to repr...@googlegroups.com

Anderson, veja certinho qual é positivo, negativo e sinal. Se vc ligar positivo com negativo vc vai dar um curto na sua RAMPS.

Sugiro q baixe o esquema elétrico dela e confira antes de ligar..

Abraço.

Paulo Junior

unread,
Feb 10, 2014, 12:53:28 PM2/10/14
to repr...@googlegroups.com
nao seria ao contrario?

sem estar apertado da continuidade

apertado, para a continuidade.

o meu esta ao contrario.


voltei a mexer nesta impressora agora e meus endstops parados... rs...
Reply all
Reply to author
Forward
0 new messages