Jump to content

My LCD speaks martian !


vix
 Share

Recommended Posts

Hi

I build a MD FM since last year... I just reopened my boxes, uploaded FM 1.1 and started it (still in construction)

i got a 2x40 LCD with Backlight from Hantronix named "HDM 402 16L"

and here is what he shows me after booting :

photo.jpg

? do i need a special driver for this one ? I can't remember where i bought it.

I use Mios 1.9C

Thanks

Link to comment
Share on other sites

? do i need a special driver for this one ? I can't remember where i bought it.

No, you don't need a special driver.

according to the datasheet it uses the Hitachi controller.

I would be quick to jump to a wiring error as a conclusion. In each of the characters shown on screen in the photo, the d2 line is set high, and the d7 is set low. See table below.

[tt]

Character              In binary

$                      00100100

W                      01010111

G                      01000111

|                      01111100

?                    01111111

.                      00101110

w                      01110111

n                      01101110

E                      01000101

4                      00110100

N                      01001110

l                      01101100

g                      01100111

7                      00110111

6                      00110110

5                      00110101

This bit is always '1'      ^

This bit is always '0'  ^

[/tt]

Link to comment
Share on other sites

so... i updated to 1.9f and after rebooting the lcd shows me several martians screens then stop on this one :

mios19.jpg

nice isn't it ?

i checked my solderings one morrrre time.. nothing (it's simple because at this step i have only the core, the obpl3 and one DIN4 with nothing connected to it, and the LCD)

by the way these are readymade midibox.org boards

so this is for sure lcd wiring, thanks tilted !

but as this lcd have not "in line" pins, i'm a little confused with the numbers :

there are 2 vertical columns of 8 pins :

the up-right one is #16

and the down-left one is #1

but what is the down-right pin ? #2 or #8 ???

i think i wired it thinking it was #2

Link to comment
Share on other sites

i've seen on the data sheet that i was right, the down-right pin is #2 (seen from the back, oposite to the datasheet drawing)

so now... i'm resoldering all the lcd wiring....

i'll tell you what happened soon :P

Link to comment
Share on other sites

so i made a new wiring for the lcd, paying attention very carefully to pin numbers

and the result  is exactly the same !!

i checked with a small 2x16 testing lcd i made, the MBFM works, the display is ok

i noticed i got a short on the J15 of core module between pin V0 (named VL on the lcd datasheet) and pin Vss

is it normal ?

thanks guys

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...