Skip to content
This repository has been archived by the owner on Oct 27, 2021. It is now read-only.
/ PiHD44780 Public archive

Lightweight and fast library for I2C module HD44780 , tested on RaspberryPI

License

Notifications You must be signed in to change notification settings

pbaja/PiHD44780

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Features

  • Super lightweight (Only ONE 3.8KB file!)
  • Really fast (Using Hardware i2c)
  • Tested on 2x16 and 4x20
  • Cool "loading" animation

Usage

  1. Enable I2C interface with raspi-config

    • Open "raspi-config"
    • Select Advanced Options, I2C, Yes, Ok, Yes, Ok
    • With right arrow key select Finish and select Yes for reboot now.
    • After reboot I2C should be enabled
  2. Install python library and tools

    apt-get install python-smbus i2c-tools git-core
    
  3. Connect LCD

    • GND to GND
    • VCC to 5V
    • SDA to SDA (GPIO2)
    • SCL to SCL (GPIO3)
  4. Reboot raspberry to changes take effect

  5. Check LCD address, mine is 0x27

    i2cdetect -y 1
    
  6. Download library and run example.py

    git clone https://github.com/SkewPL/PiHD44780.git
    cd PiHD44780
    python example.py
    

About

Lightweight and fast library for I2C module HD44780 , tested on RaspberryPI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages