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. Viscera

    Viscera What's a Dremel?

    Joined:
    17 Sep 2007
    Posts:
    14
    Likes Received:
    0
    I built the JDM programmer (not the modified one like you posted, It seemed to program the first time right however there were some errors, not many but some, I checked the connections and I made a few wrong connections so i re-did them and i get nothing when i verify the programming. everything dosnt program now.

    Ill post some pics of this programmer

    http://hosted.intarweb.info/dan/DSC00034.JPG
    http://hosted.intarweb.info/dan/DSC00035.JPG

    Also, I'm plugging this into the printer port, thats right isnt it?
     
  2. One~Zero

    One~Zero What's a Dremel?

    Joined:
    9 Sep 2004
    Posts:
    214
    Likes Received:
    2
    I don't think that's right :confused:
    I used a circuit based on the serial port programmer from Olimex and used the WinPIC software they link to on the bottom of the page. Had no problems and works perfectly. Very easy to build too.
     
  3. Viscera

    Viscera What's a Dremel?

    Joined:
    17 Sep 2007
    Posts:
    14
    Likes Received:
    0
    I converted it to a Serial port connection, and it works.. all programmed and ready to start the next part, thanks guys :)

    I finished building the LCD board, and the local electronics shop (jaycar.com.au) was all out of 4mhz xtal's .. I'm wondering if I can use an 8mhz and change the setting in winpic800?

    Thanks
     
    Last edited: 29 Sep 2007
  4. Viscera

    Viscera What's a Dremel?

    Joined:
    17 Sep 2007
    Posts:
    14
    Likes Received:
    0
    I ended up buying the 8mhz crystal, and im getting the USB device not recognised scenario, I however did rip the 100uf (10v) cap out of an old video card. I've shortened the wires from OSC1 and OSC2 to the crystal, and again to the next points. but still the same error

    Im wondering if there is a problem with that capacitor.

    also, How do i know if my crystal is series or parallel cut? the model number of the crystal is HC-49US.

    Thanks
     
  5. Wayneeboy

    Wayneeboy What's a Dremel?

    Joined:
    5 Mar 2007
    Posts:
    28
    Likes Received:
    0
    you could use a 4 Mhz resonator instead of the crystal and the 2 caps
     
  6. Viscera

    Viscera What's a Dremel?

    Joined:
    17 Sep 2007
    Posts:
    14
    Likes Received:
    0
    really, hmm I might do that, thanks.

    Also, if i want to strip the rotary encoder out of it, what can i remove?
     
    Last edited: 1 Oct 2007
  7. Nanaki_666

    Nanaki_666 What's a Dremel?

    Joined:
    3 Oct 2007
    Posts:
    1
    Likes Received:
    0
    4x40 LCD Support

    Hello,
    I have LCD's 4x40 and I want to put theses in USB with PIC18F2550
    It is possible to modify your code to acheve this ?
    Or does someone know another way to acheve this with PIC ?
    Please help me :waah:

    I have thoses LCD for two weeks and no Parallel port :waah:
     
  8. Viscera

    Viscera What's a Dremel?

    Joined:
    17 Sep 2007
    Posts:
    14
    Likes Received:
    0
    Thats exactly what this mod is, a PIC18F2550 with USB to control a LCD Screen. You will be fine.
     
  9. One~Zero

    One~Zero What's a Dremel?

    Joined:
    9 Sep 2004
    Posts:
    214
    Likes Received:
    2
    I don't think it will handle 4x40 displays though.
     
  10. Viscera

    Viscera What's a Dremel?

    Joined:
    17 Sep 2007
    Posts:
    14
    Likes Received:
    0
    oh, i didn't see that
     
  11. Erik

    Erik What's a Dremel?

    Joined:
    8 Oct 2007
    Posts:
    51
    Likes Received:
    1
    Awesome Work...

    I have read through this entire thread (all 21 pages) and a lot of great work was put into this. Thank you all. I am going to give it a shot and post my results here. I have already successfully programmed the pic (18f2455), programmed and verified with the hex file from the first post. I noticed that a 20 Mhz crystal was used by RustySpoon in place of the 4Mhz. How would I go about making that change, Since I already have everything...except a 4 Mhz crystal (I have 20).

    The Pic Programmer I use is the Kit 128 USB programmer from Kitsrus.com (works great).

    Thank you all for the great work going into this thread, I will start mine tomorrow.
     
  12. Erik

    Erik What's a Dremel?

    Joined:
    8 Oct 2007
    Posts:
    51
    Likes Received:
    1
    All Wired Up

    I have everything assembled on a breadboard, and when it is plugged in, windows sees the USB device, but just errors out. I assume it is the 20 Mhz Crystal. Does anyone have the hex compiled for a 20Mhz crystal? If not I will try to find a 4Mhz one.

    Is there an updated schematic, I believe the one on the first post is missing a couple of connections.

    Thank you!
     
  13. Viscera

    Viscera What's a Dremel?

    Joined:
    17 Sep 2007
    Posts:
    14
    Likes Received:
    0
    In the programmer, you can change the config from 4mhz to 20mhz .. thats what i believe is done..

    also, ive rebuilt it, and im still getting the same usb device not recognised...

    ive tested everything with a DMM and it all seems to be correct. the only thing im doing differently is that 8mhz crystal... im still waiting for the 4mhz to come in, but surely changing it in the config to divide by 2 (8mhz) is fine...
     
  14. Erik

    Erik What's a Dremel?

    Joined:
    8 Oct 2007
    Posts:
    51
    Likes Received:
    1
    I'll check, but I am not sure how to change it in the programmer...I am using the DIY MicroPro software that came with my programmer kit...
     
  15. Erik

    Erik What's a Dremel?

    Joined:
    8 Oct 2007
    Posts:
    51
    Likes Received:
    1
    You are correct...changed to 20Mhz in the programmer...unfortunately, same error after reprogramming and verifying...the usb device has malfunctioned...I'll keep checking for problems.
     
  16. Erik

    Erik What's a Dremel?

    Joined:
    8 Oct 2007
    Posts:
    51
    Likes Received:
    1
    I reprogrammed again changing the fuse settings windows saw the device correctly...now I need a Vista 32 bit driver...Is there one? Where do I get it?

    Thank you,

    Erik


    Found the answer a ways back in the thread: http://www.obddiag.net/drivers.html

    installed and now sees it as com5...
    LCDSmartie works fine...awesome...now to take it off the breadboard and do something with it...
     
    Last edited: 9 Oct 2007
  17. Viscera

    Viscera What's a Dremel?

    Joined:
    17 Sep 2007
    Posts:
    14
    Likes Received:
    0
    wait what fuse setting?
     
  18. Erik

    Erik What's a Dremel?

    Joined:
    8 Oct 2007
    Posts:
    51
    Likes Received:
    1
    Fuse setting...

    First I changed to 20 Mhz ( divide by 5)

    and the oscillator setting to HS+PLL HS-USB

    Once I changed that and reprogrammed...it worked like a charm.
     
  19. Viscera

    Viscera What's a Dremel?

    Joined:
    17 Sep 2007
    Posts:
    14
    Likes Received:
    0
    BRILLIANT!

    works!

    [​IMG]

    Thankyou to everyone ...
     
  20. Erik

    Erik What's a Dremel?

    Joined:
    8 Oct 2007
    Posts:
    51
    Likes Received:
    1
    Here is my mess of wires and LCD on a breadboard the pc is a Windows Vista 32 bit box running LCD Smartie...I used the hex for buttons instead of the rotary encoder, I am planning on adding buttons then moving from the breadboard to perf board and into an enclosure of some kind, this is going to be an external device...Very cool.

    [​IMG]
     
Tags:

Share This Page