-->
Page 7 of 9

Re: 16x2 LCD, nokia 5110 LCD , i2c Oled LCD in to the lua

PostPosted: Thu May 28, 2015 12:57 pm
by alonewolfx2
moerbeimaster wrote:Will this work with Nokia 5110 on ESP8266-01?

if you can solder enough pins, yes it will work

Re: 16x2 LCD, nokia 5110 LCD , i2c Oled LCD in to the lua

PostPosted: Fri Jun 05, 2015 7:46 am
by hasham12
nokia LCD is best.

Re: 16x2 LCD, nokia 5110 LCD , i2c Oled LCD in to the lua

PostPosted: Fri Jun 05, 2015 2:34 pm
by divabanana
Does the nodemcu-pcd8544 binary firmware also contain the code for supporting the HD44780?
(You mentioned the HD44780 support was 'baked in' but the firmware is titled pcd8544)

Could you also give example code for setting the SDA and SCL pins for a HD44780 with i2c?
The code given in the first post with the video doesn't have anything for this:
Code: Select all-hd44780.init()
-hd44780.clear()
-hd44780.print(0,0,'mbozkurt')

Or are the pins to be used set? (and if so, which pins?)
A hd44780Test.lua example with a diagram of the pin connections between ESP8266 and HD44780 i2c module would be helpful for the inept like myself...

Thankyou for clearing up my confusion!

Re: 16x2 LCD, nokia 5110 LCD , i2c Oled LCD in to the lua

PostPosted: Sat Jun 06, 2015 5:12 pm
by alonewolfx2
unfourtanately no. each firmware can handle just one lcd. hd44780 library pins hardcoded. (gpio0,gpio2). i changed my main firmware with sming and i am developing sming.nodemcu very good but it needs more heap. i updated code after video soo maybe video different with code.
divabanana wrote:Does the nodemcu-pcd8544 binary firmware also contain the code for supporting the HD44780?
(You mentioned the HD44780 support was 'baked in' but the firmware is titled pcd8544)

Could you also give example code for setting the SDA and SCL pins for a HD44780 with i2c?
The code given in the first post with the video doesn't have anything for this:
Code: Select all-hd44780.init()
-hd44780.clear()
-hd44780.print(0,0,'mbozkurt')

Or are the pins to be used set? (and if so, which pins?)
A hd44780Test.lua example with a diagram of the pin connections between ESP8266 and HD44780 i2c module would be helpful for the inept like myself...

Thankyou for clearing up my confusion!