serial LCD 1602 Backpack using PIC16F690 for Hitach HD44780


Results 1 to 40 of 60

Threaded View

  1. #34
    Join Date
    Feb 2022
    Posts
    78


    1 out of 1 members found this post helpful. Did you find this post helpful? Yes | No

    Default Re: serial LCD 1602 Backpack using PIC16F690 for Hitach HD44780

    when testing baud rate, usualy I start at 300 and up

    when it stopped working then I set pace = 1

    and re-start from the last baud rate tested.

    16F690 Xtal 20Mhz

    set pace to 1
    sEROUT2 lcd,baudR,pace,[254,128,"ABCDEFGHIJKLMNOP"]


    from my code here's the tested baud rate .
    and when booting the PIC's at different baud rate the sender 12F683 and receiver 16F690 the LCD screen light up right away and start displaying text, and back light on/off
    there's no lag for the first receiving if I remember correctly the pace for the sender is set = 0.


    Name:  Baud Rate Chart-A.jpg
Views: 83
Size:  45.8 KB


    Also I add baud rate selection jumpers on the Backpack''


    Name:  LCD Backpack with Jumpers.jpg
Views: 77
Size:  113.7 KB




    ' Jumpers
    '
    J3 300 600 1200 2400 4800 9600 14400 19200 28800 38400
    ' 1--2 RB7 On On On On On On
    ' 3--4 RA2 On On On On
    ' 5--6 RA1 On On On On
    ' 7--8 RA3 On On On



    ' Baud Rate SW Selection (PCB J3)
    If PORTA = 001110 And PORTB.7 = 1 Then BaudR = 3313 ' 300
    If PORTA = 001110 And PORTB.7 = 0 Then BaudR = 1646 ' 600
    If PORTA = 001010 And PORTB.7 = 1 Then BaudR = 813 ' 1200
    If PORTA = 001100 And PORTB.7 = 1 Then BaudR = 396 ' 2400
    If PORTA = 000110 And PORTB.7 = 1 Then BaudR = 188 ' 4800
    If PORTA = 001010 And PORTB.7 = 0 Then BaudR = 84 ' 9600
    If PORTA = 001100 And PORTB.7 = 0 Then BaudR = 49 ' 14400
    If PORTA = 000110 And PORTB.7 = 0 Then BaudR = 32 ' 19200
    If PORTA = 001000 And PORTB.7 = 0 Then BaudR = 15 ' 28800
    If PORTA = 000000 And PORTB.7 = 0 Then BaudR = 6 ' 38400
    Last edited by jackberg1; - 6th October 2025 at 17:41.

Similar Threads

  1. Using 16F1503 as Serial LCD Backpack
    By elec_mech in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 11th March 2015, 20:58
  2. 16F877A and LCD HD44780
    By epilot in forum mel PIC BASIC Pro
    Replies: 38
    Last Post: - 1st November 2013, 19:17
  3. FREE Serial LCD Backpack Board
    By rmteo in forum Off Topic
    Replies: 36
    Last Post: - 29th July 2010, 03:32
  4. Lcd Hd44780
    By alaaodeh in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 6th February 2007, 15:04
  5. LCD 4x20 HD44780
    By inteco in forum mel PIC BASIC
    Replies: 13
    Last Post: - 27th June 2006, 17:52

Members who have read this thread : 13

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