Microcontroller and lcd

Discussion in 'Embedded Systems and Microcontrollers' started by kuannygohcheetatt, Jan 30, 2014.

  1. kuannygohcheetatt

    Thread Starter Member

    Oct 31, 2013
    61
    0
    Can a microcontroller pic16f877a control a number of lcd? Normally its just one but in my case since i am doing food ordering system , i nid the microcontroller to display data in various stall , is it possible?
     
  2. tshuck

    Well-Known Member

    Oct 18, 2012
    3,531
    675
    Yes, however, the more you add, the slower the system will become.

    How many are we talking here? What kind of LCD, character?

    You will probably be better off having local microcontrollers handling each individual LCD display and relaying information to a master controller...
     
  3. AfdhalAtiffTan

    Active Member

    Nov 20, 2010
    117
    11
    Yes, it can be done.
    Just share the data line and strobe the EN pin.
     
  4. spinnaker

    AAC Fanatic!

    Oct 29, 2009
    4,866
    988
    I like tshuck's idea. It makes the whole system faster and more expandable.

    But if the lxd count will be low and there is no need to expand then you have the right idea.
     
  5. THE_RB

    AAC Fanatic!

    Feb 11, 2008
    5,435
    1,305
    You can buy text LCDs now on ebay, with a tiny "backpack" attached that accepts I2C or serial data.

    That way the remote LCDs only need one or two signal wires to send text data to them.
     
  6. AfdhalAtiffTan

    Active Member

    Nov 20, 2010
    117
    11
    @spinnaker
    I was thinking about cost saving. :)

    @THE_RB
    I like yours better. Sending data to 'various stall' might need better noise immunity, RS232 might be suitable.
     
  7. tshuck

    Well-Known Member

    Oct 18, 2012
    3,531
    675
    ...how should the user interact with them?

    Either the main controller will need to offer up more I/O for each stall (two for LCD serial, assuming RS-232, or I2C, and however many are required for the user to interface with), or a few wires (I2C, RS-485/422), CAN/LIN, ethernet, etc.) and multiple controllers (one per stall). If the number of stalls and their distance from the main controller is small, you could probably make do with a single controller, but without more information from the OP, I am suggesting a more general and modular approach.
     
  8. shteii01

    AAC Fanatic!

    Feb 19, 2010
    3,377
    494
    I2C might be too short distance wise.
     
  9. MrChips

    Moderator

    Oct 2, 2009
    12,415
    3,354
    When you are considering multiple stations you really want to be looking at distributed networks.

    RS-485 or wireless comes to mind.
     
  10. THE_RB

    AAC Fanatic!

    Feb 11, 2008
    5,435
    1,305
    It wasn't asked and wasn't considered. :)

    Maybe the OP already has a separate system for user input? Or maybe he just needs to display data in each stall?

    Either way I think we might have lost the OP.
     
  11. tshuck

    Well-Known Member

    Oct 18, 2012
    3,531
    675
    I figured a "food ordering system" meant the user ordered food with it, but you're right, it wasn't asked for.:)
     
Loading...