Code that worked with WINDSTAR LCD doesn't work with Newhaven LCD?


Closed Thread
Results 1 to 37 of 37

Hybrid View

  1. #1
    Join Date
    Mar 2009
    Location
    Colorado
    Posts
    378


    Did you find this post helpful? Yes | No

    Default Re: Code that worked with WINDSTAR LCD doesn't work with Newhaven LCD?

    Quote Originally Posted by jmgelba View Post
    Which PIC did you end up using?
    Because most of my applications have a USB interface, I have favored using either the 18F2550 or 18F4550. If you don't need a USB interface these are probably over kill, but they are so low in price and have so many IO pins, they are a good choice even if you don't need the USB. I use the 18F2550 whenever I can because it is a 20 pin IC and a lot smaller than the 4550 for board layout. I published an article in the recent Forum Competition that you can see by going to that location on the Home page. Mine is the Ultrasonic Ranger application and all of my code is posted there, including the routines that intialize and use the NEWHAVEN display.

  2. #2
    Join Date
    Feb 2004
    Location
    Michigan, USA
    Posts
    305


    Did you find this post helpful? Yes | No

    Default Re: Code that worked with WINDSTAR LCD doesn't work with Newhaven LCD?

    Nice. I'm also using a 18F2550 - for the first time. I've started browsing through the datasheet and am currently finishing up the schematic and about to start on the layout.

    This project calls for several analog in's, the LCD, the USB, 4 switch inputs, and control of a digital pot. Oh and a couple of indicator LED's.

    Nothing like jumping in with both feet!

  3. #3
    Join Date
    Mar 2009
    Location
    Colorado
    Posts
    378


    Did you find this post helpful? Yes | No

    Default Re: Code that worked with WINDSTAR LCD doesn't work with Newhaven LCD?

    So it soounds like you are still building schematic/layout and haven't started coding yet??
    When you get into the coding of the USB interface you will probably run into problems. I did, and got a lot of help from Darrell Taylor and the Forum. When you get to that stage and need help, let me know and I may be able to refer you to some well hidden postings that will help you with the USB.

  4. #4
    Join Date
    Feb 2004
    Location
    Michigan, USA
    Posts
    305


    Did you find this post helpful? Yes | No

    Default Re: Code that worked with WINDSTAR LCD doesn't work with Newhaven LCD?

    Correct.

    I've done a little searching and found the keep alive requirements and DT's keep alive program. Other than that, and the requirement for a 0.47uF cap on the USB supply pin, I havent gotten too far in to it. I'm concentrating on hardware as the first rev pcb has to work first time. I need to send out a somewhat functioning proto next week.


  5. #5
    Join Date
    Feb 2004
    Location
    Michigan, USA
    Posts
    305


    Did you find this post helpful? Yes | No

    Default Re: Code that worked with WINDSTAR LCD doesn't work with Newhaven LCD?

    Are you using your display in 4 bit or 8 bit and if its 4 bit, have you tied the unused data pins to ground?

  6. #6
    Join Date
    Mar 2009
    Location
    Colorado
    Posts
    378


    Did you find this post helpful? Yes | No

    Default Re: Code that worked with WINDSTAR LCD doesn't work with Newhaven LCD?

    Quote Originally Posted by jmgelba View Post
    Are you using your display in 4 bit or 8 bit and if its 4 bit, have you tied the unused data pins to ground?
    I am using it in 4-bit and yes the unused data pins have to be grounded.

  7. #7
    Join Date
    Feb 2004
    Location
    Michigan, USA
    Posts
    305


    Did you find this post helpful? Yes | No

    Default Re: Code that worked with WINDSTAR LCD doesn't work with Newhaven LCD?

    Thanks. Incidentally, the datasheet from Digikey for the part number I'm using is incorrect. It didnt show how to connect the RGB backilighting correctly. Good job I double checked by calling New Haven tech support. The pin out was wrong - missing 2 pins and swapping the backlight A and K. Yikes Digikey!!

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts