Re: PiBot Optical Reflection Endstop ![]() September 05, 2015 11:39AM |
Registered: 11 years ago Posts: 6,409 |
Re: PiBot Optical Reflection Endstop ![]() September 06, 2015 04:50AM |
Registered: 10 years ago Posts: 535 |
Re: PiBot Optical Reflection Endstop ![]() September 06, 2015 05:15AM |
Registered: 11 years ago Posts: 6,409 |
#define Z_MIN_ENDSTOP_LOGIC falseTolto pullup per z_min
Re: PiBot Optical Reflection Endstop ![]() September 06, 2015 05:23AM |
Registered: 10 years ago Posts: 535 |
Re: PiBot Optical Reflection Endstop ![]() September 06, 2015 05:52AM |
Registered: 10 years ago Posts: 860 |
Se ti da NOT TRIGGERED in entrambi i casi non lo vedeQuote
mdcompositi
< 11:20:04: : Reporting endstop status
< 11:20:04: x_min: TRIGGERED
< 11:20:04: y_min: TRIGGERED
< 11:20:04: z_min: NOT TRIGGERED
Re: PiBot Optical Reflection Endstop ![]() September 06, 2015 05:55AM |
Registered: 10 years ago Posts: 535 |
Quote
saviothecnic
Se ti da NOT TRIGGERED in entrambi i casi non lo vedeQuote
mdcompositi
< 11:20:04: : Reporting endstop status
< 11:20:04: x_min: TRIGGERED
< 11:20:04: y_min: TRIGGERED
< 11:20:04: z_min: NOT TRIGGERED
Ma hai defleggato "Pullup resistor" sul asse Z ?
Domanda dato che spero mi arrivi a giorni come va messo il Jumper su schede tipo Ramps ?
Come avete posizionato sul Carrello della R2 o della Kossel mi postate due foto ?
// coarse Endstop Settings //#define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors #ifndef ENDSTOPPULLUPS // fine endstop settings: Individual pullups. will be ignored if ENDSTOPPULLUPS is defined #define ENDSTOPPULLUP_XMAX #define ENDSTOPPULLUP_YMAX // #define ENDSTOPPULLUP_ZMAX #define ENDSTOPPULLUP_XMIN #define ENDSTOPPULLUP_YMIN // #define ENDSTOPPULLUP_ZMIN #define ENDSTOPPULLUP_ZPROBE // #define ENDSTOPPULLUP_EMIN #endif // Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup). #define X_MIN_ENDSTOP_LOGIC false // set to true to invert the logic of the endstop. #define Y_MIN_ENDSTOP_LOGIC false // set to true to invert the logic of the endstop. #define Z_MIN_ENDSTOP_LOGIC false // set to true to invert the logic of the endstop. #define E_MIN_ENDSTOP_LOGIC false // set to true to invert the logic of the endstop. #define X_MAX_ENDSTOP_LOGIC false // set to true to invert the logic of the endstop. #define Y_MAX_ENDSTOP_LOGIC false // set to true to invert the logic of the endstop. #define Z_MAX_ENDSTOP_LOGIC false // set to true to invert the logic of the endstop. #define Z_PROBE_ENDSTOP_LOGIC false // set to true to invert the logic of the endstop.
Re: PiBot Optical Reflection Endstop ![]() September 06, 2015 06:02AM |
Registered: 10 years ago Posts: 860 |
Re: PiBot Optical Reflection Endstop ![]() September 06, 2015 06:24AM |
Registered: 10 years ago Posts: 535 |
Re: PiBot Optical Reflection Endstop ![]() September 06, 2015 07:36AM |
Registered: 10 years ago Posts: 860 |
Re: PiBot Optical Reflection Endstop ![]() September 06, 2015 07:59AM |
Registered: 11 years ago Posts: 6,409 |
Re: PiBot Optical Reflection Endstop ![]() September 06, 2015 12:30PM |
Registered: 10 years ago Posts: 535 |
Re: PiBot Optical Reflection Endstop ![]() September 06, 2015 12:55PM |
Registered: 11 years ago Posts: 6,409 |
Re: PiBot Optical Reflection Endstop ![]() September 06, 2015 12:56PM |
Registered: 11 years ago Posts: 6,409 |
Re: PiBot Optical Reflection Endstop ![]() September 06, 2015 01:01PM |
Registered: 10 years ago Posts: 535 |
Re: PiBot Optical Reflection Endstop ![]() September 06, 2015 01:23PM |
Registered: 10 years ago Posts: 860 |
No se hai settato trigger verso + come default hai un usita a +5V quindi il tester devi mettereQuote
mdcompositi
ho visto col tester posizionandolo il nero su + ed il rosso sulla freccia intera (all'esterno opposto)
a led blu spento leggo 4,9V mentre a led acceso 1,15V
Re: PiBot Optical Reflection Endstop ![]() September 06, 2015 05:31PM |
Registered: 11 years ago Posts: 6,409 |
Re: PiBot Optical Reflection Endstop ![]() September 07, 2015 04:56AM |
Registered: 10 years ago Posts: 535 |
Re: PiBot Optical Reflection Endstop ![]() September 07, 2015 05:24AM |
Registered: 10 years ago Posts: 860 |
Re: PiBot Optical Reflection Endstop ![]() September 07, 2015 05:29AM |
Registered: 11 years ago Posts: 6,409 |
Re: PiBot Optical Reflection Endstop ![]() September 07, 2015 05:39AM |
Registered: 10 years ago Posts: 535 |
Quote
saviothecnic
Posti una foto di come hai collegato non mi trovo vedendo le foto ancora mi deve arrivare il sensore è in viaggio
Dovrebbe essere da desta verso sinistra avendo i led ricettori avanti positivo negativo uscita
Come hai scritto tu sembra che hai invertito i poli d'aliemntazione
Re: PiBot Optical Reflection Endstop ![]() September 07, 2015 05:41AM |
Registered: 10 years ago Posts: 535 |
il sensore capacitivo ce l'ho gia su questa macchina e mi funziona tutto bene!!Quote
MagoKimbra
Prova questo programmino... Una volta scaricato sempre da ide apri il monitor seriale e setti la porta a 9600 dovresti leggere in continuazione Valore letto = 0 o 1 a secondo se è attivo o meno....
Puoi provare anche con un altro endstop non meccanico tipo il sensore capacitivo..
Re: PiBot Optical Reflection Endstop ![]() September 07, 2015 05:56AM |
Registered: 10 years ago Posts: 860 |
Dalla foto sembra Ok verde uscita rosso hai messo +5V e Nero NegativoQuote
mdcompositi
[attachment 61632 foto117.JPG]
Re: PiBot Optical Reflection Endstop ![]() September 07, 2015 06:15AM |
Registered: 11 years ago Posts: 6,409 |
Re: PiBot Optical Reflection Endstop ![]() September 07, 2015 06:38AM |
Registered: 10 years ago Posts: 535 |
ho scaricato il programmino , dimmi se procedo bene!Quote
MagoKimbra
Non so che dirti, o è il filo o qualche altra cosa che mi sfugge, perché se leggi 0 e 3,8 basta per leggere 0 o 1 quindi attivo e disattivo, ma stat di fatto che non lo legge arduino e il FW, ecco perché volevo che provassi il programmino almeno siamo sicuri...
Re: PiBot Optical Reflection Endstop ![]() September 07, 2015 07:44AM |
Registered: 11 years ago Posts: 6,409 |
void setup() { Serial.begin(9600); pinMode(ENDSTOP, INPUT); digitalWrite(ENDSTOP, HIGH); }
Re: PiBot Optical Reflection Endstop ![]() September 07, 2015 07:53AM |
Registered: 10 years ago Posts: 535 |
Re: PiBot Optical Reflection Endstop ![]() September 07, 2015 07:55AM |
Registered: 11 years ago Posts: 6,409 |
Re: PiBot Optical Reflection Endstop ![]() September 07, 2015 07:58AM |
Registered: 10 years ago Posts: 535 |
come ti dicevo, la macchina monta GIA un sensore capacitivo e funziona una meraviglia!Quote
MagoKimbra
Ok non arriva il segnale al pin... puoi controllare con il tester cosa arriva alla fine del cavo in qualche maniera, quello che si attacca su arduino.... Puoi provare a mettere sullo stesso connettore su arduino il capacitivo e provare....
Re: PiBot Optical Reflection Endstop ![]() September 07, 2015 08:05AM |
Registered: 11 years ago Posts: 6,409 |
Re: PiBot Optical Reflection Endstop ![]() September 07, 2015 08:06AM |
Registered: 10 years ago Posts: 860 |