Welcome! Log In Create A New Profile

Advanced

help per lcd

Posted by giggi 
help per lcd
December 11, 2013 05:23AM
Salve a tutti, è la mia prima richiesta di aiuto al gruppo anche se già in pm due di voi mi hanno aiutato. Sto ultimando una prusa i2 con megatronics v2, firmware marlin, display lcd e keypad.
Il display è un displaytech 204B e il keypad è questo qui. Collegando tutto nel modo corretto, l'unico risultato che ottengo all'accenzione della scheda è un iniziale lampeggio della prima e terza riga del display con dei quadratini che poi lasciano il posto ad lampeggio della retroilluminazione del display senza nessuna scritta e i led della megatronics di rx e tx che lampeggiano .
Ho provato a googlare un pò ma senza risultato.
Questa la parte del Configuration.h che riguarda l'Lcd:

//LCD and SD support
//#define ULTRA_LCD //general lcd support, also 16x2
//#define DOGLCD // Support for SPI LCD 128x64 (Controller ST7565R graphic Display Family)
//#define SDSUPPORT // Enable SD Card Support in Hardware Console

#define ULTIMAKERCONTROLLER //as available from the ultimaker online store.
//#define ULTIPANEL //the ultipanel as on thingiverse

// The RepRapDiscount Smart Controller (white PCcool smiley
// [reprap.org]
//#define REPRAP_DISCOUNT_SMART_CONTROLLER

// The GADGETS3D G3D LCD/SD Controller (blue PCcool smiley
// [reprap.org]
//#define G3D_PANEL

//automatic expansion
#if defined(ULTIMAKERCONTROLLER) || defined(REPRAP_DISCOUNT_SMART_CONTROLLER) || defined(G3D_PANEL)
#define ULTIPANEL
#define NEWPANEL
#endif

// Preheat Constants
#define PLA_PREHEAT_HOTEND_TEMP 180
#define PLA_PREHEAT_HPB_TEMP 70
#define PLA_PREHEAT_FAN_SPEED 255 // Insert Value between 0 and 255

#define ABS_PREHEAT_HOTEND_TEMP 240
#define ABS_PREHEAT_HPB_TEMP 100
#define ABS_PREHEAT_FAN_SPEED 255 // Insert Value between 0 and 255


#ifdef ULTIPANEL
// #define NEWPANEL //enable this if you have a click-encoder panel
#define SDSUPPORT
#define ULTRA_LCD
#ifdef DOGLCD // Change number of lines to match the DOG graphic display
#define LCD_WIDTH 20
#define LCD_HEIGHT 5
#else
#define LCD_WIDTH 20
#define LCD_HEIGHT 4
#endif
#else //no panel but just lcd
#ifdef ULTRA_LCD
#ifdef DOGLCD // Change number of lines to match the 128x64 graphics display
#define LCD_WIDTH 20
#define LCD_HEIGHT 5
#else
#define LCD_WIDTH 16
#define LCD_HEIGHT 2
#endif
#endif
#endif


A qualcuno d voi viene in mente nulla?

nulla nulla? eye rolling smiley
ps grazie e complimenti a tutti perchè leggendo i vostri post ho risolto parecchi (non tutti winking smiley ) problemi.

Edited 1 time(s). Last edit at 12/12/2013 07:40AM by giggi.
Re: help per lcd
December 12, 2013 07:27AM
Quote
giggi
Salve a tutti, è la mia prima richiesta di aiuto al gruppo anche se già in pm due di voi mi hanno aiutato. Sto ultimando una prusa i2 con megatronics v2, firmware marlin, display lcd e keypad.
Il display è un displaytech 204B e il keypad è questo qui. Collegando tutto nel modo corretto, l'unico risultato che ottengo all'accenzione della scheda è un iniziale lampeggio della prima e terza riga del display con dei quadratini che poi lasciano il posto ad lampeggio della retroilluminazione del display senza nessuna scritta e i led della megatronics di rx e tx che lampeggiano .
Ho provato a googlare un pò ma senza risultato.
Questa la parte del Configuration.h che riguarda l'Lcd:

//LCD and SD support
//#define ULTRA_LCD //general lcd support, also 16x2
//#define DOGLCD // Support for SPI LCD 128x64 (Controller ST7565R graphic Display Family)
//#define SDSUPPORT // Enable SD Card Support in Hardware Console

#define ULTIMAKERCONTROLLER //as available from the ultimaker online store.
//#define ULTIPANEL //the ultipanel as on thingiverse

// The RepRapDiscount Smart Controller (white PCcool smiley
// [reprap.org]
//#define REPRAP_DISCOUNT_SMART_CONTROLLER

