ST7066U – James Batchelor https://james-batchelor.com Useful I.T & VoIP Ramblings Fri, 30 Sep 2016 19:31:12 +0000 en-US hourly 1 https://wordpress.org/?v=6.8.5 https://james-batchelor.com/wp-content/uploads/2025/05/cropped-cropped-logo-jb-202505-32x32.png ST7066U – James Batchelor https://james-batchelor.com 32 32 Driving a ST7066U LCD display from a Raspberry Pi https://james-batchelor.com/index.php/2016/09/17/driving-a-st7066u-lcd-display-from-a-raspberry-pi/ Sat, 17 Sep 2016 14:03:07 +0000 http://james-batchelor.com/?p=483 Continue reading "Driving a ST7066U LCD display from a Raspberry Pi"]]> I’m between jobs at the moment, so to give my idle hands something to do I have started looking at using electronics with the Raspberry Pi.

To begin the journey, I decided to power a LCD text display, using this excellent Arduino article as a guide. As I was starting out I purchased everything needed in one order from RS Components, however they didn’t stock any displays with a HDD44780 controller.

Research revealed that a display with a ST7066U controller is compatible with being Pi powered. But be aware that although they have the same number of pins at 16, the layout may be different. I found out the hard way!

As this was the first time I connected the jumpers one at a time, and connecting the pins I thought would light the backlight, instead caused one of the chips on the LCD to get hot to the touch. Luckily I found that out quickly enough to avoid any permanent damage. Also, thanks to ordering from RS each component has a datasheet available, and so was able to connect up the correct pins.

LCD-16x2

Lesson learned, establish the correct pin out on components before connecting up, other than that a ST7066U controlled LCD display can be controlled by a Pi the same as a HDD44780 controller.

]]>