Menu

LCD1602 with integrated i2c interface based on AIP31068 chip

2025-12-24
2025-12-24
  • Valdo Raudsepp

    Valdo Raudsepp - 2025-12-24

    Hello!
    New to MCU-s and GC Basic. Trying to learn. Electronics back-round.
    Is there any possibility to pare 16f72 PIC with i2c LCD1602 AIP31068 display?

     
  • Anobium

    Anobium - 2025-12-24

    Hello and welcome.


    Start with C:\GCstudio\gcbasic\demos\LCD_Solutions\I2C_Solutions\LCDCURSOR_2004_IC2_adapter_Test_SoftwareI2C_16F1938.gcb in the demo pack. Simply rename the chip to the 16F72 and add the required #CONFIG OSC=HS for the external oscillator. Check the i2C ports.

    The PIC16F72 is very old and not recommend. You can get a modern PIC16F with internal oscillator and a lot easier to use.


    Prior to trying the LCD. You must config the I2C address of the LCD I2C adapter. Try using C:\GCstudio\gcbasic\demos\I2C_Solutions\I2C_Discovery\i2cSoftwareDiscovery_to_LED_16F1829.gcb, change the chip, change the software I2C ports and connect a terminal to see the results. See https://www.youtube.com/watch?v=02-yuFLFQ_U&t=415s for i2C Discovery, your chip does not have PPS so the software I2C applies to your chip.


    Good luck.

     

Log in to post a comment.

MongoDB Logo MongoDB