// The GADGETS3D G3D LCD/SD Controller (blue PCcool smiley
// [reprap.org]
//#define G3D_PANEL

//automatic expansion
#if defined(ULTIMAKERCONTROLLER) || defined(REPRAP_DISCOUNT_SMART_CONTROLLER) || defined(G3D_PANEL)
#define ULTIPANEL
#define NEWPANEL
#endif

// Preheat Constants
#define PLA_PREHEAT_HOTEND_TEMP 180
#define PLA_PREHEAT_HPB_TEMP 70
#define PLA_PREHEAT_FAN_SPEED 255 // Insert Value between 0 and 255

#define ABS_PREHEAT_HOTEND_TEMP 240
#define ABS_PREHEAT_HPB_TEMP 100
#define ABS_PREHEAT_FAN_SPEED 255 // Insert Value between 0 and 255


#ifdef ULTIPANEL
// #define NEWPANEL //enable this if you have a click-encoder panel
#define SDSUPPORT
#define ULTRA_LCD
#ifdef DOGLCD // Change number of lines to match the DOG graphic display
#define LCD_WIDTH 20
#define LCD_HEIGHT 5
#else
#define LCD_WIDTH 20
#define LCD_HEIGHT 4
#endif
#else //no panel but just lcd
#ifdef ULTRA_LCD
#ifdef DOGLCD // Change number of lines to match the 128x64 graphics display
#define LCD_WIDTH 20
#define LCD_HEIGHT 5
#else
#define LCD_WIDTH 16
#define LCD_HEIGHT 2
#endif
#endif
#endif


A qualcuno d voi viene in mente nulla?
ps grazie e complimenti a tutti perchè leggendo i vostri post ho risolto parecchi (non tutti winking smiley ) problemi.
Re: help per lcd
December 12, 2013 07:42AM
neanche un consiglietto? smiling bouncing smiley
Re: help per lcd
December 12, 2013 09:06AM
Giusto per darti uno spunto, perchè non ho mai collegato display...alimentazione insufficente?
Altra cosa, mi sembra tu abbia attivo l' ultimakercontroller: sei sicuro sia quello giusto, perchè il resto è disattivato.
non mi viene in mente altro...
Re: help per lcd
December 12, 2013 09:18AM
ciao e grazie ... per lo spunto ... smiling smiley
perchè pensi all'alimentazione isufficente?
ehm....non lo sò se è l'ultimakercontroller ... è che non sò proprio qual'è di quelli indicati nel firmware ....
Re: help per lcd
December 12, 2013 09:35AM
Di solito se non si accende niente la prima cosa che quardo è l'alimentazione...in più se poi lampeggia il display direi che è facile che sia quella perchè tutti gli utilizzatori hanno uno picco in partenza e se non c'è abbastanza corrente si spengono e continuano questo ciclo accensione/spegnimento.
Per il resto non posso proprio aiutarti, non so che display hai comprato e in più non li conosco. Prova cmq a postare una foto magari qualcuno lo conosce.

Edited 1 time(s). Last edit at 12/12/2013 09:36AM by Nicola P.
Re: help per lcd
December 12, 2013 09:51AM
hai ragione ... ecco l'immagine ...
Attachments:
open | download - disp204b.jpg (14 KB)
Re: help per lcd
December 12, 2013 09:53AM
Come ti dicevo mi dice poco...vediamo se qualcuno ci viene in soccorso.
Re: help per lcd
December 12, 2013 09:59AM
nel primo post ho messo il link del datasheet ... magari a qualcuno è utile ... smiling smiley
Re: help per lcd
December 12, 2013 01:46PM
Ciao! Allora guardando un po' il tuo firmware e i consigli sulla wiki ho trovato un incongruenza!

1) DECOMMENTA QUESTA RIGA:

//#define ULTRA_LCD //general lcd support, also 16x2

Rendendola cosi:

#define ULTRA_LCD //general lcd support, also 16x2

2) COMMENTA QUESTA RIGA:

#define ULTIMAKERCONTROLLER //as available from the ultimaker online store.

Rendendola cosi:

//#define ULTIMAKERCONTROLLER //as available from the ultimaker online store..

3) Verifica i collegamenti esatti come in queste pagine: [reprap.org]

4) ti linko anche queste pagine che potrebbero esserti utili:
[forums.reprap.org]
[reprap.org]


Francesco

FAB.one (simil Prusa i3) - Ramps 1.4 - Hot End IEC 0.4 mm - PLA 1.75 mm
Re: help per lcd
December 13, 2013 05:27AM
provato anche questo .... nulla ....
Sorry, only registered users may post in this forum.

Click here to login