Hi Hans,

The only "piggyback" that I know of for alphanumeric LCD's contain an I2C-to-8bit converter, most of the time, an PCF8574

If this is not the part that is on yours, please mention it.

For the rest, the trick is "only" to send on I²C the commands that are documented in the HD44780 datasheet.

Therefore, I think you should give a try to the lcd_hd44780_PCF8574.jal library.

If the chip on your adapter is another chip, check also what is the I2C adress to be used (the library used adress 0x27, hardcoded)

Hope this helps

David

Le 04-02-25 à 19:23, Hans van Veldhuizen a écrit :
Hello Rob,
It is not about the HD44780 on the well-known 6-pin connection. It is about an interface that you can stick on such an LCD and then control the thing with I2C, (so only two connections instead of 6). The PCF8574 is a different thing. The link that Pinhead indicated (to AZ is about such an interface.)

https://www.az-delivery.de/products/lcd-display-16x2-blau-und-i2c-set-kostenfreies-e-book
greetings
Hans

Op dinsdag 4 februari 2025 om 19:01:11 UTC+1 schreef Rob CJ:

    Hi Hans,

    I do not know what you mean. I see in Jallib several libraries for
    the HD44780, some for use with the display directly and one using
    a PCF8574. If the type number is the same, the library should work
    (I assume).

    If you have enough pins available on your PIC, you could use the
    one that interfaces directly with the display by a 4-bit bus or
    8-bit bus.

    Kind regards,

    Rob

    ------------------------------------------------------------------------
    *Van:* [email protected] <[email protected]> namens
    Hans van Veldhuizen <[email protected]>
    *Verzonden:* maandag 3 februari 2025 21:49

    *Aan:* jallib <[email protected]>
    *Onderwerp:* Re: [jallib] I2C LCD lib
    Hllo Rob,
    Do you mean ; lcd_hd44780_pcf8574. jal .  The pcf8574 look different..
    regards
    Hans

    Op maandag 3 februari 2025 om 19:48:28 UTC+1 schreef Rob CJ:

        Hi Hans,

        There is a JAL library for the HD44780. Not sure if you are
        looking for that.

        Kind regards,

        Rob

        ------------------------------------------------------------------------
        *Van:* [email protected] <[email protected]>
        namens Hans van Veldhuizen <[email protected]>
        *Verzonden:* maandag 3 februari 2025 19:27
        *Aan:* jallib <[email protected]>
        *Onderwerp:* Re: [jallib] I2C LCD lib
        Hi Pinhead, it is not from AZ but it looks identical. Great
        again somthing to try.
        Thanks
        Hans

        Op maandag 3 februari 2025 om 19:02:14 UTC+1 schreef
        [email protected]:

            
https://www.az-delivery.de/products/lcd-display-16x2-blau-und-i2c-set-kostenfreies-e-book

            Télécharger BlueMail pour Android <https://bluemail.me>
            Le 3 févr. 2025, à 18:53, Rob CJ <[email protected]> a écrit:

                Hi Hans,

                I am missing information here. Which I2C adapters do
                you mean?

                Kind regards,

                Rob

                
------------------------------------------------------------------------
                *Van:* [email protected]
                <[email protected]> namens Hans van Veldhuizen
                <[email protected]>
                *Verzonden:* maandag 3 februari 2025 17:35
                *Aan:* jallib <[email protected]>
                *Onderwerp:* [jallib] I2C LCD lib

                clear
                166 / 5.000
                Vertaalresultaten
                Vertaalresultaat
                Hi all,
                A while ago I bought a few 16x2 LCDs and they came
                with I2C adapters that I haven't used yet. Is there
                already a sample program for this kind of thing?
                Greetings
                Hans
-- You received this message because you are subscribed
                to the Google Groups "jallib" group.
                To unsubscribe from this group and stop receiving
                emails from it, send an email to
                [email protected].
                To view this discussion visit
                
https://groups.google.com/d/msgid/jallib/cb423f9d-9d10-41fb-8779-e48044d2e97cn%40googlegroups.com
                
<https://groups.google.com/d/msgid/jallib/cb423f9d-9d10-41fb-8779-e48044d2e97cn%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- You received this message because you are subscribed
                to the Google Groups "jallib" group.
                To unsubscribe from this group and stop receiving
                emails from it, send an email to
                [email protected].

                To view this discussion visit
                
https://groups.google.com/d/msgid/jallib/AM7PR02MB6098163A098940F2244C455FE6F52%40AM7PR02MB6098.eurprd02.prod.outlook.com
                
<https://groups.google.com/d/msgid/jallib/AM7PR02MB6098163A098940F2244C455FE6F52%40AM7PR02MB6098.eurprd02.prod.outlook.com?utm_medium=email&utm_source=footer>.


-- You received this message because you are subscribed to the
        Google Groups "jallib" group.
        To unsubscribe from this group and stop receiving emails from
        it, send an email to [email protected].
        To view this discussion visit
        
https://groups.google.com/d/msgid/jallib/64e82e99-f7f9-4e7b-a9a2-98d3ec8e5cf1n%40googlegroups.com
        
<https://groups.google.com/d/msgid/jallib/64e82e99-f7f9-4e7b-a9a2-98d3ec8e5cf1n%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- You received this message because you are subscribed to the Google
    Groups "jallib" group.
    To unsubscribe from this group and stop receiving emails from it,
    send an email to [email protected].
    To view this discussion visit
    
https://groups.google.com/d/msgid/jallib/746f4264-f7c7-41f6-a193-be8fe5f063can%40googlegroups.com
    
<https://groups.google.com/d/msgid/jallib/746f4264-f7c7-41f6-a193-be8fe5f063can%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
You received this message because you are subscribed to the Google Groups "jallib" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/jallib/345490f1-fb44-41b6-af23-e0f2425e0220n%40googlegroups.com <https://groups.google.com/d/msgid/jallib/345490f1-fb44-41b6-af23-e0f2425e0220n%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/jallib/5d226efd-4188-417f-9b59-b0adf2c13e20%40gmail.com.

Reply via email to