1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Noritake KGU126X64F-K612A4 graphic VFD

Discussion in 'Article Discussion' started by Cheese, 28 Aug 2002.

  1. Aporue

    Aporue What's a Dremel?

    Joined:
    16 Oct 2002
    Posts:
    9
    Likes Received:
    0
    Hmmmm interesting....but I'm running 98SE.
    What are the details of the problem, and could it exist on my 98?
     
  2. Cheese

    Cheese Doc

    Joined:
    6 Oct 2001
    Posts:
    4,609
    Likes Received:
    1
    Yes it could well, can you try your display on a win nt/2k/xp machine?

    Rob.
     
  3. Aporue

    Aporue What's a Dremel?

    Joined:
    16 Oct 2002
    Posts:
    9
    Likes Received:
    0
    I'll try it but might be a few days.

    Anyway, I thought RS232 was an established standard :lol: ;)
     
  4. CharlieCat

    CharlieCat What's a Dremel?

    Joined:
    12 May 2002
    Posts:
    543
    Likes Received:
    0
    An established standard eh - that'll be the day :naughty:

    It's established in terms of the physical connection but how the software - OS or APP - talks to the device is another matter alltogether.

    Cheers, CC
     
  5. DSLaBuda

    DSLaBuda What's a Dremel?

    Joined:
    22 Oct 2002
    Posts:
    2
    Likes Received:
    0
    Hello gentlemen/ladies,

    please excuse the question :blush: , but can someone possibly post a link of a retailer in the United States that sells the Noritake VFD mentioned in this discussion? I have been unable to locate this unit on my own. :sigh: I am hoping to save on the shipping charges and the subsequent delay of having the unit shipping the UK. (impatient cheapskate) :D

    thanks in advance,
    DS.
     
  6. m0nk3y

    m0nk3y What's a Dremel?

    Joined:
    25 Oct 2002
    Posts:
    393
    Likes Received:
    1
    how do you create custom pictures like mashie did on his new project in the project logs?
     
  7. Cheese

    Cheese Doc

    Joined:
    6 Oct 2001
    Posts:
    4,609
    Likes Received:
    1
    It's much easier for the 126x32 display, there's a fullscreen bitmap importer (you just pop in the bitmap and it uses an incredibly amazing algorithm* to convert the bitmap into a long string to feed lcdc), so it's as simple as drawing the bitmaps really.

    For the 126x64 display you'd have to stitch two 126x32 images together atm, which isn't hard o/c but due to the way the amazing wonderful algorithm* works the result wouldn't be as quick as if you'd used one single 126x64 image.

    For a link to the program see the first post of the 126x32 thread.


    EDIT: The drawing code for you if you're so inclined,

    Code:
    grand_total = 0
        
        
        For x = 0 To 125
            For y = 0 To 31
                If Selection.Offset(y, x) = 1 Then
                    grand_total = grand_total + 1
                    selec(y, x) = 1
                    Else: selec(y, x) = 0
                End If
            Next
        Next
        
        rem_total = grand_total
        
        'new method
        
        For ar = (126 * 32) To 1 Step -1
        
            For fac = 32 To 1 Step -1
        
                If ((ar / fac) = Int(ar / fac)) And ((ar / fac) <= 126) Then
                    rec_y = fac
                    rec_x = ar / fac
        
            
                    If (rec_y * rec_x) <= rem_total Then
            
                        For t_y = 0 To (31 - (rec_y - 1))
                    
                            For r_x = 0 To (125 - (rec_x - 1))
                        
                                total = 0
                            
                                For y = 0 To (rec_y - 1)
                                    For x = 0 To (rec_x - 1)
                                        If (selec(t_y + y, r_x + x) = 1) Then total = total + 1
                                    Next
                                Next
                        
                                If total = rec_x * rec_y Then
                                    For y = 0 To (rec_y - 1)
                                        For x = 0 To (rec_x - 1)
                                            selec(t_y + y, r_x + x) = 2
                                        Next
                                    Next
                                    rem_total = rem_total - (rec_x * rec_y)
                                    If (rec_x = 1) And (rec_y = 1) Then
                                
                                        LCDC = LCDC + ",16," + Clip(r_x) + "," + Clip(t_y) + ",22"
                                        spe = spe + 4
                                        Else
                                
                                        LCDC = LCDC + ",17," + Clip(r_x) + "," + Clip(t_y) + "," + Clip(r_x + rec_x - 1) + "," + Clip(t_y + rec_y - 1) + ",200"
                                        spe = spe + 6
                                    
                                    End If
                            
                                End If
                            Next
                        
                        Next
              
                    End If
                End If
            Next
        Next
    The output variable LCDC gives a string which you can plop into an LCDC event.

    Kane's win32 app can be found here - http://forums.bit-tech.net/showthread.php?s=&postid=152878#post152878

    Cheers,

    Rob.


    *or so the author claims
     
  8. m0nk3y

    m0nk3y What's a Dremel?

    Joined:
    25 Oct 2002
    Posts:
    393
    Likes Received:
    1
    I noticed you talking about LCDG cheese, what exactly is that and is there a website up?
     
  9. Cheese

    Cheese Doc

    Joined:
    6 Oct 2001
    Posts:
    4,609
    Likes Received:
    1
    Use the forum search button, I've answered this question too many times now :D

    Cheers,

    Rob.
     
  10. m0nk3y

    m0nk3y What's a Dremel?

    Joined:
    25 Oct 2002
    Posts:
    393
    Likes Received:
    1
    I've used the search button and can only come up with that LCDG is a sibling software of LCDC.. I've searched LCDC homepages forums and still have come to the conclusion that as of 9/12/02 the latest update is mat-d-rat is "a long way from completing" the software... Are there any new updates that I have missed?
     
  11. Enak

    Enak Also known as Kane

    Joined:
    23 Jul 2002
    Posts:
    831
    Likes Received:
    1
    Nope
     
  12. Mat-d-Rat

    Mat-d-Rat Drive it to the edge baby

    Joined:
    30 Aug 2001
    Posts:
    795
    Likes Received:
    0
    LOL - LCDG did make a good start but I've been so busy with other things that it is just sitting there at teh moment :( not the news people wants but I have 5 main projects I look after and one of them is eating a lot of my time at the moment (not LCDC) which doesn't help.
     
  13. m0nk3y

    m0nk3y What's a Dremel?

    Joined:
    25 Oct 2002
    Posts:
    393
    Likes Received:
    1
    :sigh:

    :waah:


    I need LCDG
     
  14. tUrtleAE86

    tUrtleAE86 What's a Dremel?

    Joined:
    16 Nov 2002
    Posts:
    3
    Likes Received:
    0
    =(

    i fear there may be problems with my K612A4
    just got it..

    it lights up when i connect pins 5/6 as it should..

    BUT, when i try to talk to it using hyperterminal or LCDC, i have no luck.. have tried multiple times

    hyperterminal settings: 9600 8N1 no flow control
    I also connected the MB and HB pins just in case, but no help.

    I checked the voltage levels on the RX pin of the K612A4 when i was sending stuff through hyperterminal as well, and it looks okay. but no go for the vfd...

    any ideas?
     
  15. Enak

    Enak Also known as Kane

    Joined:
    23 Jul 2002
    Posts:
    831
    Likes Received:
    1
    Have you followed through the guide and set your display to 9600 baud?
     
  16. tUrtleAE86

    tUrtleAE86 What's a Dremel?

    Joined:
    16 Nov 2002
    Posts:
    3
    Likes Received:
    0
    sorry.... i forgot to make sure that LCDC was set to 19200 when the commands were sent to set it to 9600..

    sorry!!
     
    Last edited: 16 Nov 2002
  17. pengin

    pengin What's a Dremel?

    Joined:
    23 Nov 2002
    Posts:
    3
    Likes Received:
    0
    handshakin

    I bought myself a KGU126X64F-K612A4 graphic VFD and its now set up and working :D (after studying other ppls problems in this thread - TY). Here's my lovely installation if anyone's interested!

    Anyway, I performed the serial cable surgery and soldered the MB and HB wires together - possibly without needing to. I am now trying to write a simple VB program to send messages over com port to the display. Everything seems to work properly untill i put baud up to 19200. Then commands seem to get dropped Eg. in the large font "ABCDE" gets printed "ACE". I wonder if the problem is handshaking?

    Can anyone tell me which pins the green/white wires in the cable (from the kit) are soldered to? I cant remember. Ive tried both possibilities! And with both handshaking options, RTS/CTS & Xon/Xoff. Am stuck :sigh: Any ideas?
     
  18. Enak

    Enak Also known as Kane

    Joined:
    23 Jul 2002
    Posts:
    831
    Likes Received:
    1
    Installation looks sweet!

    The problem you are having is down the busy time of the module... at 9600 there is sufficient time between characters for the display to process the commands. At 19200 there isn't.

    I'm not up on VB so can't help I'm afraid.

    The datasheet for the cable should have the details you are looking for.
     
  19. Cheese

    Cheese Doc

    Joined:
    6 Oct 2001
    Posts:
    4,609
    Likes Received:
    1
    It's not a handshaking problem it's a timing one...

    at 19200 baud the display's controller can't keep up with 1 character per pulse, you need a delay in there. So need to watch the MD pin (module busy pin, white or green I forget) and only send data to the display when it's not busy.

    To find out where to put the wires you soldered off just look at my pics of doing the mod, should be obvious from there.

    Rob.
     
  20. Cheese

    Cheese Doc

    Joined:
    6 Oct 2001
    Posts:
    4,609
    Likes Received:
    1
Tags: Add Tags

Share This Page