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

Guide Make your own USB LCD controller!

Discussion in 'Modding' started by ch424, 23 Jun 2006.

  1. bubsterboo

    bubsterboo What's a Dremel?

    Joined:
    24 Jan 2006
    Posts:
    800
    Likes Received:
    3
    Pretty Please
     
  2. ch424

    ch424 Design Warrior

    Joined:
    26 May 2004
    Posts:
    3,112
    Likes Received:
    41
  3. bubsterboo

    bubsterboo What's a Dremel?

    Joined:
    24 Jan 2006
    Posts:
    800
    Likes Received:
    3
  4. Wayneeboy

    Wayneeboy What's a Dremel?

    Joined:
    5 Mar 2007
    Posts:
    28
    Likes Received:
    0
    I did not try the back light, I have now and I cant adjust it either. The transistor i used was one I had to hand, if you can get BC184 or the BC214 (not the BC184L or BC214L)
    it should work
     
  5. derbaum

    derbaum What's a Dremel?

    Joined:
    11 Apr 2004
    Posts:
    221
    Likes Received:
    0
    hi folks, back with a question again.
    im just workin on my programmer for the pic.
    this one: http://s95417013.onlinehome.us/ktekx/5.htm
    based on this schem's:
    http://www.olimex.com/dev/images/pic-pg1-sch.gif
    i guess thats what everybody is already familiar with.
    the programmer is nearly done, i just need to connect the 6 output lines to the ic socket.
    my problem now is where to connect ground to.
    http://www.olimex.com/dev/images/PIC/PIC-ICSP.gif
    thats pin3 on the icsp schem.
    http://www.reichelt.de/?;ACTION=7;L...wQARoAAGg6-Qc518932c0074f01f01a4cbae29124338d
    i use this datasheet for the pic18f2550 .. nothing i can identify as ground.
     
  6. Wayneeboy

    Wayneeboy What's a Dremel?

    Joined:
    5 Mar 2007
    Posts:
    28
    Likes Received:
    0
    pins 8 + 19
    VSS = GND
     
    Last edited: 8 Dec 2007
  7. derbaum

    derbaum What's a Dremel?

    Joined:
    11 Apr 2004
    Posts:
    221
    Likes Received:
    0
    thx
    i also work on the lcd board and i'am wondering what this bl+ and bl- pads are for ( i don't use an etched board... ).
    near q1/pin 28 on the schematics
     
  8. Wayneeboy

    Wayneeboy What's a Dremel?

    Joined:
    5 Mar 2007
    Posts:
    28
    Likes Received:
    0
    they are for the lcd's back light (pins 15 + 16 )
    pin 15 = + pin 16 = -
     
  9. spectrum777

    spectrum777 What's a Dremel?

    Joined:
    12 Sep 2007
    Posts:
    2
    Likes Received:
    0
    hi I have request anybody can me send on email the programme to processor 2550 in file .hex? or to explain how with the help of this code to programme processor? how to put in winpic800 protections and I ask about print screen
    I apologize for my English
     
    Last edited: 3 Nov 2008
  10. derbaum

    derbaum What's a Dremel?

    Joined:
    11 Apr 2004
    Posts:
    221
    Likes Received:
    0
    thx wayneboy.
    now i wanted to program the ic (2550) but i face similar problems as onezero page 5, i cant config winpic the way it´s suggested on page1. (but i think i chose the right ic ... )
    my memory cfg field looks like this:

    [​IMG]

    other cfg´s:
    config, device

    message

    options

    interface

    hex file is also the one from page1.

    @ spectrum: the hex file is linked under "firmware" on the first page...
     
  11. One~Zero

    One~Zero What's a Dremel?

    Joined:
    9 Sep 2004
    Posts:
    214
    Likes Received:
    2
    You have to load the hex file first, then edit the flags. This is what fixed my problem, anyways. I believe someone else brought this up as well, and I thought they fixed the hex file to include the other settings.....not entirely sure though.
     
  12. derbaum

    derbaum What's a Dremel?

    Joined:
    11 Apr 2004
    Posts:
    221
    Likes Received:
    0
    hex was loaded first ....
    i read nearly through the whole thread today but just found your little prob nearly matching mine. do you remember where this somebody may have posted his prob? maybe i just slipped over the posting and you can give me hints where to look again.
    maybe some more information will help out
    os = win2ksp4
    programer = winpic (installed first)
    after that i installed mplab (full)
    restarted system
    added directory for /mplab ide/device to winpic options
    -> file -> load -> usblcdconfig.hex
    -> chose pic18f2550
    tried to change flags -> not the right options.
    -> searched and asked at bittech ^^



    btw: the rest of the configuration is ok ?
     
    Last edited: 14 Dec 2007
  13. spectrum777

    spectrum777 What's a Dremel?

    Joined:
    12 Sep 2007
    Posts:
    2
    Likes Received:
    0
    started my display 2x16 there now I have to buy larger 4x20. I have problem with highlight when I include computer light it shines there now when I will start LCDsmartie light was has switched off why I in place Q1 gave transistor bc547
     
  14. GuardianStorm

    GuardianStorm Minimodder

    Joined:
    26 Apr 2005
    Posts:
    1,475
    Likes Received:
    1
    Thought i would finally get round to building my LCD :) (All images, click for larger)

    I designed my own circuit board (cant understand everyone's obsession with routing between pins and using really thin tracks...the two things i was told to NOT do if at all possible!). I used Proteus: Ares for this.
    [​IMG]

    I used the laser printer method for creating the circuit board, and also ironed on the top silk layer too.
    [​IMG]

    I forgot to wire the power pins however, so they were added 'manually'.
    [​IMG]

    And some pics of it built and running.
    [​IMG] [​IMG] [​IMG]

    Interestingly, it didn't work first time, and i discovered it was due to C3 and C5, if i remove these from the circuit board, it works!
    Thanks Ch424 for this guide :)
     
  15. ch424

    ch424 Design Warrior

    Joined:
    26 May 2004
    Posts:
    3,112
    Likes Received:
    41
    That's really nice!! Good work! And yes, I don't get the routing between pins and thin tracks either.. Amused to see someone else using Ares - is that your college/uni/workplace or do you have a home version?
     
  16. One~Zero

    One~Zero What's a Dremel?

    Joined:
    9 Sep 2004
    Posts:
    214
    Likes Received:
    2
    Well done, GS!!! :clap:
     
  17. GuardianStorm

    GuardianStorm Minimodder

    Joined:
    26 Apr 2005
    Posts:
    1,475
    Likes Received:
    1
    It was what we learnt to use in college, and i find it the easiest to use (although that might be because I'm ingrained with the Proteus way of doing things, Right Click to select? Second Right Click to delete? non-standard keyboard mapping? who thought of that?).

    I have it at home, kindly donated by my college...
     
  18. derbaum

    derbaum What's a Dremel?

    Joined:
    11 Apr 2004
    Posts:
    221
    Likes Received:
    0
    this is the errorlog winpic handed over to me. someone got an idea what i might have done wrong ?
    using olimex jdm prog dev., 18f2550, winpic, in genral everything the way i was told here.

    only difference to the "official" cfg are different values on "mask" but i cant change them.

    [​IMG]

    Initialising PIC-Programmer: Success.
    Programming...
    Erasing ("bulk" or "chip") ...
    Programming CODE, 0x000000..0x007FFE
    Verifying CODE, 0x000000..0x007FFE
    Verifying 0x000000..0x007FFE
    Verify Error: 000000: read 00FFFF, wanted 00EF5A, mask 00FFFF ==> diff=0010A5
    Verify Error: 000002: read 00FFFF, wanted 00F00C, mask 00FFFF ==> diff=000FF3
    Verify Error: 000004: read 00FFFF, wanted 000012, mask 00FFFF ==> diff=00FFED
    Verify Error: 000008: read 00FFFF, wanted 00EFC6, mask 00FFFF ==> diff=001039
    More Verify Errors, unable to list all (total=3161)
    Programming DATA, 0xF00000..0xF000FF
    Verifying DATA, 0xF00000..0xF000FF
    Verifying 0xF00000..0xF000FF
    Programming CONFIG, 0x300000..0x30000C
    Verifying CONFIG, 0x300000..0x30000C
    Verifying 0x300000..0x30000C
    Verify Error: 300000: read 00FFFF, wanted 000320, mask 00CF3F ==> diff=00CC1F
    Verify Error: 300002: read 00FFFF, wanted 001E3E, mask 001F3F ==> diff=000101
    Verify Error: 300004: read 00FFFF, wanted 008100, mask 008700 ==> diff=000600
    Verify Error: 300006: read 00FFFF, wanted 000081, mask 0000E5 ==> diff=000064
    ERROR: Programming FAILED !
     
  19. chaos theory

    chaos theory What's a Dremel?

    Joined:
    22 Aug 2007
    Posts:
    7
    Likes Received:
    0
    can the code be adapted for the 18F2220 or 2320??
    cuz the 18F2550 is not supported with my programmer :(
     
  20. ch424

    ch424 Design Warrior

    Joined:
    26 May 2004
    Posts:
    3,112
    Likes Received:
    41
    No.
     
Tags:

Share This Page