Serial LCD syntax help


Closed Thread
Results 1 to 23 of 23

Hybrid View

  1. #1
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by flotulopex View Post
    It looks like SERIAL communication is not the best method to make different equipments communicate together. It's cheap, simple, uses only one data pin but is quite unreliable.
    What is then better? I2C? Yes, but then you need at least 2 wires (Clock and Data).
    Is there another "low PIN cost" communication system?
    You know what is not reliable are old prototype boards, that is why I prefer to use serial lcd to prove out code, as it uses 20 less connections. later it is simple to change over to lcdout routines, and if you use the lcd routine in My thread (mostly Darrel's code) then you can use standard lcdout type formatting so there is less to change.

    http://www.picbasic.co.uk/forum/showthread.php?t=4972 post 16
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

  2. #2
    Join Date
    Aug 2006
    Location
    SWITZERLAND (french speaking)
    Posts
    949


    Did you find this post helpful? Yes | No

    Default µc PIN's budget goes low

    Anyhow, if you want to make a (acceptable) serial communication, you'll need to clock your PIC with a crystal.

    So, if you create an application where timing is not relevant, you may want to use all your available PIC's ports and use the internal oscillator

    Monitoring your program with a serial communication will, at least, cost you 3 ports (2 for crystal + 1 for serial comm.).

    This can be especially critical when you are using small PICs.

    Thanks for pointing to your routine - can be really usefull.
    Roger

  3. #3
    Join Date
    Sep 2004
    Location
    Mentor, Ohio
    Posts
    352


    Did you find this post helpful? Yes | No

    Smile

    Hi Joe,

    I got a hold of several of the kits that have the phanderson chip in them and NOW I see what your were referring to. What a hassle it was figuring out their code versus the straight forward method that I was referring to.

    Thank you for the education!!!!

    BobK

  4. #4
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by BobK View Post
    Hi Joe,

    I got a hold of several of the kits that have the phanderson chip in them and NOW I see what your were referring to. What a hassle it was figuring out their code versus the straight forward method that I was referring to.

    Thank you for the education!!!!

    BobK
    Hi Bob,
    Yep I have one of those backpack units, it works pretty well. The issue I have is I do not want to be stuck with a single source for serial displays. His formatting codes are just that, His. And someone up the street is using their own too, so how do you code to make use of more than ! source? That is why the code in the thread listed uses the same format as LCDOUT. Nothing extra to learn and remember, and easy to port back and forth.
    JS
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

  5. #5
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default There is anonthe . . .

    Quote Originally Posted by flotulopex View Post
    Anyhow, if you want to make a (acceptable) serial communication, you'll need to clock your PIC with a crystal.

    So, if you create an application where timing is not relevant, you may want to use all your available PIC's ports and use the internal oscillator

    Monitoring your program with a serial communication will, at least, cost you 3 ports (2 for crystal + 1 for serial comm.).

    This can be especially critical when you are using small PICs.

    Thanks for pointing to your routine - can be really usefull.
    Hi flotulopex,
    There is another way, andthat is to use an dedicated External Oscillator Chip.
    As I understand it you lose 1 pin.
    JS
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

Similar Threads

  1. LCD serial backpacks
    By Archangel in forum Serial
    Replies: 67
    Last Post: - 30th December 2010, 05:51
  2. Please help with EDE702 - Serial to LCD interface
    By Tomexx in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 30th October 2008, 03:48
  3. Play with LCD on PICDEM
    By The IceMan in forum mel PIC BASIC
    Replies: 5
    Last Post: - 22nd August 2008, 17:56
  4. Serial LCD
    By Tobias in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 15th November 2007, 09:31
  5. Need help with LCD number display.
    By Steve Matson in forum mel PIC BASIC
    Replies: 8
    Last Post: - 27th June 2007, 00:07

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