LCD 4X40 Futurlec


Closed Thread
Results 1 to 23 of 23

Hybrid View

  1. #1
    Join Date
    Nov 2007
    Location
    South-West of Australia. A small town called Denmark. 'Where the forest meets the sea.'
    Posts
    136


    Did you find this post helpful? Yes | No

    Default 4X40 Display

    Rhino,

    Thanks for the info. I have got a different 4X40 (DisplayTech LTd closing down sale for $5, how's that for a bargain) and - IT ALL WORKS OK - along with the code/circuits for driving two ENABLE pins.

    I would still like to track down the pin-out for the Futurlec JHD404A1 if anyone out there has the info.

    Regards Bill Legge

  2. #2
    Join Date
    Aug 2006
    Location
    Omaha, Nebraska USA
    Posts
    263


    Did you find this post helpful? Yes | No

    Thumbs up

    I use a lot of Crystalfontz displays with good (great!) success.

    http://www.crystalfontz.com/
    Russ
    N0EVC, xWB6ONT, xWN6ONT

    "Easy to use" is easy to say.

  3. #3
    Join Date
    Jan 2009
    Posts
    4


    Did you find this post helpful? Yes | No

    Default Futurlec LCD working now

    Hello,

    I managed to get the Futurlec 4 x 40 LCD working. In my case, I did this with a BASIC Stamp. I hope I'm not escorted to the door from this forum. I found this forum to find a solution for communicating with an LCD. See attached photo.

    Bill's initial thread actually had the correct pin assignments that were the key to getting me started, although the Futurlec LCD has no pins 17 & 18. Internet research had consistent documentation on 4 x 40 LCD with two rows of pins having different assignments than those posted on Futurlec's site. Those are clearly WRONG! Also, A and K connections are for the back light and are straightforward.

    The second challenge was understanding how to address the 3rd and 4th lines on the display. My experience with LCD displays was limited to 2 x 16 and 4 x 20 serial units that have an entirely different way to address the screen coordinates. The 3rd and 4th lines are addressed with the second enable pin. This forum clued me in on that .. thank you. So I had to initialize both controllers in the LCD and communicate with the device as basically a stack of two 2 x 40 LCDs in one unit. The LCDCMD command in PBASIC allows me to address a set of pins in 4 bit mode while allowing some flexibility on which pin is the enable pin. This permitted me to address both sets of lines by adding the one additional connection to the LCD for the extra enable connection.

    I am not versed on PIC language, but I'm sure it's doable if I've done it with the BASIC Stamp.... code attached.

    Rick
    Attached Images Attached Images  
    Attached Files Attached Files

  4. #4
    Join Date
    Nov 2007
    Location
    South-West of Australia. A small town called Denmark. 'Where the forest meets the sea.'
    Posts
    136


    Did you find this post helpful? Yes | No

    Default 4x40 futurlec display

    Rixter,

    Thanks for your message and I'm pleased to learn that the pin-outs in the first post are correct. I must have made some wiring error because they would not work for me? I will have another go.

    I have, since then, got some different 4X40 LCDs, with correct tech details, and they work well using the method posted by RHINO - a couple of resistors on the two ENABLE pins and a bit of code.

    One mistake that took me a long time to find was using the PBP command "CLEAR" after the definition on the LCD1-Enable and LCD2-Enable pins - the CLEAR command clears the definition:

    This won't work:
    LCD1-Enable VAR PORTD.1
    LCD2-Enable VAR PORTD.2
    CLEAR

    This will work:
    CLEAR
    LCD1-Enable VAR PORTD.1
    LCD2-Enable VAR PORTD.2

    Good luck - get off the Basic Stamps and into PICs soonest!

    Regards Bill Legge

  5. #5
    Join Date
    Jan 2009
    Posts
    4


    Did you find this post helpful? Yes | No

    Default 4 x 40 LCD

    Thanks for the response Bill. Out of curiosity, what other 4 x 40 LCDs are you working with? When I ordered the Futurlec LCD I got a bit of tunnel vision and didn't pay attention to the true dimensions. Some how I didn't expect the unit to basically be twice the size of a 4 x 20, even though that would seem logical. I would rather trade for a bit smaller character size and be a smaller package overall for my implementation, which is a bicycle electronic route sheet device. Are any of the 4 x 40 LCD you've seen in smaller physical packages?

    As far as moving off of the BASIC Stamp, it would only be to take on another challenge or to address a particular issue not attainable with the Stamp rather than putting it down. As limited as they can be, they are easy to use for most of what I have asked of them. Like eating ice cream with handcuffs on, they are enjoyable to work with despite some discomfort and limitations. I am a programmer first, a fabricator second and an electronics expert last. I've learned much in the past two years on the electronics part. Despite learning many programming languages over the years, I come from an extensive background in BASIC and keep coming back to it. Does anyone remember Micro 80 magazine and the contests to solve a challenge in the fewest lines of code? Generally, one line programs won the contest. While I don't use it anymore, the "Trash 80" is still here and the spirit and fun of simple BASIC lives on. If I ever got into production level of my projects, I would definitely develop using a different platform, but that is not the case at present.

    Rick

  6. #6
    Join Date
    Nov 2007
    Location
    South-West of Australia. A small town called Denmark. 'Where the forest meets the sea.'
    Posts
    136


    Did you find this post helpful? Yes | No

    Default Lcd 4x40

    Rick,
    My Displaytech 4X40s are about the same size as the Futurlec devices and I think you will find that most manufacturers will be the same.

    Many electronic magazines (e.g. Everyday Practical Electronics-December 2009. www.epemag.com) have recently carried articles on 'OLED'. These are Organic LED displays and are the type used in mobile phones. They appear to be:

    1. Smaller that the typical LCD.
    2. Much better resolution and colour: e.g. 160X128 pixel.
    3. Talk to the devices by SPI comms.
    4. Don't cost much.
    5. Pixel data is easy, text/figs difficult.
    5. But are a bugger to connect to-small pads/special connectors etc.
    6. Have a dig around the 'Spark Fun' web site - I bet they have something useful?

    I've not used one - only read a few articles - an 'armchair expert!'

    STAMP/PIC - I retired a few years ago and after 40 years away from electronics decided to re-visit it for a hobby. After a few months it became obvious that electronics these days centers on MCUs - I entered the field by getting the StampWorks kit. I've moved to PIC because of the price of chips and processing speed.

    I live in the back of beyond in South West Australia and have to get all my bits by post. I've settled on a few suppliers:

    1. Futurlec in Asia - Low cost boards and components. Documentation is sometimes terrible but I can now translate the 'Minglish.'
    2. MikroElektronica in Serbia - Good value developement boards.
    3. Olimex in Belgrade - Good value boards.

    My latest project is a sports pitch line marking robot positioned by counting wheel revs and getting direction by tracking the sun (lots of that here in Australia). I'm a year into the project and I'm sure it will work - but how well I don't yet know.

    Regards Bill Legge

  7. #7
    Join Date
    Apr 2009
    Posts
    3


    Did you find this post helpful? Yes | No

    Default datasheet required

    Dear Mr.Bill Legge,
    I need the correct datasheet for 40*4 lcd which you got finally from futurelec. I am not able to trace the exact datasheet. kindly help me in this regard

    murali

    Quote Originally Posted by Bill Legge View Post
    Rick,
    My Displaytech 4X40s are about the same size as the Futurlec devices and I think you will find that most manufacturers will be the same.

    Many electronic magazines (e.g. Everyday Practical Electronics-December 2009. www.epemag.com) have recently carried articles on 'OLED'. These are Organic LED displays and are the type used in mobile phones. They appear to be:

    1. Smaller that the typical LCD.
    2. Much better resolution and colour: e.g. 160X128 pixel.
    3. Talk to the devices by SPI comms.
    4. Don't cost much.
    5. Pixel data is easy, text/figs difficult.
    5. But are a bugger to connect to-small pads/special connectors etc.
    6. Have a dig around the 'Spark Fun' web site - I bet they have something useful?

    I've not used one - only read a few articles - an 'armchair expert!'

    STAMP/PIC - I retired a few years ago and after 40 years away from electronics decided to re-visit it for a hobby. After a few months it became obvious that electronics these days centers on MCUs - I entered the field by getting the StampWorks kit. I've moved to PIC because of the price of chips and processing speed.

    I live in the back of beyond in South West Australia and have to get all my bits by post. I've settled on a few suppliers:

    1. Futurlec in Asia - Low cost boards and components. Documentation is sometimes terrible but I can now translate the 'Minglish.'
    2. MikroElektronica in Serbia - Good value developement boards.
    3. Olimex in Belgrade - Good value boards.

    My latest project is a sports pitch line marking robot positioned by counting wheel revs and getting direction by tracking the sun (lots of that here in Australia). I'm a year into the project and I'm sure it will work - but how well I don't yet know.

    Regards Bill Legge

Similar Threads

  1. 16f688 LCD what have I done wrong
    By spitfiredriver in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 8th August 2009, 20:54
  2. Play with LCD on PICDEM
    By The IceMan in forum mel PIC BASIC
    Replies: 5
    Last Post: - 22nd August 2008, 17:56
  3. Need help with LCD number display.
    By Steve Matson in forum mel PIC BASIC
    Replies: 8
    Last Post: - 27th June 2007, 00:07
  4. LCD will not start
    By btaylor in forum mel PIC BASIC Pro
    Replies: 49
    Last Post: - 24th May 2007, 03:30
  5. 4x40 LCD control problem
    By NL2TTL in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 5th January 2005, 12:43

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