Serial LCD display for PIC projects ?


Closed Thread
Results 1 to 11 of 11

Hybrid View

  1. #1
    Join Date
    Feb 2022
    Posts
    54


    Did you find this post helpful? Yes | No

    Default Re: Serial LCD display for PIC projects ?

    Hi Richard,No, no reason, I thought!
    But the reality seems unfortunately different.
    To use the serial display driven by a (Basic)Picaxe; the picaxe command is Serout, pinx, N2400_4 or N2400_16 depending on the picaxe used.
    But, with PBC, the command Serout, pinx, N2400 does not give the same chronogram !?
    See attached image.
    I try to use this display (AXE 134), or find another model compatible with my PIC.
    ThanksName:  _SEROUT.jpg
Views: 673
Size:  132.9 KB

  2. #2
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,612


    Did you find this post helpful? Yes | No

    Default Re: Serial LCD display for PIC projects ?

    Bit timing seems to be in the ballpark for 2400 but apparently the PICAxe has quite a bit of delay between each byte (usually not what you want to see). If the display(s) do work with the PICAxe and the timings you show are correct then you can force PBP to insert extra delay between each byte it sends by inserting the following line.
    Code:
    DEFINE CHAR_PACING 500
    This will insert 500us delay between bytes (when using SEROUT) which should then match the PICAxe timing.

    If you switch to SEROUT2 then the above DEFINE doesn't work so check the manual if that's something you're planning to do.

    I'm not into PICAxe but if I'd guess the _4 and _16 tacked onto the end of the SEROUT command simply specifies which routine to call based on if you're running at 4MHz or at 16MHz. In PBP you use DEFINE OSC 16 and the compiler automatically handles the timing for SEROUT (and other stuff).

Similar Threads

  1. Need RFID PIC TAG with a LCD display
    By khalidjamil007 in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 18th January 2010, 14:08
  2. Replies: 6
    Last Post: - 4th April 2007, 07:33
  3. LCD Display not working - PIC heating...
    By flotulopex in forum mel PIC BASIC Pro
    Replies: 32
    Last Post: - 24th September 2006, 07:35
  4. serial LCD display?
    By ra68gi in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 12th March 2006, 20:05
  5. SMART Serial 4 Digit LCD Display (SMARD4)
    By paul borgmeier in forum Adverts
    Replies: 0
    Last Post: - 5th January 2005, 05:50

Members who have read this thread : 1

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