INT 21h

Hi, I am Vladimir Smagin, SysAdmin and Kaptain. Telegram Email / GIT / RSS / GPG

Display 44780 for Raspberry Pi through 74HC595

№ 4835 В разделах: Electronics Programming от February 10th, 2013,
В подшивках: ,

Intro
On the Internet a huge number of questions and not absolutely clear articles on connection of this display to Raspberry Pi through the shift register 74HC595. And if you find something, it will be written in rare Python or Ruby language which in real life practically aren’t used. My program is written on simple C. Fast and clear to any programmer. You can use it as you want. For example, to accept а line from stdin and send it to the display. To build project you’ll need to install WiringPi library.

2013-02-10 07.29.21 2013-02-10 17.05.54-2 2013-02-10 17.06.05

Wiring

74HC595 HD44780
Q0 DB7
Q1 DB6
Q2 DB5
Q3 DB4
Q4 RS
Q5 E
VDD A
GND K
GND VSS
74HC595 RPi
DS GPIO17
ST GPIO21
SH GPIO22
VDD 3.3V
GND GND

On display: put RW to GROUND, put VDD to Raspberry Pi 5V, connect variable resistor (10-20 kOm) like in datasheet.
On 74HC595: put OE to GND, put MR to VDD.

Do not try to read 44780! Raspberry Pi is not 5V tolerant!

Download

https://git.blindage.org/21h/raspberry-pi-hd44780-via-74hc595

Video

2 комментариев »

2 responses to “Display 44780 for Raspberry Pi through 74HC595”

  1. Tom says:

    The download link is unfortunately offline!

  2. 21h says:

    thanks for bugreport. link corrected.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

Облачная платформа
Яндекс.Метрика

Fortune cookie: I don't know why women get so upset, they have half the money and all the pussy. -- Gary Bussy, "DC Cab"