Search the Community
Showing results for tags 'hd44780'.
Found 4 results
agaelema posted a topic in Code vaultHi guys, To train the use of some macros I decided to update/improve a 16x2 lcd library (HD44780) that I adapt many years ago. Possible there are other libraries shared here, but I liked how I managed the configuration of ports and pins using some macros. The use of macros made the library more versatile and easy to adap to new projets without the need to change tons of code lines. The same simples example of use is runnig on MSP430G2553 (old value line launchpad) and MSP430FR2433 (the new value line launchpad). I hope it's useful. https://github.com/agaelema/LCD16x2_MSP43x
Hello, I have being working on getting a 20x4 LCD (HD44780) working on the CC3200 launchpad and have not been able to get it working. I have found a few posts with partial code and partial libraries but have not been able to find an SPI or I2C example that works. Does anyone have a working implementation of the HD44780 on the CC3200 in either I2C, Serial or SPI mode? This is seems to be the closest I have found ( https://github.com/remixed123/CC3200-hd44780-lcd ) ... but I am unable to get it working. If anyone has been able to get this working, could you send me a simple "hello world" example. Thanks in advance for any insights or suggestions. John
I'm looking for comments and suggestions to make this more generally useful. I have a pile of surplus character line LCDs based on the Hitachi HD44780 chipset. There are oodles of these available surplus, and really cheap, like $2 cheap. The probelm I see for most modern MCUs is that the LCDs are usually 5V I/O (at least for the surplus parts) parallel and chew up a lot of I/O slow so they require a bit of code to poll the display or timed delays to insure reliable operation. I'm not too motivated to reinvent the wheel, but all the options I've found seem to miss a lot. I've seen the Adafruit board, but it's hard-coded at 5V (deal killer) and the 16X1 connector (inconvenient for displays with the 8X2 connector.) I started thinking about a launchpad boosterpack that would provide a 3.3V SPI serial interface, but realized that it was too specialized and really didn't meet my needs. What I'm noodling about now is a 'backpack' board that is fairly universal. It would match the standard 16X2 character board mechanical footprint and provide the 16X1 header interface connector AND the 8X2 connector that is the other dominant standard usually used on 2X24 character dispalys. It would also provide: A simple, sequential version of the HD44780 command structure - send the bytes, the board worries about handshaking and timing. SPI I2C Serial UART (Logic or RS232 Levels) logic levels from 1.8V to 5V - selectable backlight current control (settable by component value selection) dimming by MCU command contrast by MCU command on board regulator for board on board regulator forLCD including backlight most options selected by hardware jumpers ASYNC serial autobaud I can fit all this on the board without a problem, but too many features results in too much cost and kills the advantage. A lot of this is optional BoM stuff - as in 'don't need RS-232 - don't stuff this.' I don't see any reason to: have more than one interface operational at a time - SPI or I2C or UART use variable resistors. use through hole components for other than connectors (would it be better to have backlight current setting as leaded resistors?) Use anything other than a 2X? 0.1" header for the external interface so:no DB9 for serial power on interface connector pins, not a seperate connector no screw terminals So, what do you think?
Hello, I have tested 2x16 LCD and works well. Included pll and systick routines. Thist project is wroted withotut any driverlib functions. It will be a good example for "bare-metal coding". https://github.com/fatihinanc/stellaris-launchpad/tree/master/1602_lcd HD44780 1602 LCD Connections; RS -> PB0 EN -> PB1 D4 -> PD0 D5 -> PD1 D6 -> PD2 D7 -> PD